summaryrefslogtreecommitdiff
path: root/lib/unsetenv.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/unsetenv.c
parent4a64397b5b568bf0e6c0e4a41e5d98dd7352b0d4 (diff)
downloadgnulib-81e61b220d430779361b384b360b58a711cfd046.tar.gz
Split setenv module into setenv and unsetenv. Get rid of setenv.h.
Diffstat (limited to 'lib/unsetenv.c')
-rw-r--r--lib/unsetenv.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/unsetenv.c b/lib/unsetenv.c
index 90b8449126..c783997a2b 100644
--- a/lib/unsetenv.c
+++ b/lib/unsetenv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992,1995-1999,2000-2002,2005-2006 Free Software Foundation, Inc.
+/* Copyright (C) 1992,1995-1999,2000-2002,2005-2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free software: you can redistribute it and/or modify
@@ -16,12 +16,14 @@
#include <config.h>
+/* Specification. */
+#include <stdlib.h>
+
#include <errno.h>
#if !_LIBC
# define __set_errno(ev) ((errno) = (ev))
#endif
-#include <stdlib.h>
#include <string.h>
#include <unistd.h>