summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2003-09-01 03:01:45 +0000
committerkan <kan@FreeBSD.org>2003-09-01 03:01:45 +0000
commit2a3875111de35589a5b32c989b813346172950d6 (patch)
tree97c2f41d6510c68c6f1deff00c6ebb626dfa04e7 /sys
parent0ff5af9151714f9f59c716b8ae6071de4c604cfc (diff)
downloadFreeBSD-src-2a3875111de35589a5b32c989b813346172950d6.zip
FreeBSD-src-2a3875111de35589a5b32c989b813346172950d6.tar.gz
Standardize idempotentcy ifdefs. Consistently use _MACHINE_VARARGS_H_
symbol.
Diffstat (limited to 'sys')
-rw-r--r--sys/alpha/include/varargs.h6
-rw-r--r--sys/amd64/include/varargs.h6
-rw-r--r--sys/i386/include/varargs.h6
-rw-r--r--sys/powerpc/include/varargs.h6
-rw-r--r--sys/sparc64/include/varargs.h6
5 files changed, 15 insertions, 15 deletions
diff --git a/sys/alpha/include/varargs.h b/sys/alpha/include/varargs.h
index f6a47f8..8565a3c 100644
--- a/sys/alpha/include/varargs.h
+++ b/sys/alpha/include/varargs.h
@@ -41,8 +41,8 @@
* $FreeBSD$
*/
-#ifndef _ALPHA_VARARGS_H_
-#define _ALPHA_VARARGS_H_
+#ifndef _MACHINE_VARARGS_H_
+#define _MACHINE_VARARGS_H_
#if defined(__GNUC__) && (__GNUC__ == 2 && __GNUC_MINOR__ > 95 || __GNUC__ >= 3)
@@ -80,4 +80,4 @@ typedef int __builtin_va_alist_t __attribute__((__mode__(__word__)));
#endif /* __GNUC__ post GCC 2.95 */
-#endif /* !_ALPHA_VARARGS_H_ */
+#endif /* !_MACHINE_VARARGS_H_ */
diff --git a/sys/amd64/include/varargs.h b/sys/amd64/include/varargs.h
index ce53976..1a58a47 100644
--- a/sys/amd64/include/varargs.h
+++ b/sys/amd64/include/varargs.h
@@ -40,8 +40,8 @@
* $FreeBSD$
*/
-#ifndef _VARARGS_H_
-#define _VARARGS_H_
+#ifndef _MACHINE_VARARGS_H_
+#define _MACHINE_VARARGS_H_
#if defined(__GNUC__) && (__GNUC__ == 2 && __GNUC_MINOR__ > 95 || __GNUC__ >= 3)
@@ -86,4 +86,4 @@ typedef char *va_list;
#endif /* __GNUC__ post GCC 2.95 */
-#endif /* !_VARARGS_H_ */
+#endif /* !_MACHINE_VARARGS_H_ */
diff --git a/sys/i386/include/varargs.h b/sys/i386/include/varargs.h
index ce53976..1a58a47 100644
--- a/sys/i386/include/varargs.h
+++ b/sys/i386/include/varargs.h
@@ -40,8 +40,8 @@
* $FreeBSD$
*/
-#ifndef _VARARGS_H_
-#define _VARARGS_H_
+#ifndef _MACHINE_VARARGS_H_
+#define _MACHINE_VARARGS_H_
#if defined(__GNUC__) && (__GNUC__ == 2 && __GNUC_MINOR__ > 95 || __GNUC__ >= 3)
@@ -86,4 +86,4 @@ typedef char *va_list;
#endif /* __GNUC__ post GCC 2.95 */
-#endif /* !_VARARGS_H_ */
+#endif /* !_MACHINE_VARARGS_H_ */
diff --git a/sys/powerpc/include/varargs.h b/sys/powerpc/include/varargs.h
index 26d8a93..8bbf2ca 100644
--- a/sys/powerpc/include/varargs.h
+++ b/sys/powerpc/include/varargs.h
@@ -28,8 +28,8 @@
* $FreeBSD$
*/
-#ifndef _POWERPC_VARARGS_H_
-#define _POWERPC_VARARGS_H_
+#ifndef _MACHINE_VARARGS_H_
+#define _MACHINE_VARARGS_H_
#if defined(__GNUC__) && (__GNUC__ == 2 && __GNUC_MINOR__ > 95 || __GNUC__ >= 3)
@@ -69,4 +69,4 @@ typedef int __builtin_va_alist_t __attribute__((__mode__(__word__)));
#endif /* __GNUC__ post GCC 2.95 */
-#endif /* _POWERPC_VARARGS_H_ */
+#endif /* _MACHINE_VARARGS_H_ */
diff --git a/sys/sparc64/include/varargs.h b/sys/sparc64/include/varargs.h
index 7ee2a58..c9403ee 100644
--- a/sys/sparc64/include/varargs.h
+++ b/sys/sparc64/include/varargs.h
@@ -49,6 +49,9 @@
* $FreeBSD$
*/
+#ifndef _MACHINE_VARARGS_H_
+#define _MACHINE_VARARGS_H_
+
#if defined(__GNUC__) && (__GNUC__ == 2 && __GNUC_MINOR__ > 95 || __GNUC__ >= 3)
#include <sys/_types.h>
@@ -68,9 +71,6 @@ typedef int __builtin_va_alist_t __attribute__((__mode__(__word__)));
#else /* ! __GNUC__ post GCC 2.95 */
-#ifndef _MACHINE_VARARGS_H_
-#define _MACHINE_VARARGS_H_
-
#include <machine/stdarg.h>
#if __GNUC__ == 1
OpenPOWER on IntegriCloud