X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsetenv.c;h=320469b86309b0b9221e0ba80d5fb749a3441c9c;hb=e57dfac3355164cfbfcb5473a42130dab793fe9f;hp=c3f9dc4ca4495c75803fda6de49581c335310bfd;hpb=cca613ab9274178a7655f1974539428f25728f72;p=gnulib.git diff --git a/lib/setenv.c b/lib/setenv.c index c3f9dc4ca..320469b86 100644 --- a/lib/setenv.c +++ b/lib/setenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992,1995-1999,2000-2003 Free Software Foundation, Inc. +/* Copyright (C) 1992,1995-1999,2000-2004 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 @@ -21,10 +21,7 @@ #include #include -#if !_LIBC -# if !defined errno && !defined HAVE_ERRNO_DECL -extern int errno; -# endif +#ifndef __set_errno # define __set_errno(ev) ((errno) = (ev)) #endif