From fdd7b566ecdc174907f38d9389b28ba842d2b4bf Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 18 Jun 2010 22:37:42 -0700 Subject: A few minor portability improvements Signed-off-by: Dan Fandrich Signed-off-by: Denys Vlasenko --- shell/hush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/hush.c b/shell/hush.c index 4832e2c..e64c923 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -1217,7 +1217,7 @@ static void hush_exit(int exitcode) static int check_and_run_traps(int sig) { - static const struct timespec zero_timespec = { 0, 0 }; + static const struct timespec zero_timespec; smalluint save_rcode; int last_sig = 0; -- cgit v1.1