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 nflag = false;
static struct linebuf linebuf = EMPTY_LINEBUF;
static void
usage(void)
{
@ -48,6 +46,7 @@ main(int argc, char *argv[])
{
long i;
FILE *fp;
struct linebuf linebuf = EMPTY_LINEBUF;
ARGBEGIN {
case 'n':