This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] <string.h> -> "gdb_string.h"


Just FYI,

Clean up a few remaining includes.

	Andrew
2002-01-06  Andrew Cagney  <ac131313@redhat.com>

	* hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
	* gnu-nat.c: Ditto.

Index: gnu-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/gnu-nat.c,v
retrieving revision 1.17
diff -u -r1.17 gnu-nat.c
--- gnu-nat.c	2001/11/10 21:34:56	1.17
+++ gnu-nat.c	2002/01/06 19:17:27
@@ -30,7 +30,7 @@
 #include <setjmp.h>
 #include <signal.h>
 #include <stdio.h>
-#include <string.h>
+#include "gdb_string.h"
 #include <sys/ptrace.h>
 
 #include <mach.h>
Index: hp-psymtab-read.c
===================================================================
RCS file: /cvs/src/src/gdb/hp-psymtab-read.c,v
retrieving revision 1.13
diff -u -r1.13 hp-psymtab-read.c
--- hp-psymtab-read.c	2001/12/02 22:38:23	1.13
+++ hp-psymtab-read.c	2002/01/06 19:17:29
@@ -68,7 +68,7 @@
 #define PXDB_BSD  "/usr/bin/pxdb"
 
 #include <stdlib.h>
-#include <string.h>
+#include "gdb_string.h"
 
 /* check for the existence of a file, given its full pathname */
 int

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]