summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Roskin2000-07-14 15:55:41 +0000
committerPavel Roskin2000-07-14 15:55:41 +0000
commitf626dcbc8418819f532d9af7858adad2a4dd2606 (patch)
treeedd0253132eaecb7f7caf8877c1db5bfa26c47c0
parent9027bcf2f4b8c9352183544d3fcc35d12b9affec (diff)
downloadbusybox-f626dcbc8418819f532d9af7858adad2a4dd2606.zip
busybox-f626dcbc8418819f532d9af7858adad2a4dd2606.tar.gz
More fixes for "missing initializers"
-rw-r--r--more.c2
-rw-r--r--procps/ps.c2
-rw-r--r--ps.c2
-rw-r--r--util-linux/more.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/more.c b/more.c
index 841e283..91c2815 100644
--- a/more.c
+++ b/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--;
diff --git a/procps/ps.c b/procps/ps.c
index 99c9eda..b070e39 100644
--- a/procps/ps.c
+++ b/procps/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
diff --git a/ps.c b/ps.c
index 99c9eda..b070e39 100644
--- a/ps.c
+++ b/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
diff --git a/util-linux/more.c b/util-linux/more.c
index 841e283..91c2815 100644
--- a/util-linux/more.c
+++ b/util-linux/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--;