changeset 6834:8094e7d61c3b

* strtod.c [!defined errno]: Assume errno.h declares errno.
author Eric Blake <ebb9@byu.net>
date Sat, 17 Jun 2006 19:29:36 +0000
parents e08e41a77833
children d238fb8227ce
files lib/ChangeLog lib/strtod.c
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -3,6 +3,7 @@
 	* unsetenv.c [!defined errno]: Assume errno.h declares errno.
 	* unicodeio.c [!defined errno]: Likewise.
 	* strtol.c [!defined errno]: Likewise.
+	* strtod.c [!defined errno]: Likewise.
 
 2006-06-15  Bruno Haible  <bruno@clisp.org>
 
--- a/lib/strtod.c
+++ b/lib/strtod.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1997, 1999, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1997, 1999, 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
@@ -19,9 +19,6 @@
 #endif
 
 #include <errno.h>
-#ifndef errno
-extern int errno;
-#endif
 
 #include <ctype.h>