aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-07-13 19:09:23 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-07-13 19:09:23 +0000
commit2021c8d296ff2d3bfaef27ece005c00c8540c7af (patch)
tree5b488ae86f163e4c7d14c4643c8fd5fe680baac6 /gcc/system.h
parent8dd8d754d21c2828e605ee4d9e2f39a2f7cdf0c5 (diff)
downloadgcc-2021c8d296ff2d3bfaef27ece005c00c8540c7af.zip
gcc-2021c8d296ff2d3bfaef27ece005c00c8540c7af.tar.gz
gcc-2021c8d296ff2d3bfaef27ece005c00c8540c7af.tar.bz2
* system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
From-SVN: r35020
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index d5fb4d2..410c280 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -610,4 +610,9 @@ extern void abort PARAMS ((void));
#define UNION_INIT_ZERO
#endif
+/* GCC now gives implicit declaration warnings for undeclared builtins. */
+#if defined(__GNUC__) && defined (__SIZE_TYPE__)
+extern void *alloca (__SIZE_TYPE__);
+#endif
+
#endif /* __GCC_SYSTEM_H__ */