diff options
author | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2006-05-08 16:04:12 +0000 |
---|---|---|
committer | tradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a> | 2006-05-08 16:04:12 +0000 |
commit | 783c8163b39f692cafd93fad715e9040937d7bfc (patch) | |
tree | ec9c4b82976326ce3b03a1e44e98c2355c2cc428 | |
parent | 2258a4ca88ff3020c9456c1aa90797bfe5b536fc (diff) |
Remove old unused test code.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@238 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
-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 */ |