This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[rfa] missing include in c-lang.c
- From: David Carlton <carlton at math dot stanford dot edu>
- To: gdb-patches at sources dot redhat dot com
- Date: 20 Sep 2002 10:12:50 -0700
- Subject: [rfa] missing include in c-lang.c
c-lang.c calls strcmp(), but it doesn't seem to be declared anywhere,
so I think it should #include "gdb_string.h".
I suppose that I really should just commit this as obvious, but I'm
doing an RFA anyways.
David Carlton
carlton@math.stanford.edu
2002-09-20 David Carlton <carlton@math.stanford.edu>
* c-lang.c: #include "gdb_string.h"
Index: c-lang.c
===================================================================
RCS file: /cvs/src/src/gdb/c-lang.c,v
retrieving revision 1.15
diff -u -p -r1.15 c-lang.c
--- c-lang.c 20 Sep 2002 00:24:01 -0000 1.15
+++ c-lang.c 20 Sep 2002 17:09:33 -0000
@@ -30,6 +30,7 @@
#include "macroscope.h"
#include "gdb_assert.h"
#include "charset.h"
+#include "gdb_string.h"
extern void _initialize_c_language (void);
static void c_emit_char (int c, struct ui_file * stream, int quoter);