summaryrefslogtreecommitdiff
path: root/lib/setenv.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-12-26 16:20:10 +0100
committerBruno Haible <bruno@clisp.org>2007-12-26 16:20:10 +0100
commit81e61b220d430779361b384b360b58a711cfd046 (patch)
tree5e388b00e0d3ff987282eb77d27c951db1305fc6 /lib/setenv.c
parent4a64397b5b568bf0e6c0e4a41e5d98dd7352b0d4 (diff)
downloadgnulib-81e61b220d430779361b384b360b58a711cfd046.tar.gz
Split setenv module into setenv and unsetenv. Get rid of setenv.h.
Diffstat (limited to 'lib/setenv.c')
-rw-r--r--lib/setenv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/setenv.c b/lib/setenv.c
index 75488be0b1..ea1d1167ff 100644
--- a/lib/setenv.c
+++ b/lib/setenv.c
@@ -19,12 +19,14 @@
#endif
#include <alloca.h>
+/* Specification. */
+#include <stdlib.h>
+
#include <errno.h>
#ifndef __set_errno
# define __set_errno(ev) ((errno) = (ev))
#endif
-#include <stdlib.h>
#include <string.h>
#if _LIBC || HAVE_UNISTD_H
# include <unistd.h>