diff options
-rw-r--r-- | src/Startup.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/Startup.c b/src/Startup.c index 496d88f..3417117 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -80,21 +80,6 @@ static int DumpParameters (FILE *outfile); CCTK_ParameterFilename IOUtil_AdvertiseFile @@*/ -typedef void (*signal_handler_t) (int sig); -static signal_handler_t old_signal_handler[32]; - -static void new_signal_handler (int sig) -{ - fprintf (stderr, "called new_signal_handler with signal %d calling %p\n", sig, old_signal_handler[sig]); - if (old_signal_handler[sig]) - { - old_signal_handler[sig] (sig); - } - exit (0); -} - -#include <signal.h> - void IOUtil_Startup (void) { char parfile[256]; @@ -102,15 +87,6 @@ void IOUtil_Startup (void) DECLARE_CCTK_PARAMETERS -#if 0 -{ -int i; -for (i = 0; i < 32; i++) -{ - old_signal_handler[i] = signal (i, new_signal_handler); -} -} -#endif CCTK_RegisterGHExtensionSetupGH (CCTK_RegisterGHExtension ("IO"), SetupGH); /* advertise the parameter file */ |