summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2011-04-23 21:34:03 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2011-04-23 21:34:03 +0000
commitc08ce851773112d21abc50b092e2d43487bb2487 (patch)
tree925c75d97ee2ee4a357c6137fbc8af3b8bc3671f /sys
parentdd6c7d76b32b3023e279042674f165815c7e2f3e (diff)
Sysarch is for userland, not kernel.  ifdef _KERNEL -> ifndef _KERNEL
so that the userland actually gets the proto. OK kettenis@, miod@.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/include/sysarch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/include/sysarch.h b/sys/arch/alpha/include/sysarch.h
index c997e76734d..bcebc5fcb2f 100644
--- a/sys/arch/alpha/include/sysarch.h
+++ b/sys/arch/alpha/include/sysarch.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysarch.h,v 1.6 2011/03/23 16:54:34 pirofti Exp $ */
+/* $OpenBSD: sysarch.h,v 1.7 2011/04/23 21:34:02 martynas Exp $ */
/* $NetBSD: sysarch.h,v 1.8 2001/04/26 03:10:46 ross Exp $ */
/*-
@@ -54,8 +54,8 @@ struct alpha_fp_c_args {
uint64_t fp_c;
};
-#ifdef _KERNEL
+#ifndef _KERNEL
int sysarch(int, void *);
-#endif /* _KERNEL */
+#endif /* !_KERNEL */
#endif /* !_MACHINE_SYSARCH_H_ */