projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec98adb
)
Include <stdlib.h>, <string.h> unconditionally.
author
Jim Meyering
<jim@meyering.net>
Wed, 10 Sep 2003 09:05:41 +0000
(09:05 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 10 Sep 2003 09:05:41 +0000
(09:05 +0000)
(free): Remove decl.
lib/mountlist.c
patch
|
blob
|
history
diff --git
a/lib/mountlist.c
b/lib/mountlist.c
index
a2c1c25
..
096593f
100644
(file)
--- 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