str2u() is only used when FEATURE_SORT_BIG is enabled
authorMike Frysinger <vapier@gentoo.org>
Tue, 2 Jan 2007 05:43:30 +0000 (05:43 -0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 2 Jan 2007 05:43:30 +0000 (05:43 -0000)
coreutils/sort.c

index ab59355a94279c3c072f68aa5c667e71e3276f05..c7abc3355124db63c4cf1cad67e1be11426c145c 100644 (file)
@@ -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)
 {