summaryrefslogtreecommitdiff
path: root/lib/strtol.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-06-17 16:09:19 +0000
committerBruno Haible <bruno@clisp.org>2006-06-17 16:09:19 +0000
commitcb72b5d9086e0ae3d9d5c787fd4af500d31f31c9 (patch)
tree03fd6feb8bea69c2b97af022659a954fa03f7a52 /lib/strtol.c
parent7bd0a963607e2e767e02862e7018fa053bbbdf12 (diff)
downloadgnulib-cb72b5d9086e0ae3d9d5c787fd4af500d31f31c9.tar.gz
From Eric Blake: Assume errno.h declares errno.
Diffstat (limited to 'lib/strtol.c')
-rw-r--r--lib/strtol.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/strtol.c b/lib/strtol.c
index 9bfbe3c1af..eda2d26998 100644
--- a/lib/strtol.c
+++ b/lib/strtol.c
@@ -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