From 3bb5f8a2d6eb73981938e4e2d93e05ae4d1f9256 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 22 Oct 1995 17:47:13 +0000 Subject: Don't declare alloca. --- src/regex.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/regex.c b/src/regex.c index 455c6cfb05e..41f2cafa539 100644 --- a/src/regex.c +++ b/src/regex.c @@ -237,9 +237,11 @@ init_syntax_once () #if HAVE_ALLOCA_H #include #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__ */ -- cgit v1.2.1