More fixes for "missing initializers"

This commit is contained in:
Pavel Roskin 2000-07-14 15:55:41 +00:00
parent 9027bcf2f4
commit f626dcbc84
4 changed files with 4 additions and 4 deletions

2
more.c
View File

@ -78,7 +78,7 @@ extern int more_main(int argc, char **argv)
FILE *file;
#if defined BB_FEATURE_AUTOWIDTH && defined BB_FEATURE_USE_TERMIOS
struct winsize win = { 0, 0 };
struct winsize win = { 0, 0, 0, 0 };
#endif
argc--;

View File

@ -216,7 +216,7 @@ extern int ps_main(int argc, char **argv)
char uidName[10] = "";
char groupName[10] = "";
#ifdef BB_FEATURE_AUTOWIDTH
struct winsize win = { 0, 0 };
struct winsize win = { 0, 0, 0, 0 };
int terminal_width = TERMINAL_WIDTH;
#else
#define terminal_width TERMINAL_WIDTH

2
ps.c
View File

@ -216,7 +216,7 @@ extern int ps_main(int argc, char **argv)
char uidName[10] = "";
char groupName[10] = "";
#ifdef BB_FEATURE_AUTOWIDTH
struct winsize win = { 0, 0 };
struct winsize win = { 0, 0, 0, 0 };
int terminal_width = TERMINAL_WIDTH;
#else
#define terminal_width TERMINAL_WIDTH

View File

@ -78,7 +78,7 @@ extern int more_main(int argc, char **argv)
FILE *file;
#if defined BB_FEATURE_AUTOWIDTH && defined BB_FEATURE_USE_TERMIOS
struct winsize win = { 0, 0 };
struct winsize win = { 0, 0, 0, 0 };
#endif
argc--;