diff options
| author | 2002-03-14 20:31:30 +0000 | |
|---|---|---|
| committer | 2002-03-14 20:31:30 +0000 | |
| commit | e0e4159ad32d44b73b29285bdb21e8ffdeec2772 (patch) | |
| tree | 49b10c734fc816b77fab557b72b52a56666f8e90 /sys/compat/linux/linux_misc.c | |
| parent | Remove a bunch of #if 0 code (diff) | |
| download | wireguard-openbsd-e0e4159ad32d44b73b29285bdb21e8ffdeec2772.tar.xz wireguard-openbsd-e0e4159ad32d44b73b29285bdb21e8ffdeec2772.zip | |
remove ambiguity in version,ostype,osversion,osrelease and their constanity, they are and declarre 'em accordingly also removing private externies of those
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
| -rw-r--r-- | sys/compat/linux/linux_misc.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 0d72112a04a..17ed62e7b22 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_misc.c,v 1.41 2002/03/14 01:26:50 millert Exp $ */ +/* $OpenBSD: linux_misc.c,v 1.42 2002/03/14 20:31:31 mickey Exp $ */ /* $NetBSD: linux_misc.c,v 1.27 1996/05/20 01:59:21 fvdl Exp $ */ /* @@ -521,8 +521,7 @@ linux_sys_uname(p, v, retval) struct linux_sys_uname_args /* { syscallarg(struct linux_utsname *) up; } */ *uap = v; - extern char ostype[], hostname[], osrelease[], version[], machine[], - domainname[]; + extern char hostname[], machine[], domainname[]; struct linux_utsname luts; int len; char *cp; @@ -558,7 +557,7 @@ linux_sys_olduname(p, v, retval) struct linux_sys_uname_args /* { syscallarg(struct linux_oldutsname *) up; } */ *uap = v; - extern char ostype[], hostname[], osrelease[], version[], machine[]; + extern char hostname[], machine[]; struct linux_oldutsname luts; int len; char *cp; @@ -587,7 +586,7 @@ linux_sys_oldolduname(p, v, retval) struct linux_sys_uname_args /* { syscallarg(struct linux_oldoldutsname *) up; } */ *uap = v; - extern char ostype[], hostname[], osrelease[], version[], machine[]; + extern char hostname[], machine[]; struct linux_oldoldutsname luts; int len; char *cp; |
