summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-05-30 17:55:12 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2022-06-02 16:21:31 +0100
commit188691cb2c99e98d54d79c5a2a2f5b09cdab8a4c (patch)
tree61db35eafe2c31045f6bf32896ffbe9997f621ea /src
parent48ea675fee2d5fee8d33c525e28727b69114cfce (diff)
tidying
Diffstat (limited to 'src')
-rw-r--r--src/src/exim.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/src/exim.c b/src/src/exim.c
index 14c3359ca..786d24e4f 100644
--- a/src/src/exim.c
+++ b/src/src/exim.c
@@ -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);
}