From 1516f1d56c6fc74fa77596e78237ab7400cae4e2 Mon Sep 17 00:00:00 2001 From: jbj Date: Thu, 8 Oct 1998 10:40:27 +0000 Subject: configure using automake. CVS patchset: 2418 CVS date: 1998/10/08 10:40:27 --- misc/glob.c | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) (limited to 'misc/glob.c') diff --git a/misc/glob.c b/misc/glob.c index 886e837ef..8cfd3377a 100644 --- a/misc/glob.c +++ b/misc/glob.c @@ -32,7 +32,6 @@ Cambridge, MA 02139, USA. */ #if defined (_LIBC) || !defined (__GNU_LIBRARY__) - #ifdef STDC_HEADERS #include #endif @@ -69,18 +68,12 @@ extern int errno; #else /* No standard headers. */ #ifdef HAVE_STRING_H -#include #define ANSI_STRING -#else -#include #endif #ifdef HAVE_MEMORY_H #include #endif -extern char *malloc (), *realloc (); -extern void free (); - extern void qsort (); extern void abort (), exit (); @@ -152,21 +145,21 @@ extern char *alloca (); /* Some system header files erroneously define these. We want our own definitions from to take precedence. */ -#undef FNM_PATHNAME -#undef FNM_NOESCAPE -#undef FNM_PERIOD +#undef FNM_PATHNAME +#undef FNM_NOESCAPE +#undef FNM_PERIOD /* Some system header files erroneously define these. We want our own definitions from to take precedence. */ -#undef GLOB_ERR -#undef GLOB_MARK -#undef GLOB_NOSORT -#undef GLOB_DOOFFS -#undef GLOB_NOCHECK -#undef GLOB_APPEND -#undef GLOB_NOESCAPE -#undef GLOB_PERIOD - +#undef GLOB_ERR +#undef GLOB_MARK +#undef GLOB_NOSORT +#undef GLOB_DOOFFS +#undef GLOB_NOCHECK +#undef GLOB_APPEND +#undef GLOB_NOESCAPE +#undef GLOB_PERIOD + __ptr_t (*__glob_opendir_hook) __P ((const char *directory)); const char *(*__glob_readdir_hook) __P ((__ptr_t stream)); void (*__glob_closedir_hook) __P ((__ptr_t stream)); -- cgit v1.2.3