Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] Fix wrong header include on interactive gatttool
@ 2011-02-16 15:11 Claudio Takahasi
  2011-02-16 19:05 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Claudio Takahasi @ 2011-02-16 15:11 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Claudio Takahasi

This wrong include is triggering compiler warning: implicit declaration
of function 'strdup'.
---
 attrib/interactive.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/attrib/interactive.c b/attrib/interactive.c
index 83a0778..a98fe79 100644
--- a/attrib/interactive.c
+++ b/attrib/interactive.c
@@ -20,7 +20,7 @@
  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  *
  */
-#include <strings.h>
+#include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <glib.h>
-- 
1.7.4.1


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

end of thread, other threads:[~2011-02-16 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16 15:11 [PATCH] Fix wrong header include on interactive gatttool Claudio Takahasi
2011-02-16 19:05 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox