From: Ruben Kerkhof Date: Fri, 4 Mar 2016 17:03:19 +0000 (+0100) Subject: tail plugin: mark a few variables as static X-Git-Tag: collectd-5.6.0~450^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3429ecee702276c77aa529b85dd7acec3a6a13d6;p=collectd.git tail plugin: mark a few variables as static --- diff --git a/src/tail.c b/src/tail.c index 5c74e3df..ffdba8ae 100644 --- a/src/tail.c +++ b/src/tail.c @@ -56,9 +56,9 @@ struct ctail_config_match_s }; typedef struct ctail_config_match_s ctail_config_match_t; -cu_tail_match_t **tail_match_list = NULL; -size_t tail_match_list_num = 0; -cdtime_t tail_match_list_intervals[255]; +static cu_tail_match_t **tail_match_list = NULL; +static size_t tail_match_list_num = 0; +static cdtime_t tail_match_list_intervals[255]; static int ctail_config_add_match_dstype (ctail_config_match_t *cm, oconfig_item_t *ci)