#include <unistd.h>
#include "busybox.h"
-int global_flags;
+static int global_flags;
/*
sort [-m][-o output][-bdfinru][-t char][-k keydef]... [file...]
#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 */
{
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 */