summaryrefslogtreecommitdiff
path: root/src/os/unix/crashlog_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/crashlog_unix.cpp')
-rw-r--r--src/os/unix/crashlog_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/crashlog_unix.cpp b/src/os/unix/crashlog_unix.cpp
index 0c2690610..ed7f2127f 100644
--- a/src/os/unix/crashlog_unix.cpp
+++ b/src/os/unix/crashlog_unix.cpp
@@ -143,7 +143,7 @@ static const int _signals_to_handle[] = { SIGSEGV, SIGABRT, SIGFPE, SIGBUS };
* @note Not static so it shows up in the backtrace.
* @param signum the signal that caused us to crash.
*/
-void CDECL HandleCrash(int signum)
+static void CDECL HandleCrash(int signum)
{
/* Disable all handling of signals by us, so we don't go into infinite loops. */
for (const int *i = _signals_to_handle; i != endof(_signals_to_handle); i++) {