From Eric Blake: Assume errno.h declares errno.
authorBruno Haible <bruno@clisp.org>
Sat, 17 Jun 2006 16:09:19 +0000 (16:09 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 17 Jun 2006 16:09:19 +0000 (16:09 +0000)
lib/ChangeLog
lib/strtol.c
lib/unicodeio.c
lib/unsetenv.c

index 9fb9ad9a58dd96e386589a7e9b9744479d99046e..df1e51eb32a382dbed9d5a946340297e380e2584 100644 (file)
@@ -1,3 +1,9 @@
+2006-06-16  Eric Blake  <ebb9@byu.net>
+
+       * unsetenv.c [!defined errno]: Assume errno.h declares errno.
+       * unicodeio.c [!defined errno]: Likewise.
+       * strtol.c [!defined errno]: Likewise.
+
 2006-06-15  Bruno Haible  <bruno@clisp.org>
 
        * stdint_.h: Rewritten to be fully auto-configured.
index 9bfbe3c1af65e532448cb93c34445cbb6443a213..eda2d2699853471d31919a0dc86c56e82a38cdaf 100644 (file)
@@ -1,6 +1,6 @@
 /* Convert string representation of a number into an integer value.
 
-   Copyright (C) 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2003, 2005
+   Copyright (C) 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2003, 2005, 2006
    Free Software Foundation, Inc.
 
    NOTE: The canonical source of this file is maintained with the GNU C
@@ -30,9 +30,6 @@
 
 #include <ctype.h>
 #include <errno.h>
-#ifndef errno
-extern int errno;
-#endif
 #ifndef __set_errno
 # define __set_errno(Val) errno = (Val)
 #endif
index 42f467c31d401cc3723b662ff3e02a6a3172f134..54cae5530e963d141249ac0b9736563b5aa4f3e2 100644 (file)
@@ -1,6 +1,6 @@
 /* Unicode character output to streams with locale dependent encoding.
 
-   Copyright (C) 2000-2003 Free Software Foundation, Inc.
+   Copyright (C) 2000-2003, 2006 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include <stdio.h>
 #include <string.h>
-
 #include <errno.h>
-#ifndef errno
-extern int errno;
-#endif
 
 #if HAVE_ICONV
 # include <iconv.h>
index 884aa028e63b6c8816865c02fcb3bba89f0c0c8b..b26bd8dc9e03a3401dad726e2ea671ac237471d6 100644 (file)
@@ -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
@@ -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