All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sdpd: Remove redundant include
@ 2013-07-11 12:37 Frederic Danis
  2013-07-12  6:56 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Frederic Danis @ 2013-07-11 12:37 UTC (permalink / raw)
  To: linux-bluetooth

---
 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(-)

diff --git a/src/sdpd-database.c b/src/sdpd-database.c
index ad896a4..cf33f19 100644
--- a/src/sdpd-database.c
+++ b/src/sdpd-database.c
@@ -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>
 
diff --git a/src/sdpd-request.c b/src/sdpd-request.c
index 0d5bf25..fbeb488 100644
--- a/src/sdpd-request.c
+++ b/src/sdpd-request.c
@@ -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"
 
diff --git a/src/sdpd-server.c b/src/sdpd-server.c
index bc96d3c..181d248 100644
--- a/src/sdpd-server.c
+++ b/src/sdpd-server.c
@@ -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>
 
diff --git a/src/sdpd-service.c b/src/sdpd-service.c
index b6b135d..38bf808 100644
--- a/src/sdpd-service.c
+++ b/src/sdpd-service.c
@@ -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;
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] sdpd: Remove redundant include
  2013-07-11 12:37 [PATCH] sdpd: Remove redundant include Frederic Danis
@ 2013-07-12  6:56 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2013-07-12  6:56 UTC (permalink / raw)
  To: Frederic Danis; +Cc: linux-bluetooth

Hi Frederic,

On Thu, Jul 11, 2013, Frederic Danis wrote:
> ---
>  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-12  6:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-11 12:37 [PATCH] sdpd: Remove redundant include Frederic Danis
2013-07-12  6:56 ` Johan Hedberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.