diff options
| author | Richard M. Stallman | 1995-10-22 17:47:13 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-10-22 17:47:13 +0000 |
| commit | f3c4387ff0653aac9289135e093cdffbae5664ce (patch) | |
| tree | b51840f6d4999a71cdcc5350ee5f530f013a6c6f | |
| parent | 8f21333af182a347d017bc73f362005f9cdc436d (diff) | |
| download | emacs-f3c4387ff0653aac9289135e093cdffbae5664ce.tar.gz emacs-f3c4387ff0653aac9289135e093cdffbae5664ce.zip | |
Don't declare alloca.
| -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 () | |||
| 237 | #if HAVE_ALLOCA_H | 237 | #if HAVE_ALLOCA_H |
| 238 | #include <alloca.h> | 238 | #include <alloca.h> |
| 239 | #else /* not __GNUC__ or HAVE_ALLOCA_H */ | 239 | #else /* not __GNUC__ or HAVE_ALLOCA_H */ |
| 240 | #if 0 /* It is a bad idea to declare alloca. We always cast the result. */ | ||
| 240 | #ifndef _AIX /* Already did AIX, up at the top. */ | 241 | #ifndef _AIX /* Already did AIX, up at the top. */ |
| 241 | char *alloca (); | 242 | char *alloca (); |
| 242 | #endif /* not _AIX */ | 243 | #endif /* not _AIX */ |
| 244 | #endif | ||
| 243 | #endif /* not HAVE_ALLOCA_H */ | 245 | #endif /* not HAVE_ALLOCA_H */ |
| 244 | #endif /* not __GNUC__ */ | 246 | #endif /* not __GNUC__ */ |
| 245 | 247 | ||