Module Name: src
Committed By: he
Date: Sun Sep 2 21:06:54 UTC 2012
Modified Files:
src/sys/dev/adb: adb_kbd.c
Log Message:
Move adbkbd_setup_sysctl() declaration to outside NWSMOUSE > 0, to
match the rest of the code.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/adb/adb_kbd.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/dev/adb/adb_kbd.c
diff -u src/sys/dev/adb/adb_kbd.c:1.19 src/sys/dev/adb/adb_kbd.c:1.20
--- src/sys/dev/adb/adb_kbd.c:1.19 Thu Aug 30 01:27:44 2012
+++ src/sys/dev/adb/adb_kbd.c Sun Sep 2 21:06:54 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: adb_kbd.c,v 1.19 2012/08/30 01:27:44 macallan Exp $ */
+/* $NetBSD: adb_kbd.c,v 1.20 2012/09/02 21:06:54 he Exp $ */
/*
* Copyright (C) 1998 Colin Wood
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adb_kbd.c,v 1.19 2012/08/30 01:27:44 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adb_kbd.c,v 1.20 2012/09/02 21:06:54 he Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -155,10 +155,11 @@ const struct wsmouse_accessops adbkms_ac
static int adbkbd_sysctl_mid(SYSCTLFN_ARGS);
static int adbkbd_sysctl_right(SYSCTLFN_ARGS);
static int adbkbd_sysctl_usb(SYSCTLFN_ARGS);
-static void adbkbd_setup_sysctl(struct adbkbd_softc *);
#endif /* NWSMOUSE > 0 */
+static void adbkbd_setup_sysctl(struct adbkbd_softc *);
+
#ifdef ADBKBD_DEBUG
#define DPRINTF printf
#else