Removed. Using `const' instead of `CONST'.
authorMartin Baulig <martin@home-of-linux.org>
Fri, 17 Jul 1998 08:29:39 +0000 (08:29 +0000)
committerMartin Baulig <martin@src.gnome.org>
Fri, 17 Jul 1998 08:29:39 +0000 (08:29 +0000)
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

support/ChangeLog
support/strtol.c
support/strtoul.c

index 8b79435..aa5a099 100644 (file)
@@ -1,3 +1,8 @@
+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.
index db27ee0..75b7493 100644 (file)
@@ -37,7 +37,6 @@
 #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;
index 4090245..54207fa 100644 (file)
@@ -37,7 +37,6 @@
 #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;