Code

Merge remote-tracking branch 'github/pr/2006'
[collectd.git] / src / daemon / utils_cache.h
index efef31e467409c960d30079acb38ddc7a4508bb4..e020429bee06c999b4fb0fd9faa3dc0ace21592c 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * collectd - src/utils_cache.h
+ * collectd - utils_cache.h
  * Copyright (C) 2007       Florian octo Forster
  * Copyright (C) 2016       Sebastian tokkee Harl
  *
@@ -73,7 +73,7 @@ typedef struct uc_iter_s uc_iter_t;
  * RETURN VALUE
  *   An iterator object on success or NULL else.
  */
-uc_iter_t *uc_get_iterator ();
+uc_iter_t *uc_get_iterator (void);
 
 /*
  * NAME
@@ -85,9 +85,9 @@ uc_iter_t *uc_get_iterator ();
  *
  * PARAMETERS
  *   `iter'     The iterator object to advance.
- *   `ret_name' Pointer to a string where to store the name. The returned
- *              value is a copy of the value and has to be freed by the
- *              caller.
+ *   `ret_name' Optional pointer to a string where to store the name. If not
+ *              NULL, the returned value is a copy of the value and has to be
+ *              freed by the caller.
  *
  * RETURN VALUE
  *   Zero upon success or non-zero if the iterator ie NULL or no further