sort: linebuf is no global
This commit is contained in:
parent
f23409f65a
commit
c4e5354a32
3
sort.c
3
sort.c
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue
Block a user