Module Name:    src
Committed By:   mrg
Date:           Wed Apr 13 06:29:30 UTC 2011

Modified Files:
        src/sys/arch/x86/include: cpu.h

Log Message:
move the include sys/types.h xor stdbool.h to the top of the file,
so that "bool" will be present when used later in the file.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/x86/include/cpu.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/include/cpu.h
diff -u src/sys/arch/x86/include/cpu.h:1.31 src/sys/arch/x86/include/cpu.h:1.32
--- src/sys/arch/x86/include/cpu.h:1.31	Thu Feb 24 15:42:17 2011
+++ src/sys/arch/x86/include/cpu.h	Wed Apr 13 06:29:30 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: cpu.h,v 1.31 2011/02/24 15:42:17 jruoho Exp $	*/
+/*	$NetBSD: cpu.h,v 1.32 2011/04/13 06:29:30 mrg Exp $	*/
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -37,6 +37,12 @@
 #ifndef _X86_CPU_H_
 #define _X86_CPU_H_
 
+#if defined(_KERNEL) || defined(_STANDALONE)
+#include <sys/types.h>
+#else
+#include <stdbool.h>
+#endif /* _KERNEL || _STANDALONE */
+
 #if defined(_KERNEL) || defined(_KMEMUSER)
 #if defined(_KERNEL_OPT)
 #include "opt_xen.h"
@@ -435,12 +441,6 @@
 
 #endif /* _KERNEL || __KMEMUSER */
 
-#if defined(_KERNEL) || defined(_STANDALONE)
-#include <sys/types.h>
-#else
-#include <stdbool.h>
-#endif /* _KERNEL || _STANDALONE */
-
 /*
  * CTL_MACHDEP definitions.
  */

Reply via email to