Skip to contentSkip to conversation

sdpd: Remove redundant include

PATCH Applied Frederic Danis 2 participants 2 messages Jul 11, 2013 – Jul 12, 2013 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sdpd: Remove redundant include

---
 src/sdpd-database.c |    4 ----
 src/sdpd-request.c  |    5 -----
 src/sdpd-server.c   |    3 ---
 src/sdpd-service.c  |    7 -------
 4 files changed, 19 deletions(-)
src/sdpd-database.c +0 -4
index ad896a4..cf33f19 100644
@@ -28,13 +28,9 @@
 #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>
 
src/sdpd-request.c +0 -5
index 0d5bf25..fbeb488 100644
@@ -28,20 +28,15 @@
 #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"
 
src/sdpd-server.c +0 -3
index bc96d3c..181d248 100644
@@ -28,12 +28,10 @@
 #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>
 
src/sdpd-service.c +0 -7
index b6b135d..38bf808 100644
@@ -28,26 +28,19 @@
 #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;
Signature · 1 line
1.7.9.5
#1 lore raw

Hi Frederic,

Quoted 6 lines · Frederic Danis
---
 src/sdpd-database.c |    4 ----
 src/sdpd-request.c  |    5 -----
 src/sdpd-server.c   |    3 ---
 src/sdpd-service.c  |    7 -------
 4 files changed, 19 deletions(-)

Applied. Thanks.

Johan