diff --git a/src/tokyotyrant.c b/src/tokyotyrant.c
index 7fa621bfa4e9d9d0ea4cd196e80c7bcd9b42c957..7c6d9129e709ee9b71a30a3a57848fc9fca56b06 100644 (file)
--- a/src/tokyotyrant.c
+++ b/src/tokyotyrant.c
**/
#include "collectd.h"
+
#include "plugin.h"
#include "common.h"
#include "utils_cache.h"
return (0);
}
-static void printerr()
+static void printerr (void)
{
int ecode = tcrdbecode(rdb);
ERROR ("tokyotyrant plugin: error: %d, %s",
static void tt_open_db (void)
{
- char* host = NULL;
- int port = DEFAULT_PORT;
+ const char *host;
+ int port = DEFAULT_PORT;
if (rdb != NULL)
return;