Module Name: src
Committed By: riastradh
Date: Sat Jul 29 04:08:47 UTC 2017
Modified Files:
src/sys/compat/common: if_43.c
Log Message:
Kill needless nested extern of vec_compat_cvtcmd/ioctl.
Already declared in if_43.h.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/common/if_43.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/compat/common/if_43.c
diff -u src/sys/compat/common/if_43.c:1.13 src/sys/compat/common/if_43.c:1.14
--- src/sys/compat/common/if_43.c:1.13 Sat Nov 5 23:30:22 2016
+++ src/sys/compat/common/if_43.c Sat Jul 29 04:08:47 2017
@@ -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
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;