Make cin be static

This commit is contained in:
Eric Andersen 2001-01-26 06:50:46 +00:00
parent d5cad14b11
commit 5c9c8b4b26
4 changed files with 4 additions and 4 deletions

View File

@ -198,7 +198,7 @@ unsigned long ls_disp_hr = KILOBYTE;
# define getTermSettings(fd,argp) tcgetattr(fd, argp);
# endif
FILE *cin;
static FILE *cin;
static struct termios initial_settings, new_settings;

2
ls.c
View File

@ -198,7 +198,7 @@ unsigned long ls_disp_hr = KILOBYTE;
# define getTermSettings(fd,argp) tcgetattr(fd, argp);
# endif
FILE *cin;
static FILE *cin;
static struct termios initial_settings, new_settings;

2
more.c
View File

@ -47,7 +47,7 @@
# define getTermSettings(fd,argp) tcgetattr(fd, argp);
# endif
FILE *cin;
static FILE *cin;
static struct termios initial_settings, new_settings;

View File

@ -47,7 +47,7 @@
# define getTermSettings(fd,argp) tcgetattr(fd, argp);
# endif
FILE *cin;
static FILE *cin;
static struct termios initial_settings, new_settings;