This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]