aboutsummaryrefslogtreecommitdiff
path: root/lib/xstrtoul.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2010-04-21 17:53:10 +0000
committerXin LI <delphij@FreeBSD.org>2010-04-21 17:53:10 +0000
commit7915ffb8ffcf218eff92927a23893dc8aa01830c (patch)
treeacadf0d2eca47daa7a656cf8954ad9cef849f7a1 /lib/xstrtoul.c
parentda2802fe8cbc451108a53a7267173a7c5d1b3df1 (diff)
Notes
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 000000000000..285f7b96f850
--- /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"