X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Ffscache.c;h=e875da8de7b6e15ee8e8481e53d6f891284ab7ee;hp=c410ea39d58ea472198a5c30ddf0877f11d95829;hb=54619dc85fd308b21ed09a0271e5c7383c7921b9;hpb=632cca47086de6cb23c32fc35802da1a19f40875 diff --git a/src/fscache.c b/src/fscache.c index c410ea39..e875da8d 100644 --- a/src/fscache.c +++ b/src/fscache.c @@ -21,11 +21,11 @@ #include "collectd.h" +#include "plugin.h" +#include "utils/common/common.h" #include /* a header needed for FILE */ #include /* used for atoi */ #include /* a header needed for scanf function */ -#include "common.h" -#include "plugin.h" #if !KERNEL_LINUX #error "This module only supports the Linux implementation of fscache" @@ -209,13 +209,11 @@ static int fscache_read(void) { } else { printf("cant open file\n"); - return (-1); + return -1; } - return (0); + return 0; } void module_register(void) { plugin_register_read("fscache", fscache_read); } /* void module_register */ - -/* vim: set sw=4 sts=4 et : */