diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-06-13 15:21:11 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-06-13 15:21:11 +0000 |
commit | 7da191e7673d26b2b1573546a81a2594b0a57774 (patch) | |
tree | d32a0ef2e6949f4e7f9cb4ba5387aab8164ff79a /main.c | |
parent | 0fdc56aba62c8b68c7567375ea87e06a44fe8da4 (diff) | |
download | dzen-7da191e7673d26b2b1573546a81a2594b0a57774.tar.gz dzen-7da191e7673d26b2b1573546a81a2594b0a57774.zip |
fixes to compile cleanly with -Wall and -DPOSIX_SOURCE
changed config.mk, there were problems with solaris
git-svn-id: http://dzen.googlecode.com/svn/trunk@87 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -51,22 +51,22 @@ clean_up(void) { } static void -catch_sigusr1() { +catch_sigusr1(int s) { do_action(sigusr1); } static void -catch_sigusr2() { +catch_sigusr2(int s) { do_action(sigusr2); } static void -catch_sigterm() { +catch_sigterm(int s) { do_action(onexit); } static void -catch_alrm() { +catch_alrm(int s) { do_action(onexit); clean_up(); exit(0); |