X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Ftokyotyrant.c;h=b618ae323a3e1daec1db5a150c5f81721fdc7bf5;hb=9bf68f1807313f29cad9f68873c8feab21ad4746;hp=6618dc1a9422d4d3053039c0315f669cef4a65e6;hpb=5528a3df5cc55d083b5aa1926843e810467070a5;p=collectd.git diff --git a/src/tokyotyrant.c b/src/tokyotyrant.c index 6618dc1a..b618ae32 100644 --- a/src/tokyotyrant.c +++ b/src/tokyotyrant.c @@ -25,10 +25,6 @@ #include "utils_cache.h" #include "utils_parse_option.h" -#include -#include -#include - #include #define DEFAULT_HOST "127.0.0.1" @@ -83,7 +79,7 @@ static int tt_config (const char *key, const char *value) return (0); } -static void printerr() +static void printerr (void) { int ecode = tcrdbecode(rdb); ERROR ("tokyotyrant plugin: error: %d, %s",