diff --git a/src/perl.c b/src/perl.c
index e6b7c460d9b59a3e711361bb058a9473e6d98477..96ba802445b7e6e1aa56b2de17aeec597cda2a74 100644 (file)
--- a/src/perl.c
+++ b/src/perl.c
return;
} /* static void perl_log (int, const char *) */
-static int perl_notify (const notification_t *notif)
+static int perl_notify (const notification_t *notif,
+ user_data_t __attribute__((unused)) *user_data)
{
dTHX;
perl_run (aTHX);
plugin_register_log ("perl", perl_log, /* user_data = */ NULL);
- plugin_register_notification ("perl", perl_notify);
+ plugin_register_notification ("perl", perl_notify,
+ /* user_data = */ NULL);
plugin_register_init ("perl", perl_init);
plugin_register_read ("perl", perl_read);