summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-06-11 13:12:21 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-06-11 13:12:21 +0000
commitbb45b882917f26aaa26b2b903b70d622b39cce84 (patch)
tree3cb86f472b5598149c59584ea51123e1f2b288d8
parentbd89e0b981558100ce906d57f959f1436dbf4ede (diff)
It is better to include string.h instead of malloc.h
-rw-r--r--src/bluetooth.c1
-rw-r--r--src/hci.c1
-rw-r--r--src/sdp.c2
3 files changed, 1 insertions, 3 deletions
diff --git a/src/bluetooth.c b/src/bluetooth.c
index d183d97e..463e0e05 100644
--- a/src/bluetooth.c
+++ b/src/bluetooth.c
@@ -32,7 +32,6 @@
#include <ctype.h>
#include <stdarg.h>
#include <stdlib.h>
-#include <malloc.h>
#include <string.h>
#include <sys/socket.h>
diff --git a/src/hci.c b/src/hci.c
index dd8a6ace..280a654a 100644
--- a/src/hci.c
+++ b/src/hci.c
@@ -32,7 +32,6 @@
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
-#include <malloc.h>
#include <string.h>
#include <sys/param.h>
diff --git a/src/sdp.c b/src/sdp.c
index 28e24c0a..3ec877a1 100644
--- a/src/sdp.c
+++ b/src/sdp.c
@@ -34,7 +34,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <limits.h>
-#include <malloc.h>
+#include <string.h>
#include <syslog.h>
#include <sys/un.h>
#include <sys/socket.h>