1998-07-17 Martin Baulig <martin@home-of-linux.org>
* strtol.c, strtoul.c (<ansidecl.h>): Removed. Using
`const' instead of `CONST'.
svn path=/trunk/; revision=283
+1998-07-17 Martin Baulig <martin@home-of-linux.org>
+
+ * strtol.c, strtoul.c (<ansidecl.h>): Removed. Using
+ `const' instead of `CONST'.
+
1998-07-15 Raja R Harinath <harinath@cs.umn.edu>
* gnomesupport.awk (gethostname): Emit declaration.
#if 0
#include <stdlib.h>
#endif
-#include "ansidecl.h"
/* FIXME: It'd be nice to configure around these, but the include files are too
painful. These macros should at least be more portable than hardwired hex
*/
long
strtol(nptr, endptr, base)
- CONST char *nptr;
+ const char *nptr;
char **endptr;
register int base;
{
- register CONST char *s = nptr;
+ register const char *s = nptr;
register unsigned long acc;
register int c;
register unsigned long cutoff;
#if 0
#include <stdlib.h>
#endif
-#include "ansidecl.h"
#ifndef ULONG_MAX
#define ULONG_MAX ((unsigned long)(~0L)) /* 0xFFFFFFFF */
*/
unsigned long
strtoul(nptr, endptr, base)
- CONST char *nptr;
+ const char *nptr;
char **endptr;
register int base;
{
- register CONST char *s = nptr;
+ register const char *s = nptr;
register unsigned long acc;
register int c;
register unsigned long cutoff;