]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Assume errno.h declares errno.
authorBruno Haible <bruno@clisp.org>
Sat, 17 Jun 2006 15:57:31 +0000 (15:57 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:24 +0000 (12:13 +0200)
gettext-tools/lib/ChangeLog
gettext-tools/lib/strtol.c
gettext-tools/lib/unsetenv.c
gettext-tools/lib/xgetcwd.c
gettext-tools/lib/xreadlink.c

index 27638c6d691521b9a0334586549ae02cbf9299d1..5f7bf498f95d822752433ce2aeecfd34e657bd67 100644 (file)
@@ -1,3 +1,13 @@
+2006-06-17  Bruno Haible  <bruno@clisp.org>
+
+       * xgetcwd.c: Assume errno.h declares errno.
+       * xreadlink.c: Likewise.
+
+2006-06-16  Eric Blake  <ebb9@byu.net>
+
+       * unsetenv.c [!defined errno]: Assume errno.h declares errno.
+       * strtol.c [!defined errno]: Likewise.
+
 2006-06-04  Bruno Haible  <bruno@clisp.org>
 
        * gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Parenthesize.
index 15d510a07497c1338a666c0c69fc98af48cec955..8a547ac15f48efda361b7e9f49fbece429d28d6f 100644 (file)
@@ -1,6 +1,6 @@
 /* Convert string representation of a number into an integer value.
 
-   Copyright (C) 1991-1992, 1994-1999, 2003, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1991-1992, 1994-1999, 2003, 2005-2006 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@gnu.org.
@@ -29,9 +29,6 @@
 
 #include <ctype.h>
 #include <errno.h>
-#ifndef errno
-extern int errno;
-#endif
 #ifndef __set_errno
 # define __set_errno(Val) errno = (Val)
 #endif
index 6e6aaae10c0d1b90ea61d2eb0ebf0682a13f6f54..239d7a7e72702e2254cd0c946f6c231f097bc059 100644 (file)
@@ -22,9 +22,6 @@
 
 #include <errno.h>
 #if !_LIBC
-# if !defined errno && !defined HAVE_ERRNO_DECL
-extern int errno;
-# endif
 # define __set_errno(ev) ((errno) = (ev))
 #endif
 
index ecb51b725143e9154ef0f817a308df013348f6a7..f7998412e6c7d8436c6c9405aa24f7bf1de9fd8a 100644 (file)
 #include <stdlib.h>
 #include <stdio.h>
 #include <errno.h>
-#ifndef errno
-extern int errno;
-#endif
-
 #include <sys/types.h>
 #include <unistd.h>
 
index bb190fe2857fc94b2c1be252865b21e637bda99a..fd79da1ce2a432690d655be2953b5ab536185135 100644 (file)
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>
-#ifndef errno
-extern int errno;
-#endif
-
 #include <limits.h>
 #include <sys/types.h>
 #if HAVE_STDLIB_H