projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- remove functions marked as LEGACY in SUSv3 and use their modern counterparts.
[oweals/busybox.git]
/
libbb
/
xatonum_template.c
diff --git
a/libbb/xatonum_template.c
b/libbb/xatonum_template.c
index 245586a5a932ad4ae15fb4df4191cac5b979fc1e..53ba544ebfd96db3998f49e00df4b8d55ace6704 100644
(file)
--- a/
libbb/xatonum_template.c
+++ b/
libbb/xatonum_template.c
@@
-173,3
+173,13
@@
type xato()(const char *numstr)
{
return xstrto(_range_sfx)(numstr, 10, XSTR_TYPE_MIN, XSTR_TYPE_MAX, NULL);
}
+
+#undef type
+#undef xstrtou
+#undef xstrto
+#undef xatou
+#undef xato
+#undef XSTR_UTYPE_MAX
+#undef XSTR_TYPE_MAX
+#undef XSTR_TYPE_MIN
+#undef XSTR_STRTOU