summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2009-09-15 04:09:34 +0530
committerMukund Sivaraman <muks@banu.com>2009-09-15 04:09:34 +0530
commit551e041638e34d1cedc25bb3ce81c2daffdf4494 (patch)
tree2d19cf47e7ff442e662390fedffc0dd9fce42eb2
parent42d2e10c93aacea89b7e5c23c1487a45788715b3 (diff)
downloadtinyproxy-551e041638e34d1cedc25bb3ce81c2daffdf4494.tar.gz
tinyproxy-551e041638e34d1cedc25bb3ce81c2daffdf4494.zip
Make takesig() into a static function
-rw-r--r--src/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 0dcdde3..c84e429 100644
--- a/src/main.c
+++ b/src/main.c
@@ -41,8 +41,6 @@
#include "stats.h"
#include "utils.h"
-RETSIGTYPE takesig (int sig);
-
/*
* Global Structures
*/
@@ -53,7 +51,7 @@ unsigned int processed_config_file = FALSE; /* boolean */
/*
* Handle a signal
*/
-RETSIGTYPE
+static RETSIGTYPE
takesig (int sig)
{
pid_t pid;