projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use kern.cp_times sysctl for FreeBSD smp support
[collectd.git]
/
src
/
notify_desktop.c
diff --git
a/src/notify_desktop.c
b/src/notify_desktop.c
index
2e62e88
..
839bc61
100644
(file)
--- 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 */
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;
{
NotifyNotification *notification = NULL;
NotifyUrgency urgency = NOTIFY_URGENCY_LOW;
@@
-145,7
+146,8
@@
static int c_notify_init (void)
free (spec_version);
}
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 */
plugin_register_shutdown ("notify_desktop", c_notify_shutdown);
return 0;
} /* c_notify_init */