svn commit: trunk/busybox/coreutils

vapier at busybox.net vapier at busybox.net
Tue Jan 2 05:43:31 UTC 2007


Author: vapier
Date: 2007-01-01 21:43:30 -0800 (Mon, 01 Jan 2007)
New Revision: 17129

Log:
str2u() is only used when FEATURE_SORT_BIG is enabled

Modified:
   trunk/busybox/coreutils/sort.c


Changeset:
Modified: trunk/busybox/coreutils/sort.c
===================================================================
--- trunk/busybox/coreutils/sort.c	2007-01-02 05:42:35 UTC (rev 17128)
+++ trunk/busybox/coreutils/sort.c	2007-01-02 05:43:30 UTC (rev 17129)
@@ -265,6 +265,7 @@
 	return retval;
 }
 
+#if ENABLE_FEATURE_SORT_BIG
 static unsigned str2u(char **str)
 {
 	unsigned long lu;
@@ -275,6 +276,7 @@
 		bb_error_msg_and_die("bad field specification");
 	return lu;
 }
+#endif
 
 int sort_main(int argc, char **argv)
 {




More information about the busybox-cvs mailing list