diff options
author | Adrian <git@nexadn.de> | 2022-08-21 20:46:21 +0200 |
---|---|---|
committer | Patrick <tingping@tingping.se> | 2022-08-26 12:40:15 -0500 |
commit | 20c50fd7ef6e027c0e84a5dac48b95e229f36134 (patch) | |
tree | 65b14c5f8284a7d79b50d23544d781f70bd814d2 /src/fe-gtk | |
parent | d7c6c424e8c078d3e5a28c830ff3f6f62da8b39a (diff) |
notification_plugin_deinit: Set function signature to int(void *)
Previously the function signature was inconsistent throughout src/fe-gtk/plugin-notification.{h,c}: One file had the signature int(void), while the other had int(void *). Since this type mismatch might lead to problems (especially with LTO) and the (possibly provided) function argument isn't used in the function's definition, this commit sets int(void *) as function signature for both the declaration and definition of the function. Fixes: https://github.com/hexchat/hexchat/issues/2726
Diffstat (limited to 'src/fe-gtk')
-rw-r--r-- | src/fe-gtk/plugin-notification.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/plugin-notification.c b/src/fe-gtk/plugin-notification.c index 875b50f4..fc71d22b 100644 --- a/src/fe-gtk/plugin-notification.c +++ b/src/fe-gtk/plugin-notification.c @@ -246,7 +246,7 @@ notification_plugin_init (hexchat_plugin *plugin_handle, char **plugin_name, cha int -notification_plugin_deinit (void) +notification_plugin_deinit (void *unused_param) { notification_backend_deinit (); return 1; |