str2u() is only used when FEATURE_SORT_BIG is enabled

This commit is contained in:
Mike Frysinger 2007-01-02 05:43:30 +00:00
parent e5c095345e
commit a71199e0f0

View File

@ -265,6 +265,7 @@ static int compare_keys(const void *xarg, const void *yarg)
return retval; return retval;
} }
#if ENABLE_FEATURE_SORT_BIG
static unsigned str2u(char **str) static unsigned str2u(char **str)
{ {
unsigned long lu; unsigned long lu;
@ -275,6 +276,7 @@ static unsigned str2u(char **str)
bb_error_msg_and_die("bad field specification"); bb_error_msg_and_die("bad field specification");
return lu; return lu;
} }
#endif
int sort_main(int argc, char **argv) int sort_main(int argc, char **argv)
{ {