Don't declare alloca.
authorRichard Stallman <rms@gnu.org>
Sun, 22 Oct 1995 17:47:13 +0000 (17:47 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 22 Oct 1995 17:47:13 +0000 (17:47 +0000)
regex.c

diff --git a/regex.c b/regex.c
index 455c6cfb05ed6f038635c6bb84bd71afbc1b7111..41f2cafa5393cb9e717020cd7b4d7311c96736e2 100644 (file)
--- a/regex.c
+++ b/regex.c
@@ -237,9 +237,11 @@ init_syntax_once ()
 #if HAVE_ALLOCA_H
 #include <alloca.h>
 #else /* not __GNUC__ or HAVE_ALLOCA_H */
+#if 0 /* It is a bad idea to declare alloca.  We always cast the result.  */
 #ifndef _AIX /* Already did AIX, up at the top.  */
 char *alloca ();
 #endif /* not _AIX */
+#endif
 #endif /* not HAVE_ALLOCA_H */ 
 #endif /* not __GNUC__ */