1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 17:53:13 +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
+8 -2
View File
@@ -150,8 +150,11 @@ gui_main_get_password (const char **prompt, char *password, int size)
*/
void
gui_main_signal_sigint (int)
gui_main_signal_sigint (int signo)
{
/* make C compiler happy */
(void) signo;
weechat_quit = 1;
}
@@ -253,8 +256,11 @@ gui_main_init ()
*/
void
gui_main_signal_sigwinch (int)
gui_main_signal_sigwinch (int signo)
{
/* make C compiler happy */
(void) signo;
gui_signal_sigwinch_received = 1;
}