aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-09-07 05:27:26 +0000
committerBruce Evans <bde@FreeBSD.org>1997-09-07 05:27:26 +0000
commitbea0f0be7b942a30cd23ab339491ba9277434ce8 (patch)
treebe4f26cdc4ce9b78716fa3624d32bb0a495308ec /sys/sys
parentda8ac9bcd1ed20df3733f6355cb001b35e017be8 (diff)
downloadsrc-bea0f0be7b942a30cd23ab339491ba9277434ce8.tar.gz
src-bea0f0be7b942a30cd23ab339491ba9277434ce8.zip
Some staticized variables were still declared to be extern.
Notes
Notes: svn path=/head/; revision=29179
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/callout.h4
-rw-r--r--sys/sys/clist.h4
-rw-r--r--sys/sys/dkstat.h4
-rw-r--r--sys/sys/exec.h7
-rw-r--r--sys/sys/imgact_elf.h4
-rw-r--r--sys/sys/lockf.h4
-rw-r--r--sys/sys/namei.h3
-rw-r--r--sys/sys/sem.h3
-rw-r--r--sys/sys/sysctl.h3
9 files changed, 11 insertions, 25 deletions
diff --git a/sys/sys/callout.h b/sys/sys/callout.h
index 5fec98f28bbb..454a2a04da76 100644
--- a/sys/sys/callout.h
+++ b/sys/sys/callout.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)callout.h 8.2 (Berkeley) 1/21/94
- * $Id$
+ * $Id: callout.h,v 1.6 1997/02/22 09:44:50 peter Exp $
*/
#ifndef _SYS_CALLOUT_H_
@@ -50,7 +50,7 @@ struct callout {
};
#ifdef KERNEL
-extern struct callout *callfree, *callout, calltodo;
+extern struct callout *callfree, *callout;
extern int ncallout;
#endif
diff --git a/sys/sys/clist.h b/sys/sys/clist.h
index f1456dbbcb39..5e87f2b11cdd 100644
--- a/sys/sys/clist.h
+++ b/sys/sys/clist.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)clist.h 8.1 (Berkeley) 6/4/93
- * $Id$
+ * $Id: clist.h,v 1.7 1997/02/22 09:44:58 peter Exp $
*/
#ifndef _SYS_CLIST_H_
@@ -44,7 +44,7 @@ struct cblock {
};
#ifdef KERNEL
-extern struct cblock *cfree, *cfreelist;
+extern struct cblock *cfree;
extern int cfreecount;
#endif
diff --git a/sys/sys/dkstat.h b/sys/sys/dkstat.h
index 497a0915a853..edec8ce605c6 100644
--- a/sys/sys/dkstat.h
+++ b/sys/sys/dkstat.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)dkstat.h 8.2 (Berkeley) 1/21/94
- * $Id$
+ * $Id: dkstat.h,v 1.8 1997/02/22 09:45:08 peter Exp $
*/
#ifndef _SYS_DKSTAT_H_
@@ -52,9 +52,7 @@
#define DK_NDRIVE 8
#define DK_NAMELEN 8
#ifdef KERNEL
-extern long cp_time[CPUSTATES];
extern long dk_seek[DK_NDRIVE]; /* # seeks */
-extern long dk_time[DK_NDRIVE]; /* time busy (in statclock ticks) */
extern long dk_wds[DK_NDRIVE]; /* # blocks of 32*16-bit words transferred */
extern long dk_wpms[DK_NDRIVE]; /* transfer rate in 16-bit words per second */
extern long dk_xfer[DK_NDRIVE]; /* # transfers */
diff --git a/sys/sys/exec.h b/sys/sys/exec.h
index 97543c2aab34..d98095128bf7 100644
--- a/sys/sys/exec.h
+++ b/sys/sys/exec.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)exec.h 8.3 (Berkeley) 1/21/94
- * $Id$
+ * $Id: exec.h,v 1.15 1997/02/22 09:45:11 peter Exp $
*/
#ifndef _SYS_EXEC_H_
@@ -71,11 +71,6 @@ struct execsw {
const char *ex_name;
};
-#ifdef KERNEL
-extern const struct execsw **execsw;
-
-#endif
-
#include <machine/exec.h>
#endif
diff --git a/sys/sys/imgact_elf.h b/sys/sys/imgact_elf.h
index 0224bbc52347..b9e69f97023f 100644
--- a/sys/sys/imgact_elf.h
+++ b/sys/sys/imgact_elf.h
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: imgact_elf.h,v 1.4 1997/02/22 09:45:19 peter Exp $
+ * $Id: imgact_elf.h,v 1.5 1997/05/21 23:07:31 jdp Exp $
*/
#ifndef _SYS_IMGACT_ELF_H_
@@ -35,8 +35,6 @@
#ifdef KERNEL
-extern int elf_trace;
-
#define AUXARGS_ENTRY(pos, id, val) {suword(pos++, id); suword(pos++, val);}
/*
diff --git a/sys/sys/lockf.h b/sys/sys/lockf.h
index 98fcd2161b8f..1af8965a6769 100644
--- a/sys/sys/lockf.h
+++ b/sys/sys/lockf.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)lockf.h 8.1 (Berkeley) 6/11/93
- * $Id$
+ * $Id: lockf.h,v 1.7 1997/02/22 09:45:31 peter Exp $
*/
#ifndef _SYS_LOCKF_H_
@@ -67,8 +67,6 @@ struct lockf {
int lf_advlock __P((struct vop_advlock_args *, struct lockf **, u_quad_t));
#ifdef LOCKF_DEBUG
-extern int lockf_debug;
-
void lf_print __P((char *, struct lockf *));
void lf_printlist __P((char *, struct lockf *));
#endif
diff --git a/sys/sys/namei.h b/sys/sys/namei.h
index e50fb161d08b..cdffe791e740 100644
--- a/sys/sys/namei.h
+++ b/sys/sys/namei.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)namei.h 8.5 (Berkeley) 1/9/95
- * $Id: namei.h,v 1.14 1997/05/04 09:17:38 phk Exp $
+ * $Id: namei.h,v 1.15 1997/05/11 14:54:41 phk Exp $
*/
#ifndef _SYS_NAMEI_H_
@@ -169,7 +169,6 @@ struct namecache {
#ifdef KERNEL
extern u_long nextvnodeid;
-extern u_long numcache;
extern u_long numvnodes;
int namei __P((struct nameidata *ndp));
diff --git a/sys/sys/sem.h b/sys/sys/sem.h
index 667556dabec9..ef3086a6b1e5 100644
--- a/sys/sys/sem.h
+++ b/sys/sys/sem.h
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $Id: sem.h,v 1.12 1997/02/22 09:45:51 peter Exp $ */
/* $NetBSD: sem.h,v 1.5 1994/06/29 06:45:15 cgd Exp $ */
/*
@@ -145,7 +145,6 @@ extern struct seminfo seminfo;
extern struct semid_ds *sema; /* semaphore id pool */
extern struct sem *sem; /* semaphore pool */
-extern struct sem_undo *semu_list; /* list of active undo structures */
extern int *semu; /* undo structure pool */
/*
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h
index b1d73bc8b3c4..141521a2abec 100644
--- a/sys/sys/sysctl.h
+++ b/sys/sys/sysctl.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)sysctl.h 8.1 (Berkeley) 6/2/93
- * $Id: sysctl.h,v 1.54 1997/07/12 11:12:41 peter Exp $
+ * $Id: sysctl.h,v 1.55 1997/08/29 09:03:40 kato Exp $
*/
#ifndef _SYS_SYSCTL_H_
@@ -380,7 +380,6 @@ int sysctl_handle_opaque SYSCTL_HANDLER_ARGS;
#ifdef KERNEL
-extern char cpu_model[];
extern char machine[];
extern char osrelease[];
extern char ostype[];