From f28381080bf5e484b48e766fe5804017f9af5f57 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Sat, 17 Jun 2006 19:29:36 +0000 Subject: [PATCH] * strtod.c [!defined errno]: Assume errno.h declares errno. --- lib/ChangeLog | 1 + lib/strtod.c | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index df1e51eb32..8c9454d563 100644 --- 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 diff --git a/lib/strtod.c b/lib/strtod.c index 7b48754e43..b8aab679e9 100644 --- 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 -#ifndef errno -extern int errno; -#endif #include -- 2.30.2