summaryrefslogtreecommitdiff
path: root/support/strtol.c
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-07-17 08:29:39 +0000
committerMartin Baulig <martin@src.gnome.org>1998-07-17 08:29:39 +0000
commit3e44ab5f03d41e9652d41aee92ea2b097500f050 (patch)
tree0b789e66f677e78db4d070bbf24d40857ed7f193 /support/strtol.c
parent890f65bea4d970633f1b062bec85e2b6cdc27f3b (diff)
downloadshared-mime-info-3e44ab5f03d41e9652d41aee92ea2b097500f050.tar.gz
Removed. Using `const' instead of `CONST'.
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
Diffstat (limited to 'support/strtol.c')
-rw-r--r--support/strtol.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/support/strtol.c b/support/strtol.c
index db27ee0a..75b74939 100644
--- a/support/strtol.c
+++ b/support/strtol.c
@@ -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
@@ -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;