Code

src/daemon/plugin.c: avoid deprecated statement
authorMarc Fournier <marc.fournier@camptocamp.com>
Tue, 10 Jan 2017 20:17:23 +0000 (21:17 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Tue, 10 Jan 2017 20:17:23 +0000 (21:17 +0100)
As suggested by @rubenk in #2122

src/daemon/plugin.c

index 2117662fa35627e5f5cdcdc2dc4e7f1ca4ecfce8..302c777c864e082322e680754d09b3646fee713a 100644 (file)
@@ -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' */