diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-10-22 17:47:13 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-10-22 17:47:13 +0000 |
commit | 3bb5f8a2d6eb73981938e4e2d93e05ae4d1f9256 (patch) | |
tree | 5349f6928b488eaac69393a4c7a30965e5ce9f09 /src | |
parent | 27803b63bb424b6888cab32b91bedb705d0c9b4a (diff) | |
download | emacs-3bb5f8a2d6eb73981938e4e2d93e05ae4d1f9256.tar.gz |
Don't declare alloca.
Diffstat (limited to 'src')
-rw-r--r-- | src/regex.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <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__ */ |