summaryrefslogtreecommitdiff
path: root/fixincludes/tests
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2011-07-25 15:56:27 +0000
committerRainer Orth <ro@gcc.gnu.org>2011-07-25 15:56:27 +0000
commit9d7b2124158025c9b2939dd6651bf6cd95284d01 (patch)
tree424c40d91a22cc59cd12ad27c269c0c260a8c9c4 /fixincludes/tests
parentf4da258f520dd886a7a1dd9d1c4d71c02f68b46a (diff)
downloadgcc-9d7b2124158025c9b2939dd6651bf6cd95284d01.tar.gz
re PR c++/49347 (G++ rejects Solaris spawn.h use of __restrict)
PR c++/49347 * inclhack.def (solaris_posix_spawn_restrict): New fix. * fixincl.x: Regenerate. * tests/base/spawn.h: New test. From-SVN: r176758
Diffstat (limited to 'fixincludes/tests')
-rw-r--r--fixincludes/tests/base/spawn.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/fixincludes/tests/base/spawn.h b/fixincludes/tests/base/spawn.h
new file mode 100644
index 00000000000..6590f3b043d
--- /dev/null
+++ b/fixincludes/tests/base/spawn.h
@@ -0,0 +1,15 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/spawn.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( SOLARIS_POSIX_SPAWN_RESTRICT_CHECK )
+char *const *_RESTRICT_KYWD argv,
+char *const *_RESTRICT_KYWD envp);
+#endif /* SOLARIS_POSIX_SPAWN_RESTRICT_CHECK */