From a597aaddfa76d589d3e1a37b1f1c3401c2decffd Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 16 Dec 2006 23:48:13 +0000 Subject: s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/g xstrtou: disallow leading '+' --- libbb/xatonum.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libbb/xatonum.c') diff --git a/libbb/xatonum.c b/libbb/xatonum.c index 35607c317..dec3c2dc4 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) { -- cgit v1.2.3