Make cin be static
This commit is contained in:
parent
d5cad14b11
commit
5c9c8b4b26
@ -198,7 +198,7 @@ unsigned long ls_disp_hr = KILOBYTE;
|
|||||||
# define getTermSettings(fd,argp) tcgetattr(fd, argp);
|
# define getTermSettings(fd,argp) tcgetattr(fd, argp);
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
FILE *cin;
|
static FILE *cin;
|
||||||
|
|
||||||
static struct termios initial_settings, new_settings;
|
static struct termios initial_settings, new_settings;
|
||||||
|
|
||||||
|
2
ls.c
2
ls.c
@ -198,7 +198,7 @@ unsigned long ls_disp_hr = KILOBYTE;
|
|||||||
# define getTermSettings(fd,argp) tcgetattr(fd, argp);
|
# define getTermSettings(fd,argp) tcgetattr(fd, argp);
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
FILE *cin;
|
static FILE *cin;
|
||||||
|
|
||||||
static struct termios initial_settings, new_settings;
|
static struct termios initial_settings, new_settings;
|
||||||
|
|
||||||
|
2
more.c
2
more.c
@ -47,7 +47,7 @@
|
|||||||
# define getTermSettings(fd,argp) tcgetattr(fd, argp);
|
# define getTermSettings(fd,argp) tcgetattr(fd, argp);
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
FILE *cin;
|
static FILE *cin;
|
||||||
|
|
||||||
static struct termios initial_settings, new_settings;
|
static struct termios initial_settings, new_settings;
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
# define getTermSettings(fd,argp) tcgetattr(fd, argp);
|
# define getTermSettings(fd,argp) tcgetattr(fd, argp);
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
FILE *cin;
|
static FILE *cin;
|
||||||
|
|
||||||
static struct termios initial_settings, new_settings;
|
static struct termios initial_settings, new_settings;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user