diff options
author | Michael Sokolov <msokolov@ivan.Harhan.ORG> | 2000-12-13 17:44:01 +0000 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2000-12-13 12:44:01 -0500 |
commit | 75444da78647e5721b21ef35ea99ea3aac56f46d (patch) | |
tree | 675f1d711037c7f899ed12097d4307c843444f63 /libiberty | |
parent | c6d79beefdcb198c33bc9bfe6390cfad142aac76 (diff) | |
download | gcc-75444da78647e5721b21ef35ea99ea3aac56f46d.zip gcc-75444da78647e5721b21ef35ea99ea3aac56f46d.tar.gz gcc-75444da78647e5721b21ef35ea99ea3aac56f46d.tar.bz2 |
* strtoul.c: Include safe-ctype.h, not ctype.h.
From-SVN: r38221
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 4 | ||||
-rw-r--r-- | libiberty/strtoul.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 6e2b3e9..95b374f 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> + + * strtoul.c: Include safe-ctype.h, not ctype.h. + 2000-12-07 Zack Weinberg <zack@wolery.stanford.edu> * safe-ctype.c: New file. diff --git a/libiberty/strtoul.c b/libiberty/strtoul.c index ce96933..66420f2 100644 --- a/libiberty/strtoul.c +++ b/libiberty/strtoul.c @@ -37,7 +37,6 @@ #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #endif -#include <ctype.h> #include <errno.h> #ifdef NEED_DECLARATION_ERRNO extern int errno; @@ -46,6 +45,7 @@ extern int errno; #include <stdlib.h> #endif #include "ansidecl.h" +#include "safe-ctype.h" #ifndef ULONG_MAX #define ULONG_MAX ((unsigned long)(~0L)) /* 0xFFFFFFFF */ |