From 019b91c3f9fec9956cba9245e2e3421fd0ad1102 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Tue, 24 Aug 2004 16:36:22 +0000 Subject: (takesig): Fixed the return type to use the autoconf defined RETSIGTYPE. This is portable, while simply using "void" is not. --- src/tinyproxy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/tinyproxy.c b/src/tinyproxy.c index ab2b49c..f789bc1 100644 --- a/src/tinyproxy.c +++ b/src/tinyproxy.c @@ -1,4 +1,4 @@ -/* $Id: tinyproxy.c,v 1.49 2004-08-14 03:21:28 rjkaes Exp $ +/* $Id: tinyproxy.c,v 1.50 2004-08-24 16:36:22 rjkaes Exp $ * * The initialize routine. Basically sets up all the initial stuff (logfile, * listening socket, config options, etc.) and then sits there and loops @@ -37,7 +37,7 @@ #include "stats.h" #include "utils.h" -void takesig(int sig); +RETSIGTYPE takesig(int sig); /* * Global Structures @@ -50,7 +50,7 @@ unsigned int processed_config_file = FALSE; /* boolean */ /* * Handle a signal */ -void +RETSIGTYPE takesig(int sig) { pid_t pid; -- cgit v1.2.3