summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/exec_script.c3
-rw-r--r--sys/kern/kern_exec.c3
-rw-r--r--sys/kern/vfs_syscalls.c3
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);