X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsetenv.c;h=3ed901b7cbe24ddaae81e0d9a9419ea4a5fe4850;hb=4c692979e6e60bc1fdb6a6ef5ae3f8b2e9600fc3;hp=d397753d9c45df584189d6cee2b367c98d6a774a;hpb=692c4b6ea764fd34a53142b53c53a2d54b33ae6a;p=gnulib.git diff --git a/lib/setenv.c b/lib/setenv.c index d397753d9..3ed901b7c 100644 --- a/lib/setenv.c +++ b/lib/setenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1995 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1995, 2000 Free Software Foundation, Inc. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu. @@ -19,23 +19,23 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H -#include +# include #endif #include #if _LIBC || HAVE_STDLIB_H -#include +# include #endif #if _LIBC || HAVE_STRING_H -#include +# include #endif #if _LIBC || HAVE_UNISTD_H -#include +# include #endif #ifndef HAVE_GNU_LD -#define __environ environ +# define __environ environ #endif int @@ -110,7 +110,8 @@ setenv (name, value, replace) } void -unsetenv (const char *name) +unsetenv (name) + const char *name; { const size_t len = strlen (name); char **ep;