From: Richard Stallman Date: Sun, 22 Oct 1995 17:47:13 +0000 (+0000) Subject: Don't declare alloca. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bb6a39fc3dd9d8a7a664aa4270d784c48bb2333;p=pspp Don't declare alloca. --- diff --git a/regex.c b/regex.c index 455c6cfb05..41f2cafa53 100644 --- a/regex.c +++ b/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__ */