From 7da191e7673d26b2b1573546a81a2594b0a57774 Mon Sep 17 00:00:00 2001 From: gotmor Date: Wed, 13 Jun 2007 15:21:11 +0000 Subject: 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 --- main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'main.c') 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); -- cgit v1.2.3-54-g00ecf