summaryrefslogtreecommitdiff
path: root/lib/xstrtoul.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xstrtoul.c')
-rw-r--r--lib/xstrtoul.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/xstrtoul.c b/lib/xstrtoul.c
new file mode 100644
index 0000000..285f7b9
--- /dev/null
+++ b/lib/xstrtoul.c
@@ -0,0 +1,6 @@
+#define __strtol strtoul
+#define __strtol_t unsigned long int
+#define __xstrtol xstrtoul
+#define STRTOL_T_MINIMUM 0
+#define STRTOL_T_MAXIMUM ULONG_MAX
+#include "xstrtol.c"