aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2010-06-18 22:37:42 -0700
committerDenys Vlasenko <vda.linux@googlemail.com>2010-06-19 20:03:15 +0200
commitfdd7b566ecdc174907f38d9389b28ba842d2b4bf (patch)
tree38e5f9a61da8c6ed5155d3542fd0d56aaf157714 /shell
parenteb08b6ed5cc7bb764658cd7a3b829e2b3aac4abc (diff)
downloadbusybox-fdd7b566ecdc174907f38d9389b28ba842d2b4bf.tar.gz
A few minor portability improvements
Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 4832e2c48..e64c923b4 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;