inclhack.def (libc1_G_va_list): Correct test_text.
authorHans-Peter Nilsson <hp@bitrange.com>
Sun, 27 Oct 2002 17:58:36 +0000 (17:58 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Sun, 27 Oct 2002 17:58:36 +0000 (17:58 +0000)
* fixinc/inclhack.def (libc1_G_va_list): Correct test_text.
* fixinc/tests/base/_G_config.h: New file.

From-SVN: r58585

gcc/ChangeLog
gcc/fixinc/inclhack.def
gcc/fixinc/tests/base/_G_config.h [new file with mode: 0644]

index 7d1ef858a0073e7847c4ccfd834311cd0f833dac..caba3b39300c36cfbd1e7228c093a6c2da1db539 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-27  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * fixinc/inclhack.def (libc1_G_va_list): Correct test_text.
+       * fixinc/tests/base/_G_config.h: New file.
+
 2002-10-27  Kazu Hirata  <kazu@cs.umass.edu>
 
        * combine.c: Fix comment formatting.
index 677b3cc147ae590ea36fae87999fd6933fd2e223..f332965da06992bbf6493a34811e819605cc6921 100644 (file)
@@ -1491,7 +1491,7 @@ fix = {
     select   = 'typedef void \* _G_va_list;';
     c_fix     = format;
     c_fix_arg = "typedef __builtin_va_list _G_va_list;";
-    test_text = 'typedef __builtin_va_list _G_va_list;';
+    test_text = 'typedef void * _G_va_list;';
 };
 
 
diff --git a/gcc/fixinc/tests/base/_G_config.h b/gcc/fixinc/tests/base/_G_config.h
new file mode 100644 (file)
index 0000000..99f0c82
--- /dev/null
@@ -0,0 +1,14 @@
+/*  DO NOT EDIT THIS FILE.
+
+    It has been auto-edited by fixincludes from:
+
+       "fixinc/tests/inc/_G_config.h"
+
+    This had to be done to correct non-standard usages in the
+    original, manufacturer supplied header file.  */
+
+
+
+#if defined( LIBC1_G_VA_LIST_CHECK )
+typedef __builtin_va_list _G_va_list;
+#endif  /* LIBC1_G_VA_LIST_CHECK */