From 3e44ab5f03d41e9652d41aee92ea2b097500f050 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Fri, 17 Jul 1998 08:29:39 +0000 Subject: Removed. Using `const' instead of `CONST'. 1998-07-17 Martin Baulig * strtol.c, strtoul.c (): Removed. Using `const' instead of `CONST'. svn path=/trunk/; revision=283 --- support/ChangeLog | 5 +++++ support/strtol.c | 5 ++--- support/strtoul.c | 5 ++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/support/ChangeLog b/support/ChangeLog index 8b79435..aa5a099 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,3 +1,8 @@ +1998-07-17 Martin Baulig + + * strtol.c, strtoul.c (): Removed. Using + `const' instead of `CONST'. + 1998-07-15 Raja R Harinath * gnomesupport.awk (gethostname): Emit declaration. diff --git a/support/strtol.c b/support/strtol.c index db27ee0..75b7493 100644 --- a/support/strtol.c +++ b/support/strtol.c @@ -37,7 +37,6 @@ #if 0 #include #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 @@ -63,11 +62,11 @@ */ 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; diff --git a/support/strtoul.c b/support/strtoul.c index 4090245..54207fa 100644 --- a/support/strtoul.c +++ b/support/strtoul.c @@ -37,7 +37,6 @@ #if 0 #include #endif -#include "ansidecl.h" #ifndef ULONG_MAX #define ULONG_MAX ((unsigned long)(~0L)) /* 0xFFFFFFFF */ @@ -51,11 +50,11 @@ */ 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; -- cgit v1.2.1