diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-01-02 05:43:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-01-02 05:43:30 +0000 |
commit | a71199e0f0b33c25edea6f57dcd0d9517d0d09ac (patch) | |
tree | e60b574872506d947caec0b9cddcd4b09c2fd9b6 | |
parent | e5c095345e70dbb199fd9e7224bceb9663950199 (diff) | |
download | busybox-w32-a71199e0f0b33c25edea6f57dcd0d9517d0d09ac.tar.gz busybox-w32-a71199e0f0b33c25edea6f57dcd0d9517d0d09ac.tar.bz2 busybox-w32-a71199e0f0b33c25edea6f57dcd0d9517d0d09ac.zip |
str2u() is only used when FEATURE_SORT_BIG is enabled
-rw-r--r-- | coreutils/sort.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
265 | return retval; | 265 | return retval; |
266 | } | 266 | } |
267 | 267 | ||
268 | #if ENABLE_FEATURE_SORT_BIG | ||
268 | static unsigned str2u(char **str) | 269 | static unsigned str2u(char **str) |
269 | { | 270 | { |
270 | unsigned long lu; | 271 | unsigned long lu; |
@@ -275,6 +276,7 @@ static unsigned str2u(char **str) | |||
275 | bb_error_msg_and_die("bad field specification"); | 276 | bb_error_msg_and_die("bad field specification"); |
276 | return lu; | 277 | return lu; |
277 | } | 278 | } |
279 | #endif | ||
278 | 280 | ||
279 | int sort_main(int argc, char **argv) | 281 | int sort_main(int argc, char **argv) |
280 | { | 282 | { |