diff options
212 files changed, 7 insertions, 844 deletions
diff --git a/Makefile.am b/Makefile.am index 9b2f9f6c1..d18553db7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -356,8 +356,9 @@ EXTRA_DIST += doc/adapter-api.txt doc/device-api.txt doc/profile-api.txt \ AM_CFLAGS += @DBUS_CFLAGS@ @GLIB_CFLAGS@ -AM_CPPFLAGS = -I$(builddir)/lib -I$(builddir)/src -I$(srcdir)/src \ - -I$(srcdir)/gdbus -I$(srcdir)/btio +AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(builddir)/lib \ + -I$(builddir)/src -I$(srcdir)/src -I$(srcdir)/gdbus \ + -I$(srcdir)/btio if MCAP AM_CPPFLAGS += -I$(builddir)/health diff --git a/Makefile.obexd b/Makefile.obexd index cbcd65db8..f8798f6b1 100644 --- a/Makefile.obexd +++ b/Makefile.obexd @@ -29,7 +29,8 @@ obexd_src_obexd_CFLAGS = @GLIB_CFLAGS@ @DBUS_CFLAGS@ \ -DPLUGINDIR=\""$(obex_plugindir)"\" \ -fPIC -D_FILE_OFFSET_BITS=64 -obexd_src_obexd_CPPFLAGS = -I$(builddir)/lib -I$(builddir)/obexd/src \ +obexd_src_obexd_CPPFLAGS = -include $(top_builddir)/config.h -I$(builddir)/lib \ + -I$(builddir)/obexd/src \ -I$(srcdir)/obexd/src -I$(srcdir)/btio \ -I$(srcdir)/gobex -I$(srcdir)/gdbus @@ -76,7 +77,8 @@ obexd_client_obex_client_LDADD = lib/libbluetooth-private.la \ obexd_client_obex_client_CFLAGS = @GLIB_CFLAGS@ @DBUS_CFLAGS@ \ -fPIC -D_FILE_OFFSET_BITS=64 -obexd_client_obex_client_CPPFLAGS = -I$(builddir)/lib -I$(srcdir)/obexd/src \ +obexd_client_obex_client_CPPFLAGS = -include $(top_builddir)/config.h \ + -I$(builddir)/lib -I$(srcdir)/obexd/src \ -I$(srcdir)/btio -I$(srcdir)/gobex \ -I$(srcdir)/gdbus diff --git a/attrib/client.c b/attrib/client.c index 51c2b83cc..44a6730d4 100644 --- a/attrib/client.c +++ b/attrib/client.c @@ -23,10 +23,6 @@ */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <stdlib.h> #include <stdbool.h> diff --git a/attrib/gatt-service.c b/attrib/gatt-service.c index e8788d9e4..80e76eb22 100644 --- a/attrib/gatt-service.c +++ b/attrib/gatt-service.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <glib.h> #include <bluetooth/uuid.h> #include <bluetooth/sdp.h> diff --git a/attrib/gatt.c b/attrib/gatt.c index 38c050ed3..cfa3c5336 100644 --- a/attrib/gatt.c +++ b/attrib/gatt.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdint.h> #include <stdlib.h> #include <glib.h> diff --git a/attrib/gatttool.c b/attrib/gatttool.c index 2fe95c00f..dcfc85635 100644 --- a/attrib/gatttool.c +++ b/attrib/gatttool.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <glib.h> #include <stdlib.h> diff --git a/emulator/b1ee.c b/emulator/b1ee.c index 17a60fca6..18b827ece 100644 --- a/emulator/b1ee.c +++ b/emulator/b1ee.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/emulator/btdev.c b/emulator/btdev.c index 700c6a800..bd158ee68 100644 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <ctype.h> #include <stdlib.h> diff --git a/emulator/main.c b/emulator/main.c index 807c66396..412470228 100644 --- a/emulator/main.c +++ b/emulator/main.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <stdlib.h> #include <getopt.h> diff --git a/emulator/server.c b/emulator/server.c index e4c4570b9..ea8fa21c5 100644 --- a/emulator/server.c +++ b/emulator/server.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <ctype.h> diff --git a/emulator/vhci.c b/emulator/vhci.c index 52876ba91..0062bebf9 100644 --- a/emulator/vhci.c +++ b/emulator/vhci.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/gdbus/mainloop.c b/gdbus/mainloop.c index 099b67fef..483ed6610 100644 --- a/gdbus/mainloop.c +++ b/gdbus/mainloop.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <glib.h> #include <dbus/dbus.h> diff --git a/gdbus/object.c b/gdbus/object.c index 7cbd6121e..611cded60 100644 --- a/gdbus/object.c +++ b/gdbus/object.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <string.h> diff --git a/gdbus/polkit.c b/gdbus/polkit.c index 9e95fa384..508937df8 100644 --- a/gdbus/polkit.c +++ b/gdbus/polkit.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <dbus/dbus.h> diff --git a/gdbus/watch.c b/gdbus/watch.c index 9e4f994a3..0dcb2a268 100644 --- a/gdbus/watch.c +++ b/gdbus/watch.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <string.h> diff --git a/gobex/gobex-apparam.c b/gobex/gobex-apparam.c index 442a3f140..0c3cc8aa4 100644 --- a/gobex/gobex-apparam.c +++ b/gobex/gobex-apparam.c @@ -19,10 +19,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <string.h> #include <unistd.h> #include <errno.h> diff --git a/gobex/gobex-defs.c b/gobex/gobex-defs.c index c184c9c91..f1f3b38ff 100644 --- a/gobex/gobex-defs.c +++ b/gobex/gobex-defs.c @@ -19,10 +19,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <glib.h> #include "gobex-defs.h" diff --git a/gobex/gobex-header.c b/gobex/gobex-header.c index 80e8e4e6f..6136f2c2b 100644 --- a/gobex/gobex-header.c +++ b/gobex/gobex-header.c @@ -19,10 +19,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <string.h> #include "gobex-header.h" diff --git a/gobex/gobex-packet.c b/gobex/gobex-packet.c index c3e395310..d59bbce2f 100644 --- a/gobex/gobex-packet.c +++ b/gobex/gobex-packet.c @@ -19,10 +19,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <string.h> #include <errno.h> diff --git a/gobex/gobex-transfer.c b/gobex/gobex-transfer.c index 724c78828..f29a7ce25 100644 --- a/gobex/gobex-transfer.c +++ b/gobex/gobex-transfer.c @@ -19,10 +19,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <string.h> #include <errno.h> diff --git a/gobex/gobex.c b/gobex/gobex.c index 7c136af9e..59a0159ee 100644 --- a/gobex/gobex.c +++ b/gobex/gobex.c @@ -19,10 +19,6 @@ * */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #include <unistd.h> #include <string.h> #include <errno.h> diff --git a/lib/bluetooth.c b/lib/bluetooth.c index d9360dc7f..42075a4fe 100644 --- a/lib/bluetooth.c +++ b/lib/bluetooth.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <ctype.h> @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> @@ -24,10 +24,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/lib/uuid.c b/lib/uuid.c index 4363aee49..0035c6c7e 100644 --- a/lib/uuid.c +++ b/lib/uuid.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <string.h> #include <stdlib.h> #include <errno.h> diff --git a/monitor/btsnoop.c b/monitor/btsnoop.c index 04a6dff17..e8de17952 100644 --- a/monitor/btsnoop.c +++ b/monitor/btsnoop.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/monitor/control.c b/monitor/control.c index 3447b7a51..160ce4ce8 100644 --- a/monitor/control.c +++ b/monitor/control.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/monitor/display.c b/monitor/display.c index 7b6fc98ef..48c3bacde 100644 --- a/monitor/display.c +++ b/monitor/display.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/monitor/hcidump.c b/monitor/hcidump.c index e69bcb14d..f57ba81e1 100644 --- a/monitor/hcidump.c +++ b/monitor/hcidump.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/monitor/l2cap.c b/monitor/l2cap.c index e982bdd35..db62b05ac 100644 --- a/monitor/l2cap.c +++ b/monitor/l2cap.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <stdlib.h> #include <inttypes.h> diff --git a/monitor/main.c b/monitor/main.c index 27a572225..5a0229e4d 100644 --- a/monitor/main.c +++ b/monitor/main.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <ctype.h> #include <stdlib.h> diff --git a/monitor/mainloop.c b/monitor/mainloop.c index 1cc787eb5..99f156c84 100644 --- a/monitor/mainloop.c +++ b/monitor/mainloop.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/monitor/packet.c b/monitor/packet.c index ee37615ff..7df654584 100644 --- a/monitor/packet.c +++ b/monitor/packet.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <ctype.h> diff --git a/monitor/sdp.c b/monitor/sdp.c index 45ee59bbb..5cdf47de7 100644 --- a/monitor/sdp.c +++ b/monitor/sdp.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/monitor/uuid.c b/monitor/uuid.c index c348e1742..ca79b6883 100644 --- a/monitor/uuid.c +++ b/monitor/uuid.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include "uuid.h" static struct { diff --git a/obexd/client/bluetooth.c b/obexd/client/bluetooth.c index d233e5c0d..528845ea8 100644 --- a/obexd/client/bluetooth.c +++ b/obexd/client/bluetooth.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <inttypes.h> diff --git a/obexd/client/dbus.c b/obexd/client/dbus.c index c8f86f887..78e0b966e 100644 --- a/obexd/client/dbus.c +++ b/obexd/client/dbus.c @@ -19,10 +19,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <glib.h> #include <gdbus.h> diff --git a/obexd/client/driver.c b/obexd/client/driver.c index fe612194d..66501fa4c 100644 --- a/obexd/client/driver.c +++ b/obexd/client/driver.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <string.h> #include <errno.h> #include <glib.h> diff --git a/obexd/client/ftp.c b/obexd/client/ftp.c index 45c105784..e2b650f6b 100644 --- a/obexd/client/ftp.c +++ b/obexd/client/ftp.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <string.h> diff --git a/obexd/client/main.c b/obexd/client/main.c index 3eabfdac0..80867be07 100644 --- a/obexd/client/main.c +++ b/obexd/client/main.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/obexd/client/manager.c b/obexd/client/manager.c index 7f2fede95..93d16aeff 100644 --- a/obexd/client/manager.c +++ b/obexd/client/manager.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/obexd/client/map.c b/obexd/client/map.c index dc72e4b3f..0f141c1cf 100644 --- a/obexd/client/map.c +++ b/obexd/client/map.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <string.h> #include <stdio.h> diff --git a/obexd/client/opp.c b/obexd/client/opp.c index 5137de86e..5f317a272 100644 --- a/obexd/client/opp.c +++ b/obexd/client/opp.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <gdbus.h> diff --git a/obexd/client/pbap.c b/obexd/client/pbap.c index 6444605df..fa8b126ca 100644 --- a/obexd/client/pbap.c +++ b/obexd/client/pbap.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <string.h> #include <stdio.h> diff --git a/obexd/client/session.c b/obexd/client/session.c index 1b6b927e4..4339327c5 100644 --- a/obexd/client/session.c +++ b/obexd/client/session.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdlib.h> #include <stdio.h> #include <errno.h> diff --git a/obexd/client/sync.c b/obexd/client/sync.c index 65c921089..45e49b021 100644 --- a/obexd/client/sync.c +++ b/obexd/client/sync.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <string.h> diff --git a/obexd/client/transfer.c b/obexd/client/transfer.c index cac388440..67b8eafe7 100644 --- a/obexd/client/transfer.c +++ b/obexd/client/transfer.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdlib.h> #include <stdio.h> #include <errno.h> diff --git a/obexd/client/transport.c b/obexd/client/transport.c index 77e52f702..21dfef4a4 100644 --- a/obexd/client/transport.c +++ b/obexd/client/transport.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <string.h> #include <errno.h> #include <glib.h> diff --git a/obexd/plugins/bluetooth.c b/obexd/plugins/bluetooth.c index 2506aec1d..24fd1cb26 100644 --- a/obexd/plugins/bluetooth.c +++ b/obexd/plugins/bluetooth.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <string.h> #include <unistd.h> diff --git a/obexd/plugins/filesystem.c b/obexd/plugins/filesystem.c index 1132a34c3..1e6c6d766 100644 --- a/obexd/plugins/filesystem.c +++ b/obexd/plugins/filesystem.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <stdlib.h> diff --git a/obexd/plugins/ftp.c b/obexd/plugins/ftp.c index ff4b76180..b89f9b242 100644 --- a/obexd/plugins/ftp.c +++ b/obexd/plugins/ftp.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <fcntl.h> #include <stdio.h> #include <errno.h> diff --git a/obexd/plugins/irmc.c b/obexd/plugins/irmc.c index c9c3521ea..1c172b88c 100644 --- a/obexd/plugins/irmc.c +++ b/obexd/plugins/irmc.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <string.h> #include <errno.h> diff --git a/obexd/plugins/mas.c b/obexd/plugins/mas.c index 1b180599d..b279bf068 100644 --- a/obexd/plugins/mas.c +++ b/obexd/plugins/mas.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <string.h> #include <errno.h> #include <glib.h> diff --git a/obexd/plugins/messages-dummy.c b/obexd/plugins/messages-dummy.c index 4c66f51bb..869f9df35 100644 --- a/obexd/plugins/messages-dummy.c +++ b/obexd/plugins/messages-dummy.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <sys/types.h> #include <dirent.h> #include <errno.h> diff --git a/obexd/plugins/messages-tracker.c b/obexd/plugins/messages-tracker.c index 60f3a807e..96da001ba 100644 --- a/obexd/plugins/messages-tracker.c +++ b/obexd/plugins/messages-tracker.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <glib.h> #include <string.h> diff --git a/obexd/plugins/opp.c b/obexd/plugins/opp.c index c7ddc63c3..747ab85db 100644 --- a/obexd/plugins/opp.c +++ b/obexd/plugins/opp.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <string.h> #include <unistd.h> diff --git a/obexd/plugins/pbap.c b/obexd/plugins/pbap.c index c36fab215..79237b616 100644 --- a/obexd/plugins/pbap.c +++ b/obexd/plugins/pbap.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <string.h> #include <errno.h> diff --git a/obexd/plugins/pcsuite.c b/obexd/plugins/pcsuite.c index f3d0b1a02..b479980c5 100644 --- a/obexd/plugins/pcsuite.c +++ b/obexd/plugins/pcsuite.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <fcntl.h> #include <stdio.h> #include <errno.h> diff --git a/obexd/plugins/phonebook-dummy.c b/obexd/plugins/phonebook-dummy.c index 6b9d0403f..458136e26 100644 --- a/obexd/plugins/phonebook-dummy.c +++ b/obexd/plugins/phonebook-dummy.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <dirent.h> #include <errno.h> #include <stdio.h> diff --git a/obexd/plugins/phonebook-ebook.c b/obexd/plugins/phonebook-ebook.c index 59a4eac84..b1935b797 100644 --- a/obexd/plugins/phonebook-ebook.c +++ b/obexd/plugins/phonebook-ebook.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <string.h> #include <errno.h> #include <glib.h> diff --git a/obexd/plugins/syncevolution.c b/obexd/plugins/syncevolution.c index 0778608a0..1e8f78aa2 100644 --- a/obexd/plugins/syncevolution.c +++ b/obexd/plugins/syncevolution.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <string.h> #include <stdio.h> #include <errno.h> diff --git a/obexd/plugins/usb.c b/obexd/plugins/usb.c index 7b216235e..32e715945 100644 --- a/obexd/plugins/usb.c +++ b/obexd/plugins/usb.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/obexd/plugins/vcard.c b/obexd/plugins/vcard.c index 31d6d0d9c..baf069646 100644 --- a/obexd/plugins/vcard.c +++ b/obexd/plugins/vcard.c @@ -19,10 +19,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <string.h> #include <stdio.h> #include <stdlib.h> diff --git a/obexd/src/log.c b/obexd/src/log.c index 59b615158..1d3a8f20b 100644 --- a/obexd/src/log.c +++ b/obexd/src/log.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <stdarg.h> #include <syslog.h> diff --git a/obexd/src/main.c b/obexd/src/main.c index a2a94f7c3..fb3826530 100644 --- a/obexd/src/main.c +++ b/obexd/src/main.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/obexd/src/manager.c b/obexd/src/manager.c index 1d48224e4..e038b9e64 100644 --- a/obexd/src/manager.c +++ b/obexd/src/manager.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <unistd.h> #include <string.h> diff --git a/obexd/src/mimetype.c b/obexd/src/mimetype.c index 833ddc721..548a31af6 100644 --- a/obexd/src/mimetype.c +++ b/obexd/src/mimetype.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <string.h> diff --git a/obexd/src/obex.c b/obexd/src/obex.c index 904496163..4656493b4 100644 --- a/obexd/src/obex.c +++ b/obexd/src/obex.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <stdlib.h> diff --git a/obexd/src/plugin.c b/obexd/src/plugin.c index c8ec64264..b8a9daa07 100644 --- a/obexd/src/plugin.c +++ b/obexd/src/plugin.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <dlfcn.h> #include <string.h> diff --git a/obexd/src/server.c b/obexd/src/server.c index 16be84932..0b63276c6 100644 --- a/obexd/src/server.c +++ b/obexd/src/server.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <stdlib.h> diff --git a/obexd/src/service.c b/obexd/src/service.c index 4d9ebfde8..46fcb1d2a 100644 --- a/obexd/src/service.c +++ b/obexd/src/service.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <string.h> diff --git a/obexd/src/transport.c b/obexd/src/transport.c index 4984643e2..c0fc2c990 100644 --- a/obexd/src/transport.c +++ b/obexd/src/transport.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <string.h> diff --git a/plugins/adaptername.c b/plugins/adaptername.c index 179152fdd..fbb9470f2 100644 --- a/plugins/adaptername.c +++ b/plugins/adaptername.c @@ -25,10 +25,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdlib.h> #include <stdbool.h> #include <unistd.h> diff --git a/plugins/dbusoob.c b/plugins/dbusoob.c index 9dfca4697..95e52f98c 100644 --- a/plugins/dbusoob.c +++ b/plugins/dbusoob.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include <errno.h> diff --git a/plugins/external-dummy.c b/plugins/external-dummy.c index ff3129028..86e0ae94d 100644 --- a/plugins/external-dummy.c +++ b/plugins/external-dummy.c @@ -18,10 +18,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include "plugin.h" #include "log.h" diff --git a/plugins/formfactor.c b/plugins/formfactor.c index 1978f0399..c72fb8a11 100644 --- a/plugins/formfactor.c +++ b/plugins/formfactor.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdlib.h> #include <errno.h> diff --git a/plugins/gatt-example.c b/plugins/gatt-example.c index de090e945..0d3ce6f20 100644 --- a/plugins/gatt-example.c +++ b/plugins/gatt-example.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <glib.h> #include <bluetooth/uuid.h> #include <errno.h> diff --git a/plugins/neard.c b/plugins/neard.c index 124b97ae5..842eabf82 100644 --- a/plugins/neard.c +++ b/plugins/neard.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <gdbus.h> diff --git a/plugins/service.c b/plugins/service.c index ba7a6932a..d7c9b290f 100644 --- a/plugins/service.c +++ b/plugins/service.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <stdlib.h> #include <string.h> diff --git a/plugins/storage.c b/plugins/storage.c index 04a02c7fd..e5a0a7cfc 100644 --- a/plugins/storage.c +++ b/plugins/storage.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <bluetooth/bluetooth.h> #include "plugin.h" diff --git a/plugins/wiimote.c b/plugins/wiimote.c index 90d6d7bb4..319d08c67 100644 --- a/plugins/wiimote.c +++ b/plugins/wiimote.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include <bluetooth/bluetooth.h> diff --git a/profiles/alert/main.c b/profiles/alert/main.c index b9df0d4d6..70595f5a4 100644 --- a/profiles/alert/main.c +++ b/profiles/alert/main.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdint.h> #include <glib.h> #include <errno.h> diff --git a/profiles/alert/manager.c b/profiles/alert/manager.c index eb2d62708..1a655f0c1 100644 --- a/profiles/alert/manager.c +++ b/profiles/alert/manager.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include "manager.h" #include "server.h" diff --git a/profiles/alert/server.c b/profiles/alert/server.c index 1c929060b..60d010816 100644 --- a/profiles/alert/server.c +++ b/profiles/alert/server.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include <errno.h> #include <gdbus.h> diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c index 177f65342..ffdcec64d 100644 --- a/profiles/audio/a2dp.c +++ b/profiles/audio/a2dp.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdlib.h> #include <errno.h> diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c index dcffb05af..ee19ae5cd 100644 --- a/profiles/audio/avctp.c +++ b/profiles/audio/avctp.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdlib.h> #include <stdint.h> #include <stdbool.h> diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c index 4b74b656f..3fe21da7d 100644 --- a/profiles/audio/avdtp.c +++ b/profiles/audio/avdtp.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdlib.h> #include <stdio.h> #include <stdint.h> diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c index 2517df820..c69652f5f 100644 --- a/profiles/audio/avrcp.c +++ b/profiles/audio/avrcp.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdlib.h> #include <stdint.h> #include <stdbool.h> diff --git a/profiles/audio/control.c b/profiles/audio/control.c index 7299b7e1c..489ad0741 100644 --- a/profiles/audio/control.c +++ b/profiles/audio/control.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdlib.h> #include <stdint.h> #include <errno.h> diff --git a/profiles/audio/device.c b/profiles/audio/device.c index fef2beac6..c11126296 100644 --- a/profiles/audio/device.c +++ b/profiles/audio/device.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/profiles/audio/main.c b/profiles/audio/main.c index c5d142697..fa48e2367 100644 --- a/profiles/audio/main.c +++ b/profiles/audio/main.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <sys/socket.h> #include <unistd.h> diff --git a/profiles/audio/manager.c b/profiles/audio/manager.c index 355d7fbde..7544197f5 100644 --- a/profiles/audio/manager.c +++ b/profiles/audio/manager.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <stdlib.h> #include <stdarg.h> diff --git a/profiles/audio/media.c b/profiles/audio/media.c index 2041d235b..2ac7d7dfd 100644 --- a/profiles/audio/media.c +++ b/profiles/audio/media.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <bluetooth/uuid.h> diff --git a/profiles/audio/player.c b/profiles/audio/player.c index 34b1f2090..460fb5a75 100644 --- a/profiles/audio/player.c +++ b/profiles/audio/player.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdlib.h> #include <stdint.h> #include <stdbool.h> diff --git a/profiles/audio/sink.c b/profiles/audio/sink.c index bc9a194da..e7901e05c 100644 --- a/profiles/audio/sink.c +++ b/profiles/audio/sink.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdint.h> #include <stdbool.h> #include <errno.h> diff --git a/profiles/audio/source.c b/profiles/audio/source.c index 1105d3e4c..8913ab13a 100644 --- a/profiles/audio/source.c +++ b/profiles/audio/source.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdint.h> #include <stdbool.h> #include <errno.h> diff --git a/profiles/audio/transport.c b/profiles/audio/transport.c index 610aca3ec..79355ce5a 100644 --- a/profiles/audio/transport.c +++ b/profiles/audio/transport.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <bluetooth/uuid.h> diff --git a/profiles/cups/hcrp.c b/profiles/cups/hcrp.c index a93dda07e..4af47a9c6 100644 --- a/profiles/cups/hcrp.c +++ b/profiles/cups/hcrp.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/profiles/cups/main.c b/profiles/cups/main.c index ef3a17617..8959f0036 100644 --- a/profiles/cups/main.c +++ b/profiles/cups/main.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/profiles/cups/sdp.c b/profiles/cups/sdp.c index c7f17a4ab..203577b89 100644 --- a/profiles/cups/sdp.c +++ b/profiles/cups/sdp.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/profiles/cups/spp.c b/profiles/cups/spp.c index d906ed223..fba963252 100644 --- a/profiles/cups/spp.c +++ b/profiles/cups/spp.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/profiles/cyclingspeed/cyclingspeed.c b/profiles/cyclingspeed/cyclingspeed.c index 7c40ca1bb..f678ed922 100644 --- a/profiles/cyclingspeed/cyclingspeed.c +++ b/profiles/cyclingspeed/cyclingspeed.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <gdbus.h> #include <errno.h> #include <stdbool.h> diff --git a/profiles/deviceinfo/deviceinfo.c b/profiles/deviceinfo/deviceinfo.c index da27df824..e2daab576 100644 --- a/profiles/deviceinfo/deviceinfo.c +++ b/profiles/deviceinfo/deviceinfo.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include <glib.h> diff --git a/profiles/deviceinfo/main.c b/profiles/deviceinfo/main.c index 38845798d..d67e58bb5 100644 --- a/profiles/deviceinfo/main.c +++ b/profiles/deviceinfo/main.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <glib.h> #include <errno.h> #include <stdint.h> diff --git a/profiles/gatt/gas.c b/profiles/gatt/gas.c index e6cddad85..78b6ff17b 100644 --- a/profiles/gatt/gas.c +++ b/profiles/gatt/gas.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include <stdlib.h> #include <sys/types.h> diff --git a/profiles/gatt/main.c b/profiles/gatt/main.c index ecd44551e..6b90dc247 100644 --- a/profiles/gatt/main.c +++ b/profiles/gatt/main.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdint.h> #include <glib.h> #include <errno.h> diff --git a/profiles/health/hdp_main.c b/profiles/health/hdp_main.c index 1d38bea01..96dc678a2 100644 --- a/profiles/health/hdp_main.c +++ b/profiles/health/hdp_main.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <gdbus.h> diff --git a/profiles/health/hdp_manager.c b/profiles/health/hdp_manager.c index 7b799f493..c1828524a 100644 --- a/profiles/health/hdp_manager.c +++ b/profiles/health/hdp_manager.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include <bluetooth/sdp.h> diff --git a/profiles/health/hdp_util.c b/profiles/health/hdp_util.c index 1fd33e59f..714117cbe 100644 --- a/profiles/health/hdp_util.c +++ b/profiles/health/hdp_util.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdint.h> #include <stdbool.h> diff --git a/profiles/health/mcap_sync.c b/profiles/health/mcap_sync.c index 6d8d66b66..0e21877f0 100644 --- a/profiles/health/mcap_sync.c +++ b/profiles/health/mcap_sync.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdint.h> #include <netinet/in.h> #include <time.h> diff --git a/profiles/heartrate/heartrate.c b/profiles/heartrate/heartrate.c index 535d55bd4..ab61b870b 100644 --- a/profiles/heartrate/heartrate.c +++ b/profiles/heartrate/heartrate.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <gdbus.h> #include <errno.h> #include <stdbool.h> diff --git a/profiles/heartrate/main.c b/profiles/heartrate/main.c index 80a6ba421..23337c420 100644 --- a/profiles/heartrate/main.c +++ b/profiles/heartrate/main.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdint.h> #include <glib.h> #include <errno.h> diff --git a/profiles/input/device.c b/profiles/input/device.c index d713ebeab..d512f4872 100644 --- a/profiles/input/device.c +++ b/profiles/input/device.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdlib.h> #include <stdbool.h> #include <errno.h> diff --git a/profiles/input/hog_device.c b/profiles/input/hog_device.c index a873eac1b..1e06c799e 100644 --- a/profiles/input/hog_device.c +++ b/profiles/input/hog_device.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdlib.h> #include <stdbool.h> #include <errno.h> diff --git a/profiles/input/hog_manager.c b/profiles/input/hog_manager.c index 595b160ef..d16bf5faa 100644 --- a/profiles/input/hog_manager.c +++ b/profiles/input/hog_manager.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <stdbool.h> diff --git a/profiles/input/main.c b/profiles/input/main.c index 4ddc51143..3595b0b9e 100644 --- a/profiles/input/main.c +++ b/profiles/input/main.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <bluetooth/bluetooth.h> diff --git a/profiles/input/manager.c b/profiles/input/manager.c index b8e89c340..2b1b38ccb 100644 --- a/profiles/input/manager.c +++ b/profiles/input/manager.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <stdbool.h> diff --git a/profiles/input/server.c b/profiles/input/server.c index eaf3b6a85..4f8cc9011 100644 --- a/profiles/input/server.c +++ b/profiles/input/server.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <unistd.h> #include <stdbool.h> #include <errno.h> diff --git a/profiles/input/suspend-dummy.c b/profiles/input/suspend-dummy.c index b43946da4..d76fac5f1 100644 --- a/profiles/input/suspend-dummy.c +++ b/profiles/input/suspend-dummy.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <stdlib.h> #include <stdio.h> diff --git a/profiles/network/common.c b/profiles/network/common.c index 34ab7888d..107d58d67 100644 --- a/profiles/network/common.c +++ b/profiles/network/common.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/profiles/network/connection.c b/profiles/network/connection.c index 3203848f1..b97c15138 100644 --- a/profiles/network/connection.c +++ b/profiles/network/connection.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <stdbool.h> #include <errno.h> diff --git a/profiles/network/main.c b/profiles/network/main.c index 8ec1f3fe5..c8f9ea0d0 100644 --- a/profiles/network/main.c +++ b/profiles/network/main.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <gdbus.h> diff --git a/profiles/network/manager.c b/profiles/network/manager.c index 06ef9fc10..d3da540c8 100644 --- a/profiles/network/manager.c +++ b/profiles/network/manager.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include <bluetooth/bluetooth.h> diff --git a/profiles/network/server.c b/profiles/network/server.c index 7e5e653f0..153ec08c4 100644 --- a/profiles/network/server.c +++ b/profiles/network/server.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <unistd.h> #include <stdlib.h> diff --git a/profiles/proximity/immalert.c b/profiles/proximity/immalert.c index 8deecb3fb..8ea37b6ed 100644 --- a/profiles/proximity/immalert.c +++ b/profiles/proximity/immalert.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include <glib.h> diff --git a/profiles/proximity/linkloss.c b/profiles/proximity/linkloss.c index 30e4ca85e..a325ef1d9 100644 --- a/profiles/proximity/linkloss.c +++ b/profiles/proximity/linkloss.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include <glib.h> diff --git a/profiles/proximity/main.c b/profiles/proximity/main.c index 1e627a34f..93f4a1c8e 100644 --- a/profiles/proximity/main.c +++ b/profiles/proximity/main.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <stdint.h> #include <glib.h> diff --git a/profiles/proximity/manager.c b/profiles/proximity/manager.c index fb34e8ff9..9190b63a7 100644 --- a/profiles/proximity/manager.c +++ b/profiles/proximity/manager.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include <glib.h> diff --git a/profiles/proximity/monitor.c b/profiles/proximity/monitor.c index 58c0ed61c..9868fce68 100644 --- a/profiles/proximity/monitor.c +++ b/profiles/proximity/monitor.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <fcntl.h> #include <gdbus.h> diff --git a/profiles/proximity/reporter.c b/profiles/proximity/reporter.c index 17a084abf..c27906263 100644 --- a/profiles/proximity/reporter.c +++ b/profiles/proximity/reporter.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include <errno.h> diff --git a/profiles/sap/main.c b/profiles/sap/main.c index 4894f2e1a..c5df5a1e5 100644 --- a/profiles/sap/main.c +++ b/profiles/sap/main.c @@ -18,10 +18,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <gdbus.h> #include "plugin.h" diff --git a/profiles/sap/manager.c b/profiles/sap/manager.c index fddd7aa64..36fdb6c69 100644 --- a/profiles/sap/manager.c +++ b/profiles/sap/manager.c @@ -18,10 +18,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include "log.h" diff --git a/profiles/sap/sap-dummy.c b/profiles/sap/sap-dummy.c index 36354b893..a3e08bbbc 100644 --- a/profiles/sap/sap-dummy.c +++ b/profiles/sap/sap-dummy.c @@ -22,10 +22,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <glib.h> #include <gdbus.h> #include <stdint.h> diff --git a/profiles/sap/server.c b/profiles/sap/server.c index bb37c18e9..24441d145 100644 --- a/profiles/sap/server.c +++ b/profiles/sap/server.c @@ -24,10 +24,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <glib.h> #include <bluetooth/sdp.h> diff --git a/profiles/scanparam/main.c b/profiles/scanparam/main.c index 74e8a5543..509966618 100644 --- a/profiles/scanparam/main.c +++ b/profiles/scanparam/main.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <stdint.h> #include <glib.h> diff --git a/profiles/scanparam/manager.c b/profiles/scanparam/manager.c index cea2b29cc..8acade17e 100644 --- a/profiles/scanparam/manager.c +++ b/profiles/scanparam/manager.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include <errno.h> #include <glib.h> diff --git a/profiles/scanparam/scan.c b/profiles/scanparam/scan.c index 849336e24..49f1eda4a 100644 --- a/profiles/scanparam/scan.c +++ b/profiles/scanparam/scan.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include <bluetooth/bluetooth.h> diff --git a/profiles/thermometer/main.c b/profiles/thermometer/main.c index 6c1c40cdc..bf2b54c4a 100644 --- a/profiles/thermometer/main.c +++ b/profiles/thermometer/main.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdint.h> #include <glib.h> #include <errno.h> diff --git a/profiles/thermometer/thermometer.c b/profiles/thermometer/thermometer.c index 9c497c9db..6fb0d03e4 100644 --- a/profiles/thermometer/thermometer.c +++ b/profiles/thermometer/thermometer.c @@ -20,10 +20,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include <errno.h> diff --git a/profiles/time/main.c b/profiles/time/main.c index 08abed222..3cbecd144 100644 --- a/profiles/time/main.c +++ b/profiles/time/main.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdint.h> #include <glib.h> #include <errno.h> diff --git a/profiles/time/manager.c b/profiles/time/manager.c index 608a807be..fec908432 100644 --- a/profiles/time/manager.c +++ b/profiles/time/manager.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include "manager.h" diff --git a/profiles/time/server.c b/profiles/time/server.c index 0a17b83dc..c6405b1fd 100644 --- a/profiles/time/server.c +++ b/profiles/time/server.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <glib.h> #include <time.h> #include <errno.h> diff --git a/src/adapter.c b/src/adapter.c index c3135031f..8ae9c34eb 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/src/agent.c b/src/agent.c index 3d234c246..97d34cef2 100644 --- a/src/agent.c +++ b/src/agent.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <stdlib.h> diff --git a/src/attrib-server.c b/src/attrib-server.c index 1a9bd69a6..5cd5460d4 100644 --- a/src/attrib-server.c +++ b/src/attrib-server.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <stdint.h> #include <stdbool.h> diff --git a/src/dbus-common.c b/src/dbus-common.c index afd07dea2..3c73e322b 100644 --- a/src/dbus-common.c +++ b/src/dbus-common.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <stdint.h> diff --git a/src/device.c b/src/device.c index 8c00a5975..32fb788a4 100644 --- a/src/device.c +++ b/src/device.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <ctype.h> #include <stdlib.h> diff --git a/src/error.c b/src/error.c index c2d9baaab..c5747c088 100644 --- a/src/error.c +++ b/src/error.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <gdbus.h> #include "error.h" diff --git a/src/glib-helper.c b/src/glib-helper.c index fe5713ad5..9647ef287 100644 --- a/src/glib-helper.c +++ b/src/glib-helper.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdlib.h> #include <errno.h> @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <stdarg.h> #include <syslog.h> diff --git a/src/main.c b/src/main.c index bc53a8ef1..90cd32677 100644 --- a/src/main.c +++ b/src/main.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <stdio.h> #include <unistd.h> diff --git a/src/manager.c b/src/manager.c index 3c415db74..e569fcf4f 100644 --- a/src/manager.c +++ b/src/manager.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdlib.h> #include <stdio.h> #include <stdbool.h> diff --git a/src/mgmt.c b/src/mgmt.c index 81b0494af..aba86430d 100644 --- a/src/mgmt.c +++ b/src/mgmt.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/src/plugin.c b/src/plugin.c index 2a86e6822..d57620709 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <dlfcn.h> #include <string.h> diff --git a/src/profile.c b/src/profile.c index a085ab219..755c38773 100644 --- a/src/profile.c +++ b/src/profile.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdbool.h> #include <stdint.h> #include <stdlib.h> diff --git a/src/rfkill.c b/src/rfkill.c index f82596b51..4c4c62c2a 100644 --- a/src/rfkill.c +++ b/src/rfkill.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <stdio.h> #include <fcntl.h> diff --git a/src/sdp-client.c b/src/sdp-client.c index 55e59c27b..d37844609 100644 --- a/src/sdp-client.c +++ b/src/sdp-client.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <errno.h> #include <bluetooth/bluetooth.h> diff --git a/src/sdp-xml.c b/src/sdp-xml.c index 7d5f6264f..a3615e3e3 100644 --- a/src/sdp-xml.c +++ b/src/sdp-xml.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <ctype.h> diff --git a/src/sdpd-database.c b/src/sdpd-database.c index dd492bf3d..0abdb9060 100644 --- a/src/sdpd-database.c +++ b/src/sdpd-database.c @@ -24,10 +24,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <stdlib.h> diff --git a/src/sdpd-request.c b/src/sdpd-request.c index 2af743e7d..8f9f1cc09 100644 --- a/src/sdpd-request.c +++ b/src/sdpd-request.c @@ -24,10 +24,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <stdlib.h> diff --git a/src/sdpd-server.c b/src/sdpd-server.c index 1d9509e00..979c19332 100644 --- a/src/sdpd-server.c +++ b/src/sdpd-server.c @@ -24,10 +24,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/src/sdpd-service.c b/src/sdpd-service.c index b43ddc22f..570ab56fb 100644 --- a/src/sdpd-service.c +++ b/src/sdpd-service.c @@ -24,10 +24,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <stdlib.h> diff --git a/src/storage.c b/src/storage.c index ac660219e..090df9232 100644 --- a/src/storage.c +++ b/src/storage.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <ctype.h> diff --git a/src/textfile.c b/src/textfile.c index b6a7e1faa..167bc9766 100644 --- a/src/textfile.c +++ b/src/textfile.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <ctype.h> diff --git a/test/agent.c b/test/agent.c index 85dfb2213..f2340662f 100644 --- a/test/agent.c +++ b/test/agent.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/test/attest.c b/test/attest.c index 12ba68259..c74df9a0a 100644 --- a/test/attest.c +++ b/test/attest.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/test/avtest.c b/test/avtest.c index 541b3cdd2..85e5aaecf 100644 --- a/test/avtest.c +++ b/test/avtest.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/test/bdaddr.c b/test/bdaddr.c index f87fa385b..062ebc6e8 100644 --- a/test/bdaddr.c +++ b/test/bdaddr.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <stdlib.h> diff --git a/test/gaptest.c b/test/gaptest.c index a0541b179..175c9d823 100644 --- a/test/gaptest.c +++ b/test/gaptest.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <stdlib.h> diff --git a/test/hciemu.c b/test/hciemu.c index a125cf434..61ad0bdb2 100644 --- a/test/hciemu.c +++ b/test/hciemu.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/test/hstest.c b/test/hstest.c index ac68059ab..edf6f8964 100644 --- a/test/hstest.c +++ b/test/hstest.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/test/l2test.c b/test/l2test.c index 76456812d..c5b6efe33 100644 --- a/test/l2test.c +++ b/test/l2test.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <ctype.h> diff --git a/test/lmptest.c b/test/lmptest.c index 549ae129f..81d0beee6 100644 --- a/test/lmptest.c +++ b/test/lmptest.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <stdlib.h> diff --git a/test/mpris-player.c b/test/mpris-player.c index 7985cddea..86ddca55e 100644 --- a/test/mpris-player.c +++ b/test/mpris-player.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/test/rctest.c b/test/rctest.c index de38bd0f5..417cb3f49 100644 --- a/test/rctest.c +++ b/test/rctest.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <ctype.h> diff --git a/test/scotest.c b/test/scotest.c index a40e3955e..89dd7713f 100644 --- a/test/scotest.c +++ b/test/scotest.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <ctype.h> diff --git a/test/sdptest.c b/test/sdptest.c index 480a4688e..f05cd65d5 100644 --- a/test/sdptest.c +++ b/test/sdptest.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <stdlib.h> diff --git a/test/test-textfile.c b/test/test-textfile.c index e0a0c5b39..b30e355b4 100644 --- a/test/test-textfile.c +++ b/test/test-textfile.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/tools/avinfo.c b/tools/avinfo.c index d237742f8..55dd9b488 100644 --- a/tools/avinfo.c +++ b/tools/avinfo.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <ctype.h> diff --git a/tools/bccmd.c b/tools/bccmd.c index 952bf131d..3aa611212 100644 --- a/tools/bccmd.c +++ b/tools/bccmd.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <stdlib.h> diff --git a/tools/btattach.c b/tools/btattach.c index a69c49e46..5de97b63f 100644 --- a/tools/btattach.c +++ b/tools/btattach.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/tools/btmgmt.c b/tools/btmgmt.c index ff6a46a71..cd1ff4ba6 100644 --- a/tools/btmgmt.c +++ b/tools/btmgmt.c @@ -19,10 +19,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdlib.h> #include <stdio.h> #include <unistd.h> diff --git a/tools/btsnoop.c b/tools/btsnoop.c index dcb4a2652..ad7d7851a 100644 --- a/tools/btsnoop.c +++ b/tools/btsnoop.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/tools/ciptool.c b/tools/ciptool.c index e240f38ba..5e3840775 100644 --- a/tools/ciptool.c +++ b/tools/ciptool.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <stdlib.h> diff --git a/tools/csr.c b/tools/csr.c index b4ea1fbbe..5851acee6 100644 --- a/tools/csr.c +++ b/tools/csr.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/tools/csr_3wire.c b/tools/csr_3wire.c index 33fcf389a..7537e6bfb 100644 --- a/tools/csr_3wire.c +++ b/tools/csr_3wire.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <stdint.h> diff --git a/tools/csr_bcsp.c b/tools/csr_bcsp.c index f7afe537c..d69808f38 100644 --- a/tools/csr_bcsp.c +++ b/tools/csr_bcsp.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/tools/csr_h4.c b/tools/csr_h4.c index 337177066..796dac480 100644 --- a/tools/csr_h4.c +++ b/tools/csr_h4.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/tools/csr_hci.c b/tools/csr_hci.c index 6bd37c359..78ef75804 100644 --- a/tools/csr_hci.c +++ b/tools/csr_hci.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <string.h> diff --git a/tools/csr_usb.c b/tools/csr_usb.c index 19903b0c3..c4f6614af 100644 --- a/tools/csr_usb.c +++ b/tools/csr_usb.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <string.h> diff --git a/tools/dfu.c b/tools/dfu.c index 39ec08876..47d825148 100644 --- a/tools/dfu.c +++ b/tools/dfu.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <string.h> diff --git a/tools/dfutool.c b/tools/dfutool.c index 16dd62eff..260684dea 100644 --- a/tools/dfutool.c +++ b/tools/dfutool.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <ctype.h> diff --git a/tools/hciattach.c b/tools/hciattach.c index e1e80af81..34aaf8016 100644 --- a/tools/hciattach.c +++ b/tools/hciattach.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/tools/hciattach_ath3k.c b/tools/hciattach_ath3k.c index 23208c66c..4dd6036de 100644 --- a/tools/hciattach_ath3k.c +++ b/tools/hciattach_ath3k.c @@ -17,10 +17,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/tools/hciattach_intel.c b/tools/hciattach_intel.c index 749098ef9..9bca0d490 100644 --- a/tools/hciattach_intel.c +++ b/tools/hciattach_intel.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/tools/hciattach_qualcomm.c b/tools/hciattach_qualcomm.c index 0e02e1e92..b5a2d8995 100644 --- a/tools/hciattach_qualcomm.c +++ b/tools/hciattach_qualcomm.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/tools/hciattach_st.c b/tools/hciattach_st.c index dbb7c47b2..7b2576098 100644 --- a/tools/hciattach_st.c +++ b/tools/hciattach_st.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/tools/hciattach_ti.c b/tools/hciattach_ti.c index b57c6b776..9db26c83e 100644 --- a/tools/hciattach_ti.c +++ b/tools/hciattach_ti.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/tools/hciattach_tialt.c b/tools/hciattach_tialt.c index c3caa4922..18a304cc5 100644 --- a/tools/hciattach_tialt.c +++ b/tools/hciattach_tialt.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/tools/hciconfig.c b/tools/hciconfig.c index 045e9a8c4..b0a4f3b27 100644 --- a/tools/hciconfig.c +++ b/tools/hciconfig.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <ctype.h> diff --git a/tools/hcieventmask.c b/tools/hcieventmask.c index 87beac954..e556c1ba8 100644 --- a/tools/hcieventmask.c +++ b/tools/hcieventmask.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <stdlib.h> diff --git a/tools/hcisecfilter.c b/tools/hcisecfilter.c index 9ad4ce0ca..97f06916d 100644 --- a/tools/hcisecfilter.c +++ b/tools/hcisecfilter.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <sys/socket.h> diff --git a/tools/hcitool.c b/tools/hcitool.c index a05e31fcb..9b541a3b3 100644 --- a/tools/hcitool.c +++ b/tools/hcitool.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <ctype.h> diff --git a/tools/hid2hci.c b/tools/hid2hci.c index e3a5b2ef7..fe27d2930 100644 --- a/tools/hid2hci.c +++ b/tools/hid2hci.c @@ -22,10 +22,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/tools/l2ping.c b/tools/l2ping.c index 29fb3d0e8..8d35fd92e 100644 --- a/tools/l2ping.c +++ b/tools/l2ping.c @@ -23,10 +23,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/tools/obex-server-tool.c b/tools/obex-server-tool.c index e37c56fd7..84ffe8d5e 100644 --- a/tools/obex-server-tool.c +++ b/tools/obex-server-tool.c @@ -19,10 +19,6 @@ * */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #include <sys/types.h> #include <sys/socket.h> #include <fcntl.h> diff --git a/tools/rfcomm.c b/tools/rfcomm.c index affdbc78b..984ea3e21 100644 --- a/tools/rfcomm.c +++ b/tools/rfcomm.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <fcntl.h> diff --git a/tools/sdptool.c b/tools/sdptool.c index a55df50b9..18c062ce0 100644 --- a/tools/sdptool.c +++ b/tools/sdptool.c @@ -25,10 +25,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <stdio.h> #include <errno.h> #include <ctype.h> diff --git a/tools/ubcsp.c b/tools/ubcsp.c index b3f883a03..6bba7e25b 100644 --- a/tools/ubcsp.c +++ b/tools/ubcsp.c @@ -26,10 +26,6 @@ *
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
/*****************************************************************************/
/*****************************************************************************/
/*****************************************************************************/
diff --git a/unit/test-eir.c b/unit/test-eir.c index cefcacd13..90aebbffe 100644 --- a/unit/test-eir.c +++ b/unit/test-eir.c @@ -21,10 +21,6 @@ * */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <check.h> #include <stdint.h> |