src/daemon/plugin.h: Enlarge the DATA_MAX_NAME_LEN.
[collectd.git] / src / daemon / utils_cache.c
index 321747d..8dfe359 100644 (file)
@@ -27,6 +27,7 @@
  **/
 
 #include "collectd.h"
+
 #include "common.h"
 #include "plugin.h"
 #include "utils_avltree.h"
@@ -34,7 +35,6 @@
 #include "meta_data.h"
 
 #include <assert.h>
-#include <pthread.h>
 
 typedef struct cache_entry_s
 {
@@ -879,7 +879,7 @@ int uc_inc_hits (const data_set_t *ds, const value_list_t *vl, int step)
 /*
  * Iterator interface
  */
-uc_iter_t *uc_get_iterator ()
+uc_iter_t *uc_get_iterator (void)
 {
   uc_iter_t *iter;