mirror of
https://github.com/sheumann/hush.git
synced 2024-08-21 11:28:57 +00:00
More fixes for "missing initializers"
This commit is contained in:
parent
9027bcf2f4
commit
f626dcbc84
2
more.c
2
more.c
@ -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--;
|
||||
|
@ -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
2
ps.c
@ -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
|
||||
|
@ -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--;
|
||||
|
Loading…
Reference in New Issue
Block a user