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:
820c8fc
)
Include <stdlib.h> unconditionally.
author
Jim Meyering
<jim@meyering.net>
Wed, 10 Sep 2003 09:05:31 +0000
(09:05 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 10 Sep 2003 09:05:31 +0000
(09:05 +0000)
(malloc): Remove decl.
lib/modechange.c
patch
|
blob
|
history
diff --git
a/lib/modechange.c
b/lib/modechange.c
index
8cec11d
..
c9bdbe7
100644
(file)
--- a/
lib/modechange.c
+++ b/
lib/modechange.c
@@
-34,12
+34,7
@@
#include <sys/stat.h>
#include "xstrtol.h"
#include <stddef.h>
-
-#if STDC_HEADERS
-# include <stdlib.h>
-#else
-char *malloc ();
-#endif
+#include <stdlib.h>
#if STAT_MACROS_BROKEN
# undef S_ISDIR