Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/freebsd Add a SYSCTL_SETUP_PROTO() so that it com...
details: https://anonhg.NetBSD.org/src/rev/d52b14746028
branches: trunk
changeset: 583973:d52b14746028
user: rpaulo <rpaulo%NetBSD.org@localhost>
date: Fri Sep 02 14:34:00 2005 +0000
description:
Add a SYSCTL_SETUP_PROTO() so that it compiles fine in the lkm.
diffstat:
sys/compat/freebsd/freebsd_sysctl.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 44aa411748f7 -r d52b14746028 sys/compat/freebsd/freebsd_sysctl.c
--- a/sys/compat/freebsd/freebsd_sysctl.c Fri Sep 02 14:16:50 2005 +0000
+++ b/sys/compat/freebsd/freebsd_sysctl.c Fri Sep 02 14:34:00 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: freebsd_sysctl.c,v 1.2 2005/02/26 23:10:18 perry Exp $ */
+/* $NetBSD: freebsd_sysctl.c,v 1.3 2005/09/02 14:34:00 rpaulo Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: freebsd_sysctl.c,v 1.2 2005/02/26 23:10:18 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: freebsd_sysctl.c,v 1.3 2005/09/02 14:34:00 rpaulo Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -65,6 +65,7 @@
static int freebsd_sysctl_name2oid(char *, int *, int *);
+SYSCTL_SETUP_PROTO(freebsd_sysctl_setup);
SYSCTL_SETUP(freebsd_sysctl_setup, "freebsd emulated sysctl setup")
{
sysctl_createv(clog, 0, NULL, NULL,
Home |
Main Index |
Thread Index |
Old Index