X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnotify_desktop.c;h=839bc61027180599d67f6d70600f42fb2465e7c6;hb=be99a844a40d7037a910d37a894988b807631a6e;hp=2e62e88c46fa61c3ea3b5200524d88fdb12ac779;hpb=efbeffe4cc730d6e14ba45dddfee9ab5229f07dc;p=collectd.git diff --git a/src/notify_desktop.c b/src/notify_desktop.c index 2e62e88c..839bc610 100644 --- a/src/notify_desktop.c +++ b/src/notify_desktop.c @@ -72,7 +72,8 @@ static int c_notify_config (oconfig_item_t *ci) return 0; } /* c_notify_config */ -static int c_notify (const notification_t *n) +static int c_notify (const notification_t *n, + user_data_t __attribute__((unused)) *user_data) { NotifyNotification *notification = NULL; NotifyUrgency urgency = NOTIFY_URGENCY_LOW; @@ -145,7 +146,8 @@ static int c_notify_init (void) free (spec_version); } - plugin_register_notification ("notify_desktop", c_notify); + plugin_register_notification ("notify_desktop", c_notify, + /* user_data = */ NULL); plugin_register_shutdown ("notify_desktop", c_notify_shutdown); return 0; } /* c_notify_init */