add "make help"
[oweals/busybox.git] / coreutils / sort.c
index c701b5e4f5c517733eb210cf76d429d139551048..6d8a552454ac034b1dbdd217d4286d9310feebcf 100644 (file)
@@ -31,7 +31,7 @@
 #include <unistd.h>
 #include "busybox.h"
 
-int global_flags;
+static int global_flags;
 
 /*
        sort [-m][-o output][-bdfinru][-t char][-k keydef]... [file...]
@@ -57,9 +57,9 @@ int global_flags;
 
 
 #ifdef CONFIG_SORT_BIG
-char key_separator;
+static char key_separator;
 
-struct sort_key
+static struct sort_key
 {
        struct sort_key *next_key;      /* linked list */
        unsigned short range[4];        /* start word, start char, end word, end char */
@@ -239,7 +239,8 @@ int sort_main(int argc, char **argv)
 {
        FILE *fp,*outfile=NULL;
        int linecount=0,i,flag;
-       char *line,**lines=NULL,c,*optlist="ngMucszbrdfimS:T:o:k:t:";
+       char *line,**lines=NULL,*optlist="ngMucszbrdfimS:T:o:k:t:";
+       int c;
 
        bb_default_error_retval = 2;
        /* Parse command line options */