Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/csh eliminate nested extern decls.



details:   https://anonhg.NetBSD.org/src/rev/26679cf875fb
branches:  trunk
changeset: 501747:26679cf875fb
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 06 23:56:26 2001 +0000

description:
eliminate nested extern decls.

diffstat:

 bin/csh/func.c |  6 +++---
 bin/csh/proc.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (68 lines):

diff -r ec16a63db925 -r 26679cf875fb bin/csh/func.c
--- a/bin/csh/func.c    Sat Jan 06 23:36:36 2001 +0000
+++ b/bin/csh/func.c    Sat Jan 06 23:56:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: func.c,v 1.18 2000/05/31 22:48:45 christos Exp $       */
+/*     $NetBSD: func.c,v 1.19 2001/01/06 23:56:26 christos Exp $       */
 
 /*-
  * Copyright (c) 1980, 1991, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)func.c     8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: func.c,v 1.18 2000/05/31 22:48:45 christos Exp $");
+__RCSID("$NetBSD: func.c,v 1.19 2001/01/06 23:56:26 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -60,6 +60,7 @@
 #include "pathnames.h"
 
 extern char **environ;
+extern int progprintf __P((int, char **));
 
 static void    islogin __P((void));
 static void    reexecute __P((struct command *));
@@ -1515,7 +1516,6 @@
     struct command *t;
 {
     char **c;
-    extern int progprintf __P((int, char **));
     int ret;
 
     ret = progprintf(blklen(v), c = short2blk(v));
diff -r ec16a63db925 -r 26679cf875fb bin/csh/proc.c
--- a/bin/csh/proc.c    Sat Jan 06 23:36:36 2001 +0000
+++ b/bin/csh/proc.c    Sat Jan 06 23:56:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: proc.c,v 1.20 1999/05/19 14:37:05 kleink Exp $ */
+/*     $NetBSD: proc.c,v 1.21 2001/01/06 23:56:26 christos Exp $       */
 
 /*-
  * Copyright (c) 1980, 1991, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)proc.c     8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: proc.c,v 1.20 1999/05/19 14:37:05 kleink Exp $");
+__RCSID("$NetBSD: proc.c,v 1.21 2001/01/06 23:56:26 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -61,6 +61,7 @@
 
 #define BIGINDEX       9       /* largest desirable job index */
 
+extern int insource;
 static struct rusage zru;
 
 static void     pflushall __P((void));
@@ -90,7 +91,6 @@
     struct process *pp;
     struct process *fp;
     int pid;
-    extern int insource;
     int w;
     int     jobflags;
     struct rusage ru;



Home | Main Index | Thread Index | Old Index