Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (5 years ago)
Author:
bruno
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/include/xatonum.h

    r2725 r3232  
    169169    return BUG_bb_strtou32_unimplemented();
    170170}
     171static ALWAYS_INLINE
     172int32_t bb_strtoi32(const char *arg, char **endp, int base)
     173{
     174    if (sizeof(int32_t) == sizeof(int))
     175        return bb_strtoi(arg, endp, base);
     176    if (sizeof(int32_t) == sizeof(long))
     177        return bb_strtol(arg, endp, base);
     178    return BUG_bb_strtou32_unimplemented();
     179}
    171180
    172181/* Floating point */
Note: See TracChangeset for help on using the changeset viewer.