summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2010-11-28 13:40:38 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2010-11-28 13:41:35 +0200
commit20ccc578c85111ca8790bd773b6fa337e80b4c71 (patch)
treea6c5c7e3457ac6b1a5dc40fc6f18d0817febe7ed
parent872da68684400cebb99293aef4d63a3646b92531 (diff)
Remove unused includes
-rw-r--r--attrib/gatttool.c1
-rw-r--r--audio/avdtp.c2
-rw-r--r--audio/control.c1
-rw-r--r--audio/device.c2
-rw-r--r--audio/gateway.c3
-rw-r--r--audio/headset.c4
-rw-r--r--audio/manager.c3
-rw-r--r--compat/bnep.c1
-rw-r--r--input/device.c4
-rw-r--r--input/fakehid.c1
-rw-r--r--network/connection.c1
-rw-r--r--network/manager.c1
-rw-r--r--network/server.c2
-rw-r--r--plugins/formfactor.c2
-rw-r--r--plugins/hal.c2
-rw-r--r--plugins/service.c2
-rw-r--r--serial/manager.c2
-rw-r--r--serial/proxy.c2
-rw-r--r--src/adapter.c2
-rw-r--r--src/agent.c2
-rw-r--r--src/dbus-common.c2
-rw-r--r--src/device.c3
-rw-r--r--src/event.c2
-rw-r--r--src/glib-helper.c5
-rw-r--r--src/main.c2
-rw-r--r--src/manager.c2
26 files changed, 0 insertions, 56 deletions
diff --git a/attrib/gatttool.c b/attrib/gatttool.c
index 39b3c8141..a234e36f8 100644
--- a/attrib/gatttool.c
+++ b/attrib/gatttool.c
@@ -32,7 +32,6 @@
#include <unistd.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/l2cap.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
#include <bluetooth/sdp.h>
diff --git a/audio/avdtp.c b/audio/avdtp.c
index ac01f15cb..1683e7c31 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -57,8 +57,6 @@
#include "sink.h"
#include "source.h"
-#include <bluetooth/l2cap.h>
-
#define AVDTP_PSM 25
#define MAX_SEID 0x3E
diff --git a/audio/control.c b/audio/control.c
index 76f46e9a7..ce34eb47c 100644
--- a/audio/control.c
+++ b/audio/control.c
@@ -40,7 +40,6 @@
#include <bluetooth/bluetooth.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
-#include <bluetooth/l2cap.h>
#include <glib.h>
#include <dbus/dbus.h>
diff --git a/audio/device.c b/audio/device.c
index 6b93b36b1..30ae30d00 100644
--- a/audio/device.c
+++ b/audio/device.c
@@ -34,8 +34,6 @@
#include <netinet/in.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
diff --git a/audio/gateway.c b/audio/gateway.c
index 07ebdd40d..e5f92a7d4 100644
--- a/audio/gateway.c
+++ b/audio/gateway.c
@@ -39,9 +39,6 @@
#include <gdbus.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
-#include <bluetooth/sco.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
diff --git a/audio/headset.c b/audio/headset.c
index 0763585ab..2fa0a5550 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -40,10 +40,6 @@
#include <assert.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
-#include <bluetooth/sco.h>
-#include <bluetooth/rfcomm.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
diff --git a/audio/manager.c b/audio/manager.c
index 8a5616d69..12671c71b 100644
--- a/audio/manager.c
+++ b/audio/manager.c
@@ -39,9 +39,6 @@
#include <signal.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
-#include <bluetooth/rfcomm.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
diff --git a/compat/bnep.c b/compat/bnep.c
index 2e4fb9dda..9b0d8b8c7 100644
--- a/compat/bnep.c
+++ b/compat/bnep.c
@@ -34,7 +34,6 @@
#include <sys/ioctl.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/l2cap.h>
#include <bluetooth/bnep.h>
#include <netinet/in.h>
diff --git a/input/device.c b/input/device.c
index c85d89c7c..e09a6cfb3 100644
--- a/input/device.c
+++ b/input/device.c
@@ -34,11 +34,7 @@
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
#include <bluetooth/hidp.h>
-#include <bluetooth/l2cap.h>
-#include <bluetooth/rfcomm.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
diff --git a/input/fakehid.c b/input/fakehid.c
index 00fcee2db..ab10f9cff 100644
--- a/input/fakehid.c
+++ b/input/fakehid.c
@@ -33,7 +33,6 @@
#include <sys/types.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/l2cap.h>
#include <bluetooth/hidp.h>
#include <bluetooth/sdp.h>
diff --git a/network/connection.c b/network/connection.c
index a3f2aca5a..7380cbe6b 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -31,7 +31,6 @@
#include <netinet/in.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
#include <bluetooth/bnep.h>
#include <bluetooth/sdp.h>
diff --git a/network/manager.c b/network/manager.c
index c91014845..321640b58 100644
--- a/network/manager.c
+++ b/network/manager.c
@@ -26,7 +26,6 @@
#endif
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
#include <bluetooth/bnep.h>
#include <bluetooth/sdp.h>
diff --git a/network/server.c b/network/server.c
index e6706ec8d..bb119ce46 100644
--- a/network/server.c
+++ b/network/server.c
@@ -31,9 +31,7 @@
#include <errno.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
#include <bluetooth/bnep.h>
-#include <bluetooth/l2cap.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
#include <netinet/in.h>
diff --git a/plugins/formfactor.c b/plugins/formfactor.c
index 98e5f780f..758d481c3 100644
--- a/plugins/formfactor.c
+++ b/plugins/formfactor.c
@@ -29,8 +29,6 @@
#include <errno.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
#include "plugin.h"
#include "adapter.h"
diff --git a/plugins/hal.c b/plugins/hal.c
index f6121c567..05a1c468c 100644
--- a/plugins/hal.c
+++ b/plugins/hal.c
@@ -29,8 +29,6 @@
#include <dbus/dbus.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
#include "plugin.h"
#include "adapter.h"
diff --git a/plugins/service.c b/plugins/service.c
index f6b9da706..f37db7fc2 100644
--- a/plugins/service.c
+++ b/plugins/service.c
@@ -31,8 +31,6 @@
#include <string.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
diff --git a/serial/manager.c b/serial/manager.c
index 1b3f1d695..eba8a91f0 100644
--- a/serial/manager.c
+++ b/serial/manager.c
@@ -42,8 +42,6 @@
#include <sys/un.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
#include <bluetooth/rfcomm.h>
diff --git a/serial/proxy.c b/serial/proxy.c
index 3aaabf3fd..221158380 100644
--- a/serial/proxy.c
+++ b/serial/proxy.c
@@ -42,8 +42,6 @@
#include <sys/un.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
#include <bluetooth/rfcomm.h>
diff --git a/src/adapter.c b/src/adapter.c
index 3edbdd934..acf5dd8be 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -34,8 +34,6 @@
#include <sys/ioctl.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
diff --git a/src/agent.c b/src/agent.c
index 94c09a2ee..076362c5e 100644
--- a/src/agent.c
+++ b/src/agent.c
@@ -33,8 +33,6 @@
#include <sys/ioctl.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
#include <bluetooth/sdp.h>
#include <glib.h>
diff --git a/src/dbus-common.c b/src/dbus-common.c
index 7b4653547..a0720148a 100644
--- a/src/dbus-common.c
+++ b/src/dbus-common.c
@@ -35,8 +35,6 @@
#include <sys/ioctl.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/l2cap.h>
#include <glib.h>
#include <dbus/dbus.h>
diff --git a/src/device.c b/src/device.c
index 5082561d6..77353a4af 100644
--- a/src/device.c
+++ b/src/device.c
@@ -35,9 +35,6 @@
#include <errno.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
-#include <bluetooth/l2cap.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
diff --git a/src/event.c b/src/event.c
index daab71a51..47b50c4c6 100644
--- a/src/event.c
+++ b/src/event.c
@@ -37,8 +37,6 @@
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
#include <bluetooth/sdp.h>
#include <glib.h>
diff --git a/src/glib-helper.c b/src/glib-helper.c
index 4941d9926..26ac0df8d 100644
--- a/src/glib-helper.c
+++ b/src/glib-helper.c
@@ -32,11 +32,6 @@
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
-#include <bluetooth/rfcomm.h>
-#include <bluetooth/l2cap.h>
-#include <bluetooth/sco.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
diff --git a/src/main.c b/src/main.c
index 9abdd60eb..1aaa18162 100644
--- a/src/main.c
+++ b/src/main.c
@@ -39,8 +39,6 @@
#include <sys/types.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
#include <glib.h>
diff --git a/src/manager.c b/src/manager.c
index 3fad9e690..27eeea741 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -34,8 +34,6 @@
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
-#include <bluetooth/hci.h>
-#include <bluetooth/hci_lib.h>
#include <glib.h>