summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-06-19 19:13:00 +0000
committerJim Meyering <jim@meyering.net>2006-06-19 19:13:00 +0000
commitbee8bb4c9bd1fa7550521f8964a52bc64a8e89f9 (patch)
treedf136e979696679d259834a071c3894f50896a61 /lib
parent050ec5cb29345afb71213ef17b780789b9673564 (diff)
downloadcoreutils-bee8bb4c9bd1fa7550521f8964a52bc64a8e89f9.tar.xz
Apply this change from gnulib:
2006-06-16 Eric Blake <ebb9@byu.net> * unsetenv.c [!defined errno]: Assume errno.h declares errno.
Diffstat (limited to 'lib')
-rw-r--r--lib/unsetenv.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/unsetenv.c b/lib/unsetenv.c
index f216440ce..b26bd8dc9 100644
--- a/lib/unsetenv.c
+++ b/lib/unsetenv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992,1995-1999,2000-2002,2005 Free Software Foundation, Inc.
+/* Copyright (C) 1992,1995-1999,2000-2002,2005-2006 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
@@ -13,7 +13,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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
#ifdef HAVE_CONFIG_H
# include <config.h>
@@ -21,9 +21,6 @@
#include <errno.h>
#if !_LIBC
-# if !defined errno && !defined HAVE_ERRNO_DECL
-extern int errno;
-# endif
# define __set_errno(ev) ((errno) = (ev))
#endif