diff options
author | Rob Landley <rob@landley.net> | 2015-04-30 14:01:35 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-04-30 14:01:35 -0500 |
commit | 9c3d1657f1a3561910ceb87c1ea21d349fbfaaed (patch) | |
tree | ec9546cb20b1aa6fad7aa0328310bfdc5ef15328 /lib/lib.c | |
parent | e94931034578707958fecb7f34dcd3a0a175eaf7 (diff) | |
download | toybox-9c3d1657f1a3561910ceb87c1ea21d349fbfaaed.tar.gz |
Remove redundant numlen.
Diffstat (limited to 'lib/lib.c')
-rw-r--r-- | lib/lib.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -280,16 +280,6 @@ long atolx_range(char *numstr, long low, long high) return val; } -int numlen(long l) -{ - int len = 0; - while (l) { - l /= 10; - len++; - } - return len; -} - int stridx(char *haystack, char needle) { char *off; |