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:
07f3bfb
)
Update from gnulib.
author
Jim Meyering
<jim@meyering.net>
Sat, 13 Sep 2003 21:54:35 +0000
(21:54 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 13 Sep 2003 21:54:35 +0000
(21:54 +0000)
lib/setenv.c
patch
|
blob
|
history
diff --git
a/lib/setenv.c
b/lib/setenv.c
index
04073ca
..
f185e04
100644
(file)
--- a/
lib/setenv.c
+++ b/
lib/setenv.c
@@
-28,12
+28,8
@@
extern int errno;
# define __set_errno(ev) ((errno) = (ev))
#endif
-#if _LIBC || HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
-#if _LIBC || HAVE_STRING_H
-# include <string.h>
-#endif
+#include <stdlib.h>
+#include <string.h>
#if _LIBC || HAVE_UNISTD_H
# include <unistd.h>
#endif
@@
-284,7
+280,7
@@
setenv (const char *name, const char *value, int replace)
never made it. Nevertheless the POSIX.9 standard (POSIX bindings
for Fortran 77) requires this function. */
int
-clearenv ()
+clearenv (
void
)
{
LOCK;