Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/common Kill needless nested extern of vec_compat_...
details: https://anonhg.NetBSD.org/src/rev/6b7d240a36e7
branches: trunk
changeset: 825743:6b7d240a36e7
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat Jul 29 04:08:47 2017 +0000
description:
Kill needless nested extern of vec_compat_cvtcmd/ioctl.
Already declared in if_43.h.
diffstat:
sys/compat/common/if_43.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 1d0f2ab55bfa -r 6b7d240a36e7 sys/compat/common/if_43.c
--- a/sys/compat/common/if_43.c Sat Jul 29 04:02:49 2017 +0000
+++ b/sys/compat/common/if_43.c Sat Jul 29 04:08:47 2017 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index