This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] ada-lang.c, ada-typeprint.c: use gdb_string.h instead of <string.h>
- From: Aidan Skinner <aidan at velvet dot net>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 18 Aug 2002 19:23:35 +0100
- Subject: [PATCH] ada-lang.c, ada-typeprint.c: use gdb_string.h instead of <string.h>
Fix regression caused by including <string.h> instead of
gdb_string.h. Commited as obvious.
ChangeLog:
* ada-lang.c: Use gdb_string.h instead of <string.h>.
* ada-typeprint.c: Use gdb_string.h instead of <string.h>.
Patch:
Index: ada-lang.c
===================================================================
RCS file: /cvs/src/src/gdb/ada-lang.c,v
retrieving revision 1.7
diff -u -p -r1.7 ada-lang.c
--- ada-lang.c 18 Aug 2002 18:07:13 -0000 1.7
+++ ada-lang.c 18 Aug 2002 18:18:20 -0000
@@ -18,7 +18,7 @@ along with this program; if not, write t
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <stdio.h>
-#include <string.h>
+#include "gdb_string.h"
#include <ctype.h>
#include <stdarg.h>
#include "demangle.h"
Index: ada-typeprint.c
===================================================================
RCS file: /cvs/src/src/gdb/ada-typeprint.c,v
retrieving revision 1.4
diff -u -p -r1.4 ada-typeprint.c
--- ada-typeprint.c 18 Aug 2002 18:07:29 -0000 1.4
+++ ada-typeprint.c 18 Aug 2002 18:18:21 -0000
@@ -35,7 +35,7 @@ Foundation, Inc., 675 Mass Ave, Cambridg
#include "ada-lang.h"
#include <ctype.h>
-#include <string.h>
+#include "gdb_string.h"
#include <errno.h>
static int print_record_field_types (struct type *, struct type *,
--
aidan@velvet.net http://www.velvet.net/~aidan/ aim:aidans42
finger for pgp key fingerprint |- - - - - - - - - - - - - - - - -
01AA 1594 2DB0 09E3 B850 | Marklar Domination, one marklar
C2D0 9A2C 4CC9 3EC4 75E1 | smoking marklar at at time