Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/adb Move adbkbd_setup_sysctl() declaration to outsid...



details:   https://anonhg.NetBSD.org/src/rev/2d7f0479255f
branches:  trunk
changeset: 781380:2d7f0479255f
user:      he <he%NetBSD.org@localhost>
date:      Sun Sep 02 21:06:54 2012 +0000

description:
Move adbkbd_setup_sysctl() declaration to outside NWSMOUSE > 0, to
match the rest of the code.

diffstat:

 sys/dev/adb/adb_kbd.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r dfa7c26d54ab -r 2d7f0479255f sys/dev/adb/adb_kbd.c
--- a/sys/dev/adb/adb_kbd.c     Sun Sep 02 20:58:44 2012 +0000
+++ b/sys/dev/adb/adb_kbd.c     Sun Sep 02 21:06:54 2012 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index