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>
| ... | ... |
@@ -234,18 +234,6 @@ port_share_sendmsg (const socket_descriptor_t sd, |
| 234 | 234 |
} |
| 235 | 235 |
} |
| 236 | 236 |
|
| 237 |
-static int |
|
| 238 |
-pc_list_len (struct proxy_connection *pc) |
|
| 239 |
-{
|
|
| 240 |
- int count = 0; |
|
| 241 |
- while (pc) |
|
| 242 |
- {
|
|
| 243 |
- ++count; |
|
| 244 |
- pc = pc->next; |
|
| 245 |
- } |
|
| 246 |
- return count; |
|
| 247 |
-} |
|
| 248 |
- |
|
| 249 | 237 |
static void |
| 250 | 238 |
proxy_entry_close_sd (struct proxy_connection *pc, struct event_set *es) |
| 251 | 239 |
{
|
| ... | ... |
@@ -185,15 +185,6 @@ signal_handler (const int signum) |
| 185 | 185 |
signal (signum, signal_handler); |
| 186 | 186 |
} |
| 187 | 187 |
|
| 188 |
-/* temporary signal handler, before we are fully initialized */ |
|
| 189 |
-static void |
|
| 190 |
-signal_handler_exit (const int signum) |
|
| 191 |
-{
|
|
| 192 |
- msg (M_FATAL, |
|
| 193 |
- "Signal %d (%s) received during initialization, exiting", |
|
| 194 |
- signum, signal_description (signum, NULL)); |
|
| 195 |
-} |
|
| 196 |
- |
|
| 197 | 188 |
#endif |
| 198 | 189 |
|
| 199 | 190 |
/* set handlers for unix signals */ |