OSDN Git Service

* system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Jul 2000 19:09:23 +0000 (19:09 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Jul 2000 19:09:23 +0000 (19:09 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35020 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/system.h

index 355eb2e..13a1509 100644 (file)
@@ -1,3 +1,7 @@
+2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
+
 2000-07-13  Jakub Jelinek  <jakub@redhat.com>
 
        * calls.c (stored_args_map): New variable.
index d5fb4d2..410c280 100644 (file)
@@ -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__ */