OSDN Git Service

core: Remove redundant includes from sdpd-*.c
authorFrederic Danis <frederic.danis@linux.intel.com>
Thu, 11 Jul 2013 12:37:28 +0000 (14:37 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 12 Jul 2013 06:55:29 +0000 (09:55 +0300)
src/sdpd-database.c
src/sdpd-request.c
src/sdpd-server.c
src/sdpd-service.c

index ad896a4..cf33f19 100644 (file)
 #include <config.h>
 #endif
 
-#include <stdio.h>
-#include <errno.h>
 #include <stdlib.h>
-#include <sys/socket.h>
 
 #include <bluetooth/bluetooth.h>
-#include <bluetooth/l2cap.h>
 #include <bluetooth/sdp.h>
 #include <bluetooth/sdp_lib.h>
 
index 0d5bf25..fbeb488 100644 (file)
 #include <config.h>
 #endif
 
-#include <stdio.h>
 #include <errno.h>
 #include <stdlib.h>
-#include <string.h>
 #include <limits.h>
-#include <sys/socket.h>
 
 #include <bluetooth/bluetooth.h>
 #include <bluetooth/l2cap.h>
 #include <bluetooth/sdp.h>
 #include <bluetooth/sdp_lib.h>
 
-#include <netinet/in.h>
-
 #include "sdpd.h"
 #include "log.h"
 
index bc96d3c..181d248 100644 (file)
 #include <config.h>
 #endif
 
-#include <stdio.h>
 #include <errno.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <sys/stat.h>
-#include <sys/socket.h>
 
 #include <bluetooth/bluetooth.h>
 #include <bluetooth/l2cap.h>
@@ -41,7 +39,6 @@
 #include <bluetooth/sdp_lib.h>
 
 #include <sys/un.h>
-#include <netinet/in.h>
 
 #include <glib.h>
 
index b6b135d..38bf808 100644 (file)
 #include <config.h>
 #endif
 
-#include <stdio.h>
 #include <errno.h>
 #include <stdlib.h>
 #include <assert.h>
 #include <sys/time.h>
-#include <sys/socket.h>
 
 #include <bluetooth/bluetooth.h>
 #include <bluetooth/sdp.h>
 #include <bluetooth/sdp_lib.h>
 
-#include <netinet/in.h>
-
 #include <glib.h>
-#include <dbus/dbus.h>
 
-#include "hcid.h"
 #include "sdpd.h"
 #include "log.h"
-#include "adapter.h"
 
 static sdp_record_t *server = NULL;
 static uint32_t fixed_dbts = 0;