changed the order of the includes and deleted a reference to index
authorAndreas Schulz <ats@g386bsd.first.bmd.de>
Wed, 1 Dec 1993 16:44:43 +0000 (16:44 +0000)
committerAndreas Schulz <ats@g386bsd.first.bmd.de>
Wed, 1 Dec 1993 16:44:43 +0000 (16:44 +0000)
nd added an include to string.h instead

gnu/usr.bin/gdb/expprint.c
gnu/usr.bin/gdb/source.c
gnu/usr.bin/gdb/symtab.c
gnu/usr.bin/kgdb/expprint.c
gnu/usr.bin/kgdb/source.c
gnu/usr.bin/kgdb/symtab.c

index 8ac95e9..2c63cf8 100644 (file)
@@ -19,8 +19,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #include <stdio.h>
 #include "defs.h"
 
 #include <stdio.h>
 #include "defs.h"
-#include "symtab.h"
 #include "param.h"
 #include "param.h"
+#include "symtab.h"
 #include "expression.h"
 #include "value.h"
 
 #include "expression.h"
 #include "value.h"
 
index d9ae20f..bb65e1c 100644 (file)
@@ -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>
 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #include <stdio.h>
+#include <string.h>
 #include "defs.h"
 #include "defs.h"
-#include "symtab.h"
 #include "param.h"
 #include "param.h"
+#include "symtab.h"
 
 #ifdef USG
 #include <sys/types.h>
 
 #ifdef USG
 #include <sys/types.h>
@@ -188,7 +189,6 @@ directory_command (dirname, from_tty)
 
       do
        {
 
       do
        {
-         extern char *index ();
          char *name = dirname;
          register char *p;
          struct stat st;
          char *name = dirname;
          register char *p;
          struct stat st;
index a6feff4..4e4bd8e 100644 (file)
@@ -5,7 +5,7 @@
  * Modified 1991 by Donn Seeley at UUNET Technologies, Inc.
  * Modified 1990 by Van Jacobson at Lawrence Berkeley Laboratory.
  *
  * 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
  */
 
 #ifndef lint
@@ -33,8 +33,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #include <stdio.h>
 #include "defs.h"
 
 #include <stdio.h>
 #include "defs.h"
-#include "symtab.h"
 #include "param.h"
 #include "param.h"
+#include "symtab.h"
 
 #include <obstack.h>
 #include <assert.h>
 
 #include <obstack.h>
 #include <assert.h>
index 8ac95e9..2c63cf8 100644 (file)
@@ -19,8 +19,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #include <stdio.h>
 #include "defs.h"
 
 #include <stdio.h>
 #include "defs.h"
-#include "symtab.h"
 #include "param.h"
 #include "param.h"
+#include "symtab.h"
 #include "expression.h"
 #include "value.h"
 
 #include "expression.h"
 #include "value.h"
 
index d9ae20f..bb65e1c 100644 (file)
@@ -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>
 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #include <stdio.h>
+#include <string.h>
 #include "defs.h"
 #include "defs.h"
-#include "symtab.h"
 #include "param.h"
 #include "param.h"
+#include "symtab.h"
 
 #ifdef USG
 #include <sys/types.h>
 
 #ifdef USG
 #include <sys/types.h>
@@ -188,7 +189,6 @@ directory_command (dirname, from_tty)
 
       do
        {
 
       do
        {
-         extern char *index ();
          char *name = dirname;
          register char *p;
          struct stat st;
          char *name = dirname;
          register char *p;
          struct stat st;
index a6feff4..4e4bd8e 100644 (file)
@@ -5,7 +5,7 @@
  * Modified 1991 by Donn Seeley at UUNET Technologies, Inc.
  * Modified 1990 by Van Jacobson at Lawrence Berkeley Laboratory.
  *
  * 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
  */
 
 #ifndef lint
@@ -33,8 +33,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #include <stdio.h>
 #include "defs.h"
 
 #include <stdio.h>
 #include "defs.h"
-#include "symtab.h"
 #include "param.h"
 #include "param.h"
+#include "symtab.h"
 
 #include <obstack.h>
 #include <assert.h>
 
 #include <obstack.h>
 #include <assert.h>