summaryrefslogtreecommitdiff
path: root/lib/xstrtoul.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-04-18 23:15:02 +0000
committerJim Meyering <jim@meyering.net>1999-04-18 23:15:02 +0000
commitddd5fa0ce5e22805a4eec2eb5a80b960a7b0d58f (patch)
tree7e211f1530194d0b1ec4942580bebe6dd75c2b82 /lib/xstrtoul.c
parenta7a7424b8be4f95ca7337f02064f0dd532caf835 (diff)
downloadcoreutils-ddd5fa0ce5e22805a4eec2eb5a80b960a7b0d58f.tar.xz
(STRING_TO_UNSIGNED): Remove.
(__strtol, __strtol_t, __xstrtol): New macros.
Diffstat (limited to 'lib/xstrtoul.c')
-rw-r--r--lib/xstrtoul.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/xstrtoul.c b/lib/xstrtoul.c
index 8194c1719..6140bbee2 100644
--- a/lib/xstrtoul.c
+++ b/lib/xstrtoul.c
@@ -1,2 +1,4 @@
-#define STRING_TO_UNSIGNED 1
+#define __strtol strtoul
+#define __strtol_t unsigned long int
+#define __xstrtol xstrtoul
#include "xstrtol.c"