Mercurial > hg > octave-jordi > gnulib-hg
diff lib/mountlist.c @ 4666:bb2816d0923f
Remove K&R cruft.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 09 Sep 2003 22:41:13 +0000 |
parents | a61e996662a3 |
children | da9adb0ac598 |
line wrap: on
line diff
--- a/lib/mountlist.c +++ b/lib/mountlist.c @@ -21,18 +21,9 @@ #include <stdio.h> #include <sys/types.h> - +#include <stdlib.h> +#include <string.h> -#ifdef STDC_HEADERS -# include <stdlib.h> -#else -void free (); -#endif -#if defined STDC_HEADERS || defined HAVE_STRING_H -# include <string.h> -#else -# include <strings.h> -#endif #include "xalloc.h" #ifndef strstr