diff --git a/src/notify_desktop.c b/src/notify_desktop.c
index c2d97520ed99c9bcbb8839900ea1858ba39731bf..ef7b95b873b4efa9a6d3d35a6bd462390ae1bfa8 100644 (file)
--- a/src/notify_desktop.c
+++ b/src/notify_desktop.c
*/
#include "collectd.h"
+
#include "common.h"
#include "plugin.h"
#include "configfile.h"
static int c_notify_config (oconfig_item_t *ci)
{
- int i = 0;
-
- for (i = 0; i < ci->children_num; ++i) {
+ for (int i = 0; i < ci->children_num; ++i) {
oconfig_item_t *c = ci->children + i;
if (0 == strcasecmp (c->key, "OkayTimeout"))