use gdb_string.h in m32c-tdep.c
authorTom Tromey <tromey@redhat.com>
Tue, 5 Nov 2013 16:48:26 +0000 (09:48 -0700)
committerTom Tromey <tromey@redhat.com>
Fri, 8 Nov 2013 19:29:56 +0000 (12:29 -0700)
m32c-tdep.c is the last user of HAVE_STRING_H in gdb proper.  It
really ought to be using gdb_string.h instead, as the rest of gdb
does.

2013-11-08  Tom Tromey  <tromey@redhat.com>

* m32c-tdep.c: Use gdb_string.h.

gdb/ChangeLog
gdb/m32c-tdep.c

index 323da72..047196f 100644 (file)
@@ -1,5 +1,9 @@
 2013-11-08  Tom Tromey  <tromey@redhat.com>
 
+       * m32c-tdep.c: Use gdb_string.h.
+
+2013-11-08  Tom Tromey  <tromey@redhat.com>
+
        * configure, config.in: Rebuild.
        * configure.ac: Remove all link.h-related checks.
 
index a147c94..1b0eba5 100644 (file)
 
 #include <stdarg.h>
 
-#if defined (HAVE_STRING_H)
-#include <string.h>
-#endif
-
+#include "gdb_string.h"
 #include "gdb_assert.h"
 #include "elf-bfd.h"
 #include "elf/m32c.h"