diff options
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/cpufunc.h | 3 | ||||
-rw-r--r-- | sys/arch/amd64/include/sysarch.h | 7 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/amd64/include/cpufunc.h b/sys/arch/amd64/include/cpufunc.h index 1373e1712df..22a801393a0 100644 --- a/sys/arch/amd64/include/cpufunc.h +++ b/sys/arch/amd64/include/cpufunc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpufunc.h,v 1.7 2011/03/23 16:54:34 pirofti Exp $ */ +/* $OpenBSD: cpufunc.h,v 1.8 2012/12/05 23:20:10 deraadt Exp $ */ /* $NetBSD: cpufunc.h,v 1.3 2003/05/08 10:27:43 fvdl Exp $ */ /*- @@ -37,7 +37,6 @@ * Functions to provide access to i386-specific instructions. */ -#include <sys/cdefs.h> #include <sys/types.h> #include <machine/specialreg.h> diff --git a/sys/arch/amd64/include/sysarch.h b/sys/arch/amd64/include/sysarch.h index bebba9b3579..185a0837af9 100644 --- a/sys/arch/amd64/include/sysarch.h +++ b/sys/arch/amd64/include/sysarch.h @@ -1,11 +1,9 @@ -/* $OpenBSD: sysarch.h,v 1.11 2012/10/10 11:23:47 sthen Exp $ */ +/* $OpenBSD: sysarch.h,v 1.12 2012/12/05 23:20:10 deraadt Exp $ */ /* $NetBSD: sysarch.h,v 1.1 2003/04/26 18:39:48 fvdl Exp $ */ #ifndef _MACHINE_SYSARCH_H_ #define _MACHINE_SYSARCH_H_ -#include <sys/cdefs.h> - /* * Architecture specific syscalls (amd64) */ @@ -70,6 +68,9 @@ int amd64_iopl(struct proc *, void *, register_t *); int amd64_set_fsbase(struct proc *, void *); int amd64_get_fsbase(struct proc *, void *); #else + +#include <sys/cdefs.h> + __BEGIN_DECLS int amd64_iopl(int); int amd64_get_ioperm(u_long *); |