1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +02:00

Fix bug with weechat_plugin_end() function, now returns "int" everywhere

This commit is contained in:
Sebastien Helleu
2008-02-25 17:31:04 +01:00
parent 8d23a7b4da
commit 17804ea08b
6 changed files with 16 additions and 5 deletions
+3 -1
View File
@@ -459,7 +459,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin)
* weechat_plugin_end: shutdown Lua interface
*/
void
int
weechat_plugin_end (struct t_weechat_plugin *plugin)
{
/* make C compiler happy */
@@ -467,4 +467,6 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
/* unload all scripts */
weechat_lua_unload_all ();
return WEECHAT_RC_OK;
}