aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ps.c12
-rw-r--r--sig.c9
2 files changed, 0 insertions, 21 deletions
diff --git a/ps.c b/ps.c
index 003fb45..0aaef62 100644
--- a/ps.c
+++ b/ps.c
@@ -234,18 +234,6 @@ port_share_sendmsg (const socket_descriptor_t sd,
}
}
-static int
-pc_list_len (struct proxy_connection *pc)
-{
- int count = 0;
- while (pc)
- {
- ++count;
- pc = pc->next;
- }
- return count;
-}
-
static void
proxy_entry_close_sd (struct proxy_connection *pc, struct event_set *es)
{
diff --git a/sig.c b/sig.c
index 4dd6b09..438f4e6 100644
--- a/sig.c
+++ b/sig.c
@@ -185,15 +185,6 @@ signal_handler (const int signum)
signal (signum, signal_handler);
}
-/* temporary signal handler, before we are fully initialized */
-static void
-signal_handler_exit (const int signum)
-{
- msg (M_FATAL,
- "Signal %d (%s) received during initialization, exiting",
- signum, signal_description (signum, NULL));
-}
-
#endif
/* set handlers for unix signals */