From a71199e0f0b33c25edea6f57dcd0d9517d0d09ac Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 2 Jan 2007 05:43:30 +0000 Subject: [PATCH] str2u() is only used when FEATURE_SORT_BIG is enabled --- coreutils/sort.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coreutils/sort.c b/coreutils/sort.c index ab59355a9..c7abc3355 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) {