* safe-ctype.c: #include "ansidecl.h".
* strtod.c: Likewise. * strtoul.c: Include safe-ctype.h, not ctype.h.
This commit is contained in:
parent
780a49fab4
commit
f021637a75
4 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2000-12-16 Michael Sokolov <msokolov@ivan.Harhan.ORG>
|
||||||
|
|
||||||
|
* safe-ctype.c: #include "ansidecl.h".
|
||||||
|
* strtod.c: Likewise.
|
||||||
|
|
||||||
|
2000-12-16 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.
|
||||||
|
|
|
@ -29,6 +29,7 @@ Boston, MA 02111-1307, USA. */
|
||||||
- Behaves properly for all values in the range of a signed or
|
- Behaves properly for all values in the range of a signed or
|
||||||
unsigned char. */
|
unsigned char. */
|
||||||
|
|
||||||
|
#include "ansidecl.h"
|
||||||
#include <safe-ctype.h>
|
#include <safe-ctype.h>
|
||||||
#include <stdio.h> /* for EOF */
|
#include <stdio.h> /* for EOF */
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@ the resulting executable to be covered by the GNU General Public License.
|
||||||
This exception does not however invalidate any other reasons why
|
This exception does not however invalidate any other reasons why
|
||||||
the executable file might be covered by the GNU General Public License. */
|
the executable file might be covered by the GNU General Public License. */
|
||||||
|
|
||||||
|
#include "ansidecl.h"
|
||||||
#include "safe-ctype.h"
|
#include "safe-ctype.h"
|
||||||
|
|
||||||
extern double atof ();
|
extern double atof ();
|
||||||
|
|
|
@ -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;
|
||||||
#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 */
|
||||||
|
|
Loading…
Reference in a new issue