Diff between f02dbf1cd697665752c3095bf42b7c189a0e0bd2 and 85180c23f79808c5fe157bd289aa45b9eea64141

Changed Files

File Additions Deletions Status
profiles/alert/server.c +4 -2 modified
profiles/audio/player.c +2 -1 modified
profiles/cyclingspeed/cyclingspeed.c +1 -1 modified
profiles/health/hdp_main.c +2 -2 modified
profiles/iap/main.c +2 -1 modified
profiles/proximity/main.c +2 -1 modified
profiles/sap/main.c +3 -1 modified
profiles/sap/sap-dummy.c +3 -1 modified
profiles/sap/server.c +3 -0 modified
profiles/sap/server.h +0 -2 modified

Full Patch

diff --git a/profiles/alert/server.c b/profiles/alert/server.c
index b99aa3f..2f6e3cd 100644
--- a/profiles/alert/server.c
+++ b/profiles/alert/server.c
@@ -28,19 +28,21 @@
 
 #include <stdbool.h>
 #include <errno.h>
-#include <gdbus/gdbus.h>
-#include <glib.h>
 #include <stdlib.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
 
+#include <glib.h>
+
 #include "lib/bluetooth.h"
 #include "lib/hci.h"
 #include "lib/hci_lib.h"
 #include "lib/sdp.h"
 #include "lib/uuid.h"
 
+#include "gdbus/gdbus.h"
+
 #include "src/plugin.h"
 #include "src/dbus-common.h"
 #include "attrib/att.h"
diff --git a/profiles/audio/player.c b/profiles/audio/player.c
index 168e677..94eb2eb 100644
--- a/profiles/audio/player.c
+++ b/profiles/audio/player.c
@@ -36,7 +36,8 @@
 
 #include <glib.h>
 #include <dbus/dbus.h>
-#include <gdbus/gdbus.h>
+
+#include "gdbus/gdbus.h"
 
 #include "src/log.h"
 #include "src/dbus-common.h"
diff --git a/profiles/cyclingspeed/cyclingspeed.c b/profiles/cyclingspeed/cyclingspeed.c
index bd7e1e5..e447725 100644
--- a/profiles/cyclingspeed/cyclingspeed.c
+++ b/profiles/cyclingspeed/cyclingspeed.c
@@ -26,8 +26,8 @@
 
 #include <errno.h>
 #include <stdbool.h>
+
 #include <glib.h>
-#include <gdbus/gdbus.h>
 
 #include "lib/bluetooth.h"
 #include "lib/sdp.h"
diff --git a/profiles/health/hdp_main.c b/profiles/health/hdp_main.c
index 6dc9acf..2c4bbe2 100644
--- a/profiles/health/hdp_main.c
+++ b/profiles/health/hdp_main.c
@@ -25,10 +25,10 @@
 #endif
 
 #include <errno.h>
-#include <gdbus/gdbus.h>
 
-#include "src/plugin.h"
+#include "gdbus/gdbus.h"
 
+#include "src/plugin.h"
 #include "hdp_manager.h"
 
 static int hdp_init(void)
diff --git a/profiles/iap/main.c b/profiles/iap/main.c
index 0e8f43f..53dd9fb 100644
--- a/profiles/iap/main.c
+++ b/profiles/iap/main.c
@@ -35,7 +35,8 @@
 #include <sys/signalfd.h>
 
 #include <glib.h>
-#include <gdbus.h>
+
+#include "gdbus/gdbus.h"
 
 #define IAP_PATH "/org/bluez/iap"
 
diff --git a/profiles/proximity/main.c b/profiles/proximity/main.c
index 8a350d4..38a51f1 100644
--- a/profiles/proximity/main.c
+++ b/profiles/proximity/main.c
@@ -29,7 +29,8 @@
 #include <errno.h>
 #include <stdint.h>
 #include <glib.h>
-#include <gdbus/gdbus.h>
+
+#include "gdbus/gdbus.h"
 
 #include "src/log.h"
 #include "src/plugin.h"
diff --git a/profiles/sap/main.c b/profiles/sap/main.c
index ad55cd2..cd707ff 100644
--- a/profiles/sap/main.c
+++ b/profiles/sap/main.c
@@ -23,7 +23,9 @@
 #endif
 
 #include <errno.h>
-#include <gdbus/gdbus.h>
+
+#include "gdbus/gdbus.h"
+
 #include "src/plugin.h"
 #include "manager.h"
 
diff --git a/profiles/sap/sap-dummy.c b/profiles/sap/sap-dummy.c
index 854105e..53463ca 100644
--- a/profiles/sap/sap-dummy.c
+++ b/profiles/sap/sap-dummy.c
@@ -27,12 +27,14 @@
 #endif
 
 #include <glib.h>
-#include <gdbus/gdbus.h>
 #include <stdint.h>
 
+#include "gdbus/gdbus.h"
+
 #include "src/dbus-common.h"
 #include "src/error.h"
 #include "src/log.h"
+
 #include "sap.h"
 
 #define SAP_DUMMY_IFACE "org.bluez.SimAccessTest1"
diff --git a/profiles/sap/server.c b/profiles/sap/server.c
index a958761..ce423a1 100644
--- a/profiles/sap/server.c
+++ b/profiles/sap/server.c
@@ -35,6 +35,8 @@
 #include "lib/sdp_lib.h"
 #include "lib/uuid.h"
 
+#include "gdbus/gdbus.h"
+
 #include "btio/btio.h"
 #include "src/adapter.h"
 #include "src/sdpd.h"
@@ -42,6 +44,7 @@
 #include "src/error.h"
 #include "src/dbus-common.h"
 #include "src/shared/util.h"
+
 #include "sap.h"
 #include "server.h"
 
diff --git a/profiles/sap/server.h b/profiles/sap/server.h
index d7e674a..4bf9296 100644
--- a/profiles/sap/server.h
+++ b/profiles/sap/server.h
@@ -18,7 +18,5 @@
  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#include <gdbus/gdbus.h>
-
 int sap_server_register(struct btd_adapter *adapter);
 void sap_server_unregister(const char *path);