tidying
[exim.git] / src / src / exim.c
index 14c3359caa686570a7c38eb2321ad2ee8ff36fd5..786d24e4fe30831eaaa66461e55f0f16762a1eaa 100644 (file)
@@ -265,8 +265,8 @@ exit(1);
 ***********************************************/
 
 #define STACKDUMP_MAX 24
-void
-stackdump(ucontext_t * ucontext)
+static void
+stackdump(void)
 {
 #ifndef NO_EXECINFO
 void * buf[STACKDUMP_MAX];
@@ -309,7 +309,7 @@ else
   log_write(0, LOG_MAIN|LOG_PANIC, "SIGSEGV (maybe attempt to write to immutable memory)");
 if (process_info_len > 0)
   log_write(0, LOG_MAIN|LOG_PANIC, "SIGSEGV (%.*s)", process_info_len, process_info);
-stackdump(uctx);
+stackdump();
 signal(SIGSEGV, SIG_DFL);
 kill(getpid(), sig);
 }