aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-04-30 14:01:35 -0500
committerRob Landley <rob@landley.net>2015-04-30 14:01:35 -0500
commit9c3d1657f1a3561910ceb87c1ea21d349fbfaaed (patch)
treeec9546cb20b1aa6fad7aa0328310bfdc5ef15328
parente94931034578707958fecb7f34dcd3a0a175eaf7 (diff)
downloadtoybox-9c3d1657f1a3561910ceb87c1ea21d349fbfaaed.tar.gz
Remove redundant numlen.
-rw-r--r--lib/lib.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/lib.c b/lib/lib.c
index ab773b5b..2f7d28f4 100644
--- a/lib/lib.c
+++ b/lib/lib.c
@@ -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;