Mercurial > emacs
changeset 3766:d423b5ec9091
*** empty log message ***
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Wed, 16 Jun 1993 21:28:28 +0000 |
parents | bde2da377085 |
children | 660b7b4e3e40 |
files | src/regex.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/regex.c Wed Jun 16 21:26:47 1993 +0000 +++ b/src/regex.c Wed Jun 16 21:28:28 1993 +0000 @@ -46,6 +46,14 @@ #else /* not emacs */ +#ifdef STDC_HEADERS +#include <stdlib.h> +#else +char *malloc (); +char *realloc (); +#endif + + /* We used to test for `BSTRING' here, but only GCC and Emacs define `BSTRING', as far as I know, and neither of them use this code. */ #if HAVE_STRING_H || STDC_HEADERS @@ -63,14 +71,6 @@ #include <strings.h> #endif -#ifdef STDC_HEADERS -#include <stdlib.h> -#else -char *malloc (); -char *realloc (); -#endif - - /* Define the syntax stuff for \<, \>, etc. */ /* This must be nonzero for the wordchar and notwordchar pattern