Mercurial > hg > octave-lyh > gnulib-hg
changeset 94:f23bd92520d1
*** empty log message ***
author | Jim Blandy <jimb@red-bean.com> |
---|---|
date | Wed, 16 Jun 1993 21:28:28 +0000 |
parents | 47f6db3dc567 |
children | ad83b095ae2b |
files | regex.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/regex.c +++ b/regex.c @@ -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