[PATCH] Fix compiler warning in i386bsd-tdep.c

Mark Kettenis kettenis@chello.nl
Thu Jul 4 16:25:00 GMT 2002


For some particular reason the stock FreeBSD 4.4-RELEASE GCC 2.95.3
doesn't warn about a missing strcmp() prototype, but my current GCC
3.1.1 snapshot does.

Checked in.

Mark

Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* i386bsd-tdep.c: Include "gdb_string.h".

Index: i386bsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386bsd-tdep.c,v
retrieving revision 1.7
diff -u -p -r1.7 i386bsd-tdep.c
--- i386bsd-tdep.c 4 Jul 2002 15:13:27 -0000 1.7
+++ i386bsd-tdep.c 4 Jul 2002 22:52:42 -0000
@@ -24,6 +24,8 @@
 #include "gdbcore.h"
 #include "regcache.h"
 
+#include "gdb_string.h"
+
 #include "i386-tdep.h"
 
 /* Support for signal handlers.  */



More information about the Gdb-patches mailing list