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 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':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user