From 6970667963f7f4df0fb185f7840ce8117ad44c4b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 5 Nov 2013 09:48:26 -0700 Subject: [PATCH] use gdb_string.h in m32c-tdep.c 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 * m32c-tdep.c: Use gdb_string.h. --- gdb/ChangeLog | 4 ++++ gdb/m32c-tdep.c | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 323da72..047196f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2013-11-08 Tom Tromey + * m32c-tdep.c: Use gdb_string.h. + +2013-11-08 Tom Tromey + * configure, config.in: Rebuild. * configure.ac: Remove all link.h-related checks. diff --git a/gdb/m32c-tdep.c b/gdb/m32c-tdep.c index a147c94..1b0eba5 100644 --- a/gdb/m32c-tdep.c +++ b/gdb/m32c-tdep.c @@ -21,10 +21,7 @@ #include -#if defined (HAVE_STRING_H) -#include -#endif - +#include "gdb_string.h" #include "gdb_assert.h" #include "elf-bfd.h" #include "elf/m32c.h" -- 2.7.4