diff options
author | 2011-04-23 21:34:02 +0000 | |
---|---|---|
committer | 2011-04-23 21:34:02 +0000 | |
commit | 1540486af55b32c8068123ac309feab491efe5e4 (patch) | |
tree | 8571bc0b725f0cf952a26fc591275bffd91b314a | |
parent | Do not set kl_hub_widget[] default value more than once. Found the hard way (diff) | |
download | wireguard-openbsd-1540486af55b32c8068123ac309feab491efe5e4.tar.xz wireguard-openbsd-1540486af55b32c8068123ac309feab491efe5e4.zip |
Sysarch is for userland, not kernel. ifdef _KERNEL -> ifndef _KERNEL
so that the userland actually gets the proto.
OK kettenis@, miod@.
-rw-r--r-- | sys/arch/alpha/include/sysarch.h | 6 |
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_ */ |