Removed functions not being used anywhere

The GNU C compiler gave warnings about these functions in the patch
not being used anywhere.  Doing a git grep on the code turned out
there were no callers to these functions.  Taking these functions out,
as there is not good reason why to carry dead code.

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: Peter Stuge <peter@stuge.se>
This commit is contained in:
David Sommerseth 2010-11-15 08:58:36 +01:00
parent d29e6de16a
commit 7581c8fd6f
2 changed files with 0 additions and 21 deletions

12
ps.c
View file

@ -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)
{

9
sig.c
View file

@ -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 */