Commit 75444da7 by Michael Sokolov Committed by DJ Delorie

* strtoul.c: Include safe-ctype.h, not ctype.h.

From-SVN: r38221
parent c6d79bee
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> 2000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
* safe-ctype.c: New file. * safe-ctype.c: New file.
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#ifdef HAVE_SYS_PARAM_H #ifdef HAVE_SYS_PARAM_H
#include <sys/param.h> #include <sys/param.h>
#endif #endif
#include <ctype.h>
#include <errno.h> #include <errno.h>
#ifdef NEED_DECLARATION_ERRNO #ifdef NEED_DECLARATION_ERRNO
extern int errno; extern int errno;
...@@ -46,6 +45,7 @@ extern int errno; ...@@ -46,6 +45,7 @@ extern int errno;
#include <stdlib.h> #include <stdlib.h>
#endif #endif
#include "ansidecl.h" #include "ansidecl.h"
#include "safe-ctype.h"
#ifndef ULONG_MAX #ifndef ULONG_MAX
#define ULONG_MAX ((unsigned long)(~0L)) /* 0xFFFFFFFF */ #define ULONG_MAX ((unsigned long)(~0L)) /* 0xFFFFFFFF */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment