summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-06-29 21:07:53 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-06-29 21:07:53 +0000
commit422b9f4754b2de04629bdbf5ecd1b40c8866f6f6 (patch)
treec3be803abf3e50fc19260d68918e484205962abf
parent81b3bb1a38f5cfb4d0780c455bde2c195f7014fa (diff)
Add external declaration for osversion[]
-rw-r--r--sys/kern/kern_sysctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index 817925fa1e9..a502574dbe1 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sysctl.c,v 1.9 1996/06/29 21:04:21 tholo Exp $ */
+/* $OpenBSD: kern_sysctl.c,v 1.10 1996/06/29 21:07:52 tholo Exp $ */
/* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */
/*-
@@ -205,7 +205,7 @@ kern_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
struct proc *p;
{
int error, level, inthostid;
- extern char ostype[], osrelease[], version[];
+ extern char ostype[], osrelease[], osversion[], version[];
/* all sysctl names at this level are terminal */
if (namelen != 1 && !(name[0] == KERN_PROC || name[0] == KERN_PROF))