aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorMichael Sokolov <msokolov@ivan.Harhan.ORG>2000-12-13 17:44:01 +0000
committerDJ Delorie <dj@redhat.com>2000-12-13 17:44:01 +0000
commit4ecac730def7a1b2f6616383175fc9aa55d99afe (patch)
tree675f1d711037c7f899ed12097d4307c843444f63 /libiberty
parentfc08fa69f107da3358dd6ac8b0cfbab5e5e058a1 (diff)
* strtoul.c: Include safe-ctype.h, not ctype.h.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@38221 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/strtoul.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 6e2b3e98183..95b374f6548 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 ce969339bc2..66420f268b2 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 */