summaryrefslogtreecommitdiff
path: root/libbb/xatonum.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/xatonum.c')
-rw-r--r--libbb/xatonum.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/xatonum.c b/libbb/xatonum.c
index 35607c3..dec3c2d 100644
--- a/libbb/xatonum.c
+++ b/libbb/xatonum.c
@@ -34,7 +34,8 @@
#endif
#if UINT_MAX != ULONG_MAX
-extern inline unsigned bb_strtoui(const char *str, char **end, int b)
+static ATTRIBUTE_ALWAYS_INLINE
+unsigned bb_strtoui(const char *str, char **end, int b)
{
unsigned long v = strtoul(str, end, b);
if (v > UINT_MAX) {