diff options
author | assar <assar@cvs.openbsd.org> | 2000-02-01 04:03:15 +0000 |
---|---|---|
committer | assar <assar@cvs.openbsd.org> | 2000-02-01 04:03:15 +0000 |
commit | 97e9f8613f259514f29dbbb598f1efd17e07d885 (patch) | |
tree | e5f0d871642155fc06d4761c95bc2fe1ab5a6cb5 /sys | |
parent | 25f743a40b7db1a82fef13fc339c6c000ad7dc61 (diff) |
remove superflous declaration of vnops, it's now in <sys/file.h>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/exec_script.c | 3 | ||||
-rw-r--r-- | sys/kern/kern_exec.c | 3 | ||||
-rw-r--r-- | sys/kern/vfs_syscalls.c | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/sys/kern/exec_script.c b/sys/kern/exec_script.c index 7c27c632eaa..5dd95822722 100644 --- a/sys/kern/exec_script.c +++ b/sys/kern/exec_script.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_script.c,v 1.9 1999/10/18 17:07:11 deraadt Exp $ */ +/* $OpenBSD: exec_script.c,v 1.10 2000/02/01 04:03:14 assar Exp $ */ /* $NetBSD: exec_script.c,v 1.13 1996/02/04 02:15:06 christos Exp $ */ /* @@ -166,7 +166,6 @@ check_shell: #endif ) { struct file *fp; - extern struct fileops vnops; #if defined(DIAGNOSTIC) && defined(FDSCRIPTS) if (epp->ep_flags & EXEC_HASFD) diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index a3e3e679bde..ae5a6017794 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exec.c,v 1.38 2000/01/24 22:44:58 mickey Exp $ */ +/* $OpenBSD: kern_exec.c,v 1.39 2000/02/01 04:03:14 assar Exp $ */ /* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */ /*- @@ -539,7 +539,6 @@ sys_execve(p, v, retval) */ if (fp == NULL) { short flags = FREAD | (i == 0 ? 0 : FWRITE); - extern struct fileops vnops; struct nameidata nd; int indx; diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 50bb7cba61c..dca9f9033d6 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_syscalls.c,v 1.60 1999/12/06 07:28:06 art Exp $ */ +/* $OpenBSD: vfs_syscalls.c,v 1.61 2000/02/01 04:03:14 assar Exp $ */ /* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */ /* @@ -867,7 +867,6 @@ sys_open(p, v, retval) int type, indx, error, localtrunc = 0; struct flock lf; struct nameidata nd; - extern struct fileops vnops; if ((error = falloc(p, &nfp, &indx)) != 0) return (error); |