X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsetenv.c;h=429f5f8fe88442b27d6a2592b1d178b29be18076;hb=aa8a4dc8a44f620ad72aa93b9af8a362659f1f1f;hp=d397753d9c45df584189d6cee2b367c98d6a774a;hpb=692c4b6ea764fd34a53142b53c53a2d54b33ae6a;p=gnulib.git diff --git a/lib/setenv.c b/lib/setenv.c index d397753d9..429f5f8fe 100644 --- a/lib/setenv.c +++ b/lib/setenv.c @@ -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;