From: Ruben Kerkhof Date: Tue, 1 Mar 2016 10:57:39 +0000 (+0100) Subject: redis: mark redis_handle_info as static X-Git-Tag: collectd-5.5.2~50 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=16c25021c6bda7a28bf71159b9a3827230a21b54;p=collectd.git redis: mark redis_handle_info as static Commit straight to 5.5. This plugin didn't exist in 5.4. --- diff --git a/src/redis.c b/src/redis.c index a1839c55..4007272c 100644 --- a/src/redis.c +++ b/src/redis.c @@ -294,7 +294,7 @@ static int redis_init (void) /* {{{ */ return (0); } /* }}} int redis_init */ -int redis_handle_info (char *node, char const *info_line, char const *type, char const *type_instance, char const *field_name, int ds_type) /* {{{ */ +static int redis_handle_info (char *node, char const *info_line, char const *type, char const *type_instance, char const *field_name, int ds_type) /* {{{ */ { char *str = strstr (info_line, field_name); static char buf[MAX_REDIS_VAL_SIZE];