Code

sensors plugin: malloc + memset -> calloc
[collectd.git] / src / daemon / configfile.h
index 5bc9b305615ee3404d8d373dd5544de7e88e433d..648246bd2d22076178afb4f64df2bbadd97c74cc 100644 (file)
@@ -87,7 +87,7 @@ int cf_register_complex (const char *type, int (*callback) (oconfig_item_t *));
  *  Returns zero upon success and non-zero otherwise. A error-message will have
  *  been printed in this case.
  */
-int cf_read (char *filename);
+int cf_read (const char *filename);
 
 int global_option_set (const char *option, const char *value);
 const char *global_option_get (const char *option);