remove msh_function.patch. msh is deprecated
[oweals/busybox.git] / libbb / xatonum.c
index 35607c317fba52f4735d04d9b2cd7eee6e09d9ae..3cdf63425453dda983a5c1f6b60f54f738f06c5d 100644 (file)
@@ -34,7 +34,8 @@
 #endif
 
 #if UINT_MAX != ULONG_MAX
-extern inline unsigned bb_strtoui(const char *str, char **end, int b)
+static ALWAYS_INLINE
+unsigned bb_strtoui(const char *str, char **end, int b)
 {
        unsigned long v = strtoul(str, end, b);
        if (v > UINT_MAX) {
@@ -58,12 +59,12 @@ extern inline unsigned bb_strtoui(const char *str, char **end, int b)
 
 /* A few special cases */
 
-int xatoi_u(const char *numstr)
+int FAST_FUNC xatoi_u(const char *numstr)
 {
        return xatou_range(numstr, 0, INT_MAX);
 }
 
-uint16_t xatou16(const char *numstr)
+uint16_t FAST_FUNC xatou16(const char *numstr)
 {
        return xatou_range(numstr, 0, 0xffff);
 }