aboutsummaryrefslogtreecommitdiff
path: root/sig.c
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-11-15 08:58:36 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-11-18 18:54:49 +0100
commit7581c8fd6f0b0f0855b8dae8dba697fecb5ac6a4 (patch)
tree69c3e5094d03ebffd91e397e3ab24faf81db740b /sig.c
parentOnly add some functions when really needed (diff)
downloadopenvpn-7581c8fd6f0b0f0855b8dae8dba697fecb5ac6a4.tar.xz
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>
Diffstat (limited to '')
-rw-r--r--sig.c9
1 files changed, 0 insertions, 9 deletions
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 */