Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [rfa] missing include in c-lang.c
@ 2002-09-20 10:12 David Carlton
  2002-09-20 10:19 ` Andrew Cagney
  0 siblings, 1 reply; 5+ messages in thread
From: David Carlton @ 2002-09-20 10:12 UTC (permalink / raw)
  To: gdb-patches

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);


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

end of thread, other threads:[~2002-09-20 18:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-20 10:12 [rfa] missing include in c-lang.c David Carlton
2002-09-20 10:19 ` Andrew Cagney
2002-09-20 10:41   ` David Carlton
2002-09-20 10:55   ` Elena Zannoni
2002-09-20 11:16     ` David Carlton

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