diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2004-08-24 16:36:22 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2004-08-24 16:36:22 +0000 |
commit | 019b91c3f9fec9956cba9245e2e3421fd0ad1102 (patch) | |
tree | 00c9577d8a191ad9966748f417c53a624e589331 | |
parent | c446e19003efbb3c9edff94c5080d2c744e2817a (diff) | |
download | tinyproxy-019b91c3f9fec9956cba9245e2e3421fd0ad1102.tar.gz tinyproxy-019b91c3f9fec9956cba9245e2e3421fd0ad1102.zip |
(takesig): Fixed the return type to use the autoconf defined
RETSIGTYPE. This is portable, while simply using "void" is not.
Diffstat (limited to '')
-rw-r--r-- | src/tinyproxy.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |