summaryrefslogtreecommitdiff
path: root/src/plugins/debug/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debug/debug.c')
-rw-r--r--src/plugins/debug/debug.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/debug/debug.c b/src/plugins/debug/debug.c
index 514b11fc0..fa154405e 100644
--- a/src/plugins/debug/debug.c
+++ b/src/plugins/debug/debug.c
@@ -86,8 +86,12 @@ debug_command_cb (void *data, struct t_gui_buffer *buffer, int argc,
*/
int
-weechat_plugin_init (struct t_weechat_plugin *plugin)
+weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
{
+ /* make C compiler happy */
+ (void) argc;
+ (void) argv;
+
weechat_plugin = plugin;
weechat_hook_command ("debug",