aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-13 15:21:11 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-06-13 15:21:11 +0000
commit7da191e7673d26b2b1573546a81a2594b0a57774 (patch)
treed32a0ef2e6949f4e7f9cb4ba5387aab8164ff79a /main.c
parent0fdc56aba62c8b68c7567375ea87e06a44fe8da4 (diff)
downloaddzen-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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index 63a191b..ae1782a 100644
--- a/main.c
+++ b/main.c
@@ -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);