summaryrefslogtreecommitdiff
path: root/fixincludes
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-06 19:31:13 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-06 19:31:13 +0000
commit813813f68c54fc9cb3497c4b46fdd4833ad41e31 (patch)
tree74253eee5dcbd5e031d3d33fead0a97e912bd28a /fixincludes
parent0c87fb2bac12c51b593a6196dc17aa0b9a0aba7b (diff)
downloadgcc-813813f68c54fc9cb3497c4b46fdd4833ad41e31.tar.gz
2009-01-06 Andreas Tobler <a.tobler@schweiz.org>
* tests/base/locale.h: Add new test. * tests/base/stdarg.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143129 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes')
-rw-r--r--fixincludes/ChangeLog5
-rw-r--r--fixincludes/tests/base/locale.h25
-rw-r--r--fixincludes/tests/base/stdarg.h14
3 files changed, 44 insertions, 0 deletions
diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog
index 5d54b772cd9..ca308109296 100644
--- a/fixincludes/ChangeLog
+++ b/fixincludes/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-06 Andreas Tobler <a.tobler@schweiz.org>
+
+ * tests/base/locale.h: Add new test.
+ * tests/base/stdarg.h: Likewise.
+
2009-01-05 Steve Ellcey <sje@cup.hp.com>
* inclhack.def (hpux_spu_info): Add files line.
diff --git a/fixincludes/tests/base/locale.h b/fixincludes/tests/base/locale.h
new file mode 100644
index 00000000000..7a7273e1053
--- /dev/null
+++ b/fixincludes/tests/base/locale.h
@@ -0,0 +1,25 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/locale.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( OPENBSD_NULL_DEFINITION_CHECK )
+#ifndef NULL
+#ifdef __cplusplus
+#ifdef __GNUG__
+#define NULL __null
+#else /* ! __GNUG__ */
+#define NULL 0L
+#endif /* __GNUG__ */
+#else /* ! __cplusplus */
+#define NULL ((void *)0)
+#endif /* __cplusplus */
+#endif /* !NULL */
+
+#endif /* OPENBSD_NULL_DEFINITION_CHECK */
diff --git a/fixincludes/tests/base/stdarg.h b/fixincludes/tests/base/stdarg.h
new file mode 100644
index 00000000000..686d0b3d6ea
--- /dev/null
+++ b/fixincludes/tests/base/stdarg.h
@@ -0,0 +1,14 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/stdarg.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( OPENBSD_VA_START_CHECK )
+#define va_start(v,l) __builtin_va_start((v),l)
+#endif /* OPENBSD_VA_START_CHECK */