(takesig): Fixed the return type to use the autoconf defined

RETSIGTYPE.  This is portable, while simply using "void" is not.
This commit is contained in:
Robert James Kaes 2004-08-24 16:36:22 +00:00
parent c446e19003
commit 019b91c3f9

View File

@ -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, * The initialize routine. Basically sets up all the initial stuff (logfile,
* listening socket, config options, etc.) and then sits there and loops * listening socket, config options, etc.) and then sits there and loops
@ -37,7 +37,7 @@
#include "stats.h" #include "stats.h"
#include "utils.h" #include "utils.h"
void takesig(int sig); RETSIGTYPE takesig(int sig);
/* /*
* Global Structures * Global Structures
@ -50,7 +50,7 @@ unsigned int processed_config_file = FALSE; /* boolean */
/* /*
* Handle a signal * Handle a signal
*/ */
void RETSIGTYPE
takesig(int sig) takesig(int sig)
{ {
pid_t pid; pid_t pid;