From: Marc Fournier Date: Tue, 10 Jan 2017 20:17:23 +0000 (+0100) Subject: src/daemon/plugin.c: avoid deprecated statement X-Git-Tag: collectd-5.7.1~1^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=fbd00d896fca1acad679a4ca9175b0080ef3ffeb;p=collectd.git src/daemon/plugin.c: avoid deprecated statement As suggested by @rubenk in #2122 --- diff --git a/src/daemon/plugin.c b/src/daemon/plugin.c index 2117662f..302c777c 100644 --- a/src/daemon/plugin.c +++ b/src/daemon/plugin.c @@ -153,7 +153,7 @@ static const char *plugin_get_dir(void) { return (plugindir); } -static int plugin_update_internal_statistics() { /* {{{ */ +static int plugin_update_internal_statistics(void) { /* {{{ */ gauge_t copy_write_queue_length = (gauge_t)write_queue_length; /* Initialize `vl' */