From 35678eaa6ad0e847930711352da07e9912adf885 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Tue, 3 Apr 2018 21:48:27 +0200 Subject: [PATCH] filecount plugin: mark function as static Fixes a build warning: CC src/filecount.lo src/filecount.c:66:6: warning: no previous prototype for function 'fc_free_dir' [-Wmissing-prototypes] void fc_free_dir(fc_directory_conf_t *dir) { ^ 1 warning generated. --- src/filecount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filecount.c b/src/filecount.c index 7842aa61..67308f41 100644 --- a/src/filecount.c +++ b/src/filecount.c @@ -63,7 +63,7 @@ typedef struct fc_directory_conf_s fc_directory_conf_t; static fc_directory_conf_t **directories = NULL; static size_t directories_num = 0; -void fc_free_dir(fc_directory_conf_t *dir) { +static void fc_free_dir(fc_directory_conf_t *dir) { sfree(dir->path); sfree(dir->plugin_name); sfree(dir->instance); -- 2.11.0