1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 07:46:38 +02:00

core: add parameter name in signal handler functions

This commit is contained in:
Sébastien Helleu
2025-01-26 08:48:51 +01:00
parent 68c70e5538
commit 4b7be27028
4 changed files with 33 additions and 9 deletions
+4 -1
View File
@@ -228,8 +228,11 @@ debug_dump_cb (const void *pointer, void *data,
*/
void
debug_sigsegv_cb (int)
debug_sigsegv_cb (int signo)
{
/* make C compiler happy */
(void) signo;
debug_dump (1);
unhook_all ();
gui_main_end (0);