sort: linebuf is no global

This commit is contained in:
Jakob Kramer 2014-05-03 18:28:20 +02:00 committed by sin
parent f23409f65a
commit c4e5354a32

3
sort.c
View File

@ -35,8 +35,6 @@ static bool rflag = false;
static bool uflag = false; static bool uflag = false;
static bool nflag = false; static bool nflag = false;
static struct linebuf linebuf = EMPTY_LINEBUF;
static void static void
usage(void) usage(void)
{ {
@ -48,6 +46,7 @@ main(int argc, char *argv[])
{ {
long i; long i;
FILE *fp; FILE *fp;
struct linebuf linebuf = EMPTY_LINEBUF;
ARGBEGIN { ARGBEGIN {
case 'n': case 'n':