summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2017-07-29 04:08:47 +0000
committerriastradh <riastradh@NetBSD.org>2017-07-29 04:08:47 +0000
commitaeeecb653adfca21e8642ddc3fbf5f1ff55ea608 (patch)
tree3cb331e6098711a8e976f2ca156cebe0152bc8b6 /sys
parente8d0104618b545a82299b609a0e3149eb6c0138b (diff)
Kill needless nested extern of vec_compat_cvtcmd/ioctl.
Already declared in if_43.h.
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/common/if_43.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/compat/common/if_43.c b/sys/compat/common/if_43.c
index cb0d8ab9647..e68697878c1 100644
--- a/sys/compat/common/if_43.c
+++ b/sys/compat/common/if_43.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_43.c,v 1.13 2016/11/05 23:30:22 pgoyette Exp $ */
+/* $NetBSD: if_43.c,v 1.14 2017/07/29 04:08:47 riastradh Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1990, 1993
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_43.c,v 1.13 2016/11/05 23:30:22 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_43.c,v 1.14 2017/07/29 04:08:47 riastradh Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -289,9 +289,6 @@ static int (*orig_compat_ifioctl)(struct socket *, u_long, u_long,
void
if_43_init(void)
{
- extern u_long (*vec_compat_cvtcmd)(u_long);
- extern int (*vec_compat_ifioctl)(struct socket *, u_long, u_long,
- void *, struct lwp *);
orig_compat_cvtcmd = vec_compat_cvtcmd;
vec_compat_cvtcmd = compat_cvtcmd;