summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1996-06-29 21:07:52 +0000
committertholo <tholo@openbsd.org>1996-06-29 21:07:52 +0000
commit8b7385e02d7e59ab6c813a06f021076c97f0509c (patch)
tree862e0645f0079b3c6aca3f61447736f46d457088
parentMove new KERN_OSVERSION sysctl request so binary compatibility with NetBSD (diff)
downloadwireguard-openbsd-8b7385e02d7e59ab6c813a06f021076c97f0509c.tar.xz
wireguard-openbsd-8b7385e02d7e59ab6c813a06f021076c97f0509c.zip
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))