diff options
author | ats <ats@FreeBSD.org> | 1993-12-01 16:44:43 +0000 |
---|---|---|
committer | ats <ats@FreeBSD.org> | 1993-12-01 16:44:43 +0000 |
commit | 3749e580648b25b32aa73c973441a28fc942c24b (patch) | |
tree | eeb27e7273b8419157ee99fbf794e664bc242771 /gnu | |
parent | fa2f60314e893cf1a7486391614d5d66dcfcbbe6 (diff) | |
download | FreeBSD-src-3749e580648b25b32aa73c973441a28fc942c24b.zip FreeBSD-src-3749e580648b25b32aa73c973441a28fc942c24b.tar.gz |
changed the order of the includes and deleted a reference to index
nd added an include to string.h instead
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gdb/expprint.c | 2 | ||||
-rw-r--r-- | gnu/usr.bin/gdb/source.c | 4 | ||||
-rw-r--r-- | gnu/usr.bin/gdb/symtab.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/gdb/expprint.c b/gnu/usr.bin/gdb/expprint.c index 8ac95e9..2c63cf8 100644 --- a/gnu/usr.bin/gdb/expprint.c +++ b/gnu/usr.bin/gdb/expprint.c @@ -19,8 +19,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <stdio.h> #include "defs.h" -#include "symtab.h" #include "param.h" +#include "symtab.h" #include "expression.h" #include "value.h" diff --git a/gnu/usr.bin/gdb/source.c b/gnu/usr.bin/gdb/source.c index d9ae20f..bb65e1c 100644 --- a/gnu/usr.bin/gdb/source.c +++ b/gnu/usr.bin/gdb/source.c @@ -30,9 +30,10 @@ along with GDB; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <stdio.h> +#include <string.h> #include "defs.h" -#include "symtab.h" #include "param.h" +#include "symtab.h" #ifdef USG #include <sys/types.h> @@ -188,7 +189,6 @@ directory_command (dirname, from_tty) do { - extern char *index (); char *name = dirname; register char *p; struct stat st; diff --git a/gnu/usr.bin/gdb/symtab.c b/gnu/usr.bin/gdb/symtab.c index a6feff4..4e4bd8e 100644 --- a/gnu/usr.bin/gdb/symtab.c +++ b/gnu/usr.bin/gdb/symtab.c @@ -5,7 +5,7 @@ * Modified 1991 by Donn Seeley at UUNET Technologies, Inc. * Modified 1990 by Van Jacobson at Lawrence Berkeley Laboratory. * - * $Header: /home/cvs/386BSD/src/usr.bin/gdb/symtab.c,v 1.1.1.1 1993/06/12 14:52:20 rgrimes Exp $; + * $Header: /a/cvs/386BSD/src/gnu/gdb/symtab.c,v 1.1 1993/06/29 09:47:40 nate Exp $; */ #ifndef lint @@ -33,8 +33,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <stdio.h> #include "defs.h" -#include "symtab.h" #include "param.h" +#include "symtab.h" #include <obstack.h> #include <assert.h> |