commit | a597aaddfa76d589d3e1a37b1f1c3401c2decffd | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Sat Dec 16 23:48:13 2006 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Sat Dec 16 23:48:13 2006 +0000 |
tree | 1db4966ffc99ad3c495bd18d6f7040e1515e79d7 | |
parent | 3469c185e50e7bb672ce33ab5e50da753f0f0e20 [diff] [blame] |
s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/g xstrtou: disallow leading '+'
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) {