summaryrefslogtreecommitdiffstats
path: root/gcc/fixinc/tests/base/regexp.h
diff options
context:
space:
mode:
authorneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-04 19:30:11 +0000
committerneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-04 19:30:11 +0000
commit630af0399006b0eff9649a7d8668e18deb719899 (patch)
tree7d3d4ab38382944454f09661ff4af8d30cb78402 /gcc/fixinc/tests/base/regexp.h
parent274f0dda46bae97499b46c28c7061c864d6d1a6d (diff)
downloadppe42-gcc-630af0399006b0eff9649a7d8668e18deb719899.tar.gz
ppe42-gcc-630af0399006b0eff9649a7d8668e18deb719899.zip
* fixinc/inclhack.def (svr4_undeclared_getrnge): Introduce and enable.
* fixinc/inclhack.def (static_getrnge): Remove disabled hack. * fixinc/fixincl.x: Rebuild. * fixinc/tests/base/regexp.h: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70153 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc/tests/base/regexp.h')
-rw-r--r--gcc/fixinc/tests/base/regexp.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/fixinc/tests/base/regexp.h b/gcc/fixinc/tests/base/regexp.h
new file mode 100644
index 00000000000..35ec0494274
--- /dev/null
+++ b/gcc/fixinc/tests/base/regexp.h
@@ -0,0 +1,18 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/regexp.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( SVR4_UNDECLARED_GETRNGE_CHECK )
+static int size;
+static int getrnge ();
+/* stuff which calls getrnge() */
+static getrnge()
+{}
+#endif /* SVR4_UNDECLARED_GETRNGE_CHECK */
OpenPOWER on IntegriCloud