X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fputenv.c;h=69fb90be616c2de1ce2b86b8931c559f81288974;hb=de4caa547e2abf5700ed51435107086b8353a01b;hp=87c5522810ac60ad8b61bf2ad990810642c523ab;hpb=68900e91578c2f84454cb930afa3ef52a7483779;p=gnulib.git diff --git a/lib/putenv.c b/lib/putenv.c index 87c552281..69fb90be6 100644 --- a/lib/putenv.c +++ b/lib/putenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1994, 1997, 1998, 2000, 2003 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1994, 1997, 1998, 2000, 2003, 2004 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. @@ -15,7 +15,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #if HAVE_CONFIG_H # include @@ -26,10 +26,7 @@ /* Include errno.h *after* sys/types.h to work around header problems on AIX 3.2.5. */ #include -#if !_LIBC -# if !defined errno -extern int errno; -# endif +#ifndef __set_errno # define __set_errno(ev) ((errno) = (ev)) #endif