projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
428f226
)
Don't declare alloca.
author
Richard Stallman
<rms@gnu.org>
Sun, 22 Oct 1995 17:47:13 +0000
(17:47 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sun, 22 Oct 1995 17:47:13 +0000
(17:47 +0000)
regex.c
patch
|
blob
|
history
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__ */