summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorMike Frysinger2007-01-02 05:43:30 +0000
committerMike Frysinger2007-01-02 05:43:30 +0000
commita71199e0f0b33c25edea6f57dcd0d9517d0d09ac (patch)
treee60b574872506d947caec0b9cddcd4b09c2fd9b6 /coreutils
parente5c095345e70dbb199fd9e7224bceb9663950199 (diff)
downloadbusybox-a71199e0f0b33c25edea6f57dcd0d9517d0d09ac.zip
busybox-a71199e0f0b33c25edea6f57dcd0d9517d0d09ac.tar.gz
str2u() is only used when FEATURE_SORT_BIG is enabled
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/sort.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c
index ab59355..c7abc33 100644
--- a/coreutils/sort.c
+++ b/coreutils/sort.c
@@ -265,6 +265,7 @@ static int compare_keys(const void *xarg, const void *yarg)
return retval;
}
+#if ENABLE_FEATURE_SORT_BIG
static unsigned str2u(char **str)
{
unsigned long lu;
@@ -275,6 +276,7 @@ static unsigned str2u(char **str)
bb_error_msg_and_die("bad field specification");
return lu;
}
+#endif
int sort_main(int argc, char **argv)
{