diff options
author | Chris Hall <chris.hall@highwayman.com> | 2011-09-02 12:07:01 +0100 |
---|---|---|
committer | Chris Hall <chris.hall@highwayman.com> | 2011-09-02 12:07:01 +0100 |
commit | 3593a823ca0dd92bbe58aa3464d8a371f6f35e70 (patch) | |
tree | 933eadc60f5c9e16dc5d9bf6b3762870a11d1a81 /watchquagga | |
parent | 3690074a486cfada568975e287d9cbb9e687501f (diff) | |
download | quagga-3593a823ca0dd92bbe58aa3464d8a371f6f35e70.tar.bz2 quagga-3593a823ca0dd92bbe58aa3464d8a371f6f35e70.tar.xz |
Changed gcc options to -std=c99 and -O2, and tighted warnings.
Some small changes to accomodate same.
Diffstat (limited to 'watchquagga')
-rw-r--r-- | watchquagga/watchquagga.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/watchquagga/watchquagga.c b/watchquagga/watchquagga.c index 2f01080c..5492f92e 100644 --- a/watchquagga/watchquagga.c +++ b/watchquagga/watchquagga.c @@ -434,6 +434,8 @@ sigchild(void) case 0: zlog_warn("SIGCHLD received, but waitpid did not reap a child"); return; + default: + break ; } if ((restart = find_child(child)) != NULL) @@ -869,6 +871,8 @@ phase_check(void) THREAD_OFF(gs.t_phase_hanging); zlog_notice("Phased global restart has completed."); break; + default: + break ; } } @@ -1273,6 +1277,8 @@ main(int argc, char **argv) return usage(progname,1); } break; + default: + break ; } if (blankstr) |