diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-07 00:09:38 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-07 00:09:38 +0000 |
commit | a62be9f4039b4499cfbb76e394cad2259d03fa84 (patch) | |
tree | 5f444ac72b8b2418f2530af42b6c2fee823d18db /lib/setenv.c | |
parent | 4d52451995952d65b6772a7849e88866b3542157 (diff) | |
download | gnulib-a62be9f4039b4499cfbb76e394cad2259d03fa84.tar.gz |
Merge from coreutils.
Diffstat (limited to 'lib/setenv.c')
-rw-r--r-- | lib/setenv.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/setenv.c b/lib/setenv.c index c3f9dc4ca4..320469b863 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 <alloca.h> #include <errno.h> -#if !_LIBC -# if !defined errno && !defined HAVE_ERRNO_DECL -extern int errno; -# endif +#ifndef __set_errno # define __set_errno(ev) ((errno) = (ev)) #endif |