diff options
| author | Jim Blandy | 1993-06-16 21:28:28 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-16 21:28:28 +0000 |
| commit | 74da500751595c23c5f4858a226eac86f38e4ea7 (patch) | |
| tree | 146d78076d088c34b677da63ce782f432ccd64e2 /src | |
| parent | 79f92720d1a131db42b6e72f35ef92c10f716cec (diff) | |
| download | emacs-74da500751595c23c5f4858a226eac86f38e4ea7.tar.gz emacs-74da500751595c23c5f4858a226eac86f38e4ea7.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/regex.c b/src/regex.c index 06c1bb0b72e..15ca91bc54a 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -46,6 +46,14 @@ | |||
| 46 | 46 | ||
| 47 | #else /* not emacs */ | 47 | #else /* not emacs */ |
| 48 | 48 | ||
| 49 | #ifdef STDC_HEADERS | ||
| 50 | #include <stdlib.h> | ||
| 51 | #else | ||
| 52 | char *malloc (); | ||
| 53 | char *realloc (); | ||
| 54 | #endif | ||
| 55 | |||
| 56 | |||
| 49 | /* We used to test for `BSTRING' here, but only GCC and Emacs define | 57 | /* We used to test for `BSTRING' here, but only GCC and Emacs define |
| 50 | `BSTRING', as far as I know, and neither of them use this code. */ | 58 | `BSTRING', as far as I know, and neither of them use this code. */ |
| 51 | #if HAVE_STRING_H || STDC_HEADERS | 59 | #if HAVE_STRING_H || STDC_HEADERS |
| @@ -63,14 +71,6 @@ | |||
| 63 | #include <strings.h> | 71 | #include <strings.h> |
| 64 | #endif | 72 | #endif |
| 65 | 73 | ||
| 66 | #ifdef STDC_HEADERS | ||
| 67 | #include <stdlib.h> | ||
| 68 | #else | ||
| 69 | char *malloc (); | ||
| 70 | char *realloc (); | ||
| 71 | #endif | ||
| 72 | |||
| 73 | |||
| 74 | /* Define the syntax stuff for \<, \>, etc. */ | 74 | /* Define the syntax stuff for \<, \>, etc. */ |
| 75 | 75 | ||
| 76 | /* This must be nonzero for the wordchar and notwordchar pattern | 76 | /* This must be nonzero for the wordchar and notwordchar pattern |