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
This commit is contained in:
parent
d7c6c424e8
commit
20c50fd7ef
@ -246,7 +246,7 @@ notification_plugin_init (hexchat_plugin *plugin_handle, char **plugin_name, cha
|
|||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
notification_plugin_deinit (void)
|
notification_plugin_deinit (void *unused_param)
|
||||||
{
|
{
|
||||||
notification_backend_deinit ();
|
notification_backend_deinit ();
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user