summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortodd <todd@openbsd.org>1998-06-27 20:01:08 +0000
committertodd <todd@openbsd.org>1998-06-27 20:01:08 +0000
commitfcdab1dfa1052f1c14b438da0426c8fa05f33d40 (patch)
tree7be2a743b1f4a75c942df57900ef1bee47ff0466
parentktrace not trace (diff)
downloadwireguard-openbsd-fcdab1dfa1052f1c14b438da0426c8fa05f33d40.tar.xz
wireguard-openbsd-fcdab1dfa1052f1c14b438da0426c8fa05f33d40.zip
functions go under #ifdef _KERNEL for X; thanks matthieu for the pointer!
-rw-r--r--sys/arch/sparc/include/kbd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/kbd.h b/sys/arch/sparc/include/kbd.h
index 74279bcb80d..5c28aa80210 100644
--- a/sys/arch/sparc/include/kbd.h
+++ b/sys/arch/sparc/include/kbd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: kbd.h,v 1.3 1997/08/08 08:26:27 downsj Exp $ */
+/* $OpenBSD: kbd.h,v 1.4 1998/06/27 20:01:08 todd Exp $ */
/* $NetBSD: kbd.h,v 1.6 1996/03/31 22:21:35 pk Exp $ */
/*
@@ -88,6 +88,7 @@
#define LED_SCROLL_LOCK 0x4
#define LED_CAPS_LOCK 0x8
+#ifdef _KERNEL
void kbd_serial __P((struct tty *,
void (*)(struct tty *), void (*)(struct tty *)));
void ms_serial __P((struct tty *,
@@ -96,3 +97,4 @@ void kbd_rint __P((int));
void ms_rint __P((int));
void kbd_ascii __P((struct tty *));
int kbd_docmd __P((int, int));
+#endif