diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-10 09:05:41 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-10 09:05:41 +0000 |
commit | 77438a47c0604d419777eed83a18d6f920e84ce4 (patch) | |
tree | fea85fba2ae05270f1ca37e77813fc14397f72df /lib/mountlist.c | |
parent | ec98adbc22bbb64e9c5cb0903da23f8ababf5702 (diff) | |
download | coreutils-77438a47c0604d419777eed83a18d6f920e84ce4.tar.xz |
Include <stdlib.h>, <string.h> unconditionally.
(free): Remove decl.
Diffstat (limited to 'lib/mountlist.c')
-rw-r--r-- | lib/mountlist.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/mountlist.c b/lib/mountlist.c index a2c1c2569..096593fb1 100644 --- 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 |