changeset 13273:335d844a2f05

Don't declare alloca.
author Richard M. Stallman <rms@gnu.org>
date Sun, 22 Oct 1995 17:47:13 +0000
parents 7ee88c335076
children 712386e1abe0
files src/regex.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/regex.c	Sun Oct 22 16:57:54 1995 +0000
+++ b/src/regex.c	Sun Oct 22 17:47:13 1995 +0000
@@ -237,9 +237,11 @@
 #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__ */