From f626dcbc8418819f532d9af7858adad2a4dd2606 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 14 Jul 2000 15:55:41 +0000 Subject: [PATCH] More fixes for "missing initializers" --- more.c | 2 +- procps/ps.c | 2 +- ps.c | 2 +- util-linux/more.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/more.c b/more.c index 841e28321..91c281563 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 99c9edaf7..b070e3984 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 99c9edaf7..b070e3984 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 841e28321..91c281563 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--; -- 2.25.1