diff options
author | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-01-02 05:43:30 +0000 |
---|---|---|
committer | vapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-01-02 05:43:30 +0000 |
commit | fad03fe533790dabcfaf7eae4476d68f1e86e018 (patch) | |
tree | e60b574872506d947caec0b9cddcd4b09c2fd9b6 | |
parent | 273904b65be31f8bf8e9405710fdfcd36390a60e (diff) | |
download | busybox-w32-fad03fe533790dabcfaf7eae4476d68f1e86e018.tar.gz busybox-w32-fad03fe533790dabcfaf7eae4476d68f1e86e018.tar.bz2 busybox-w32-fad03fe533790dabcfaf7eae4476d68f1e86e018.zip |
str2u() is only used when FEATURE_SORT_BIG is enabled
git-svn-id: svn://busybox.net/trunk/busybox@17129 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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 | { |