From: Florian Forster Date: Sun, 2 Sep 2012 10:41:48 +0000 (+0200) Subject: memcached plugin: Rename config callback (add prefix). X-Git-Tag: collectd-5.2.0~72 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a5ccf4f6f8da40bae1947a2128a5d379c8f29dce;p=collectd.git memcached plugin: Rename config callback (add prefix). --- diff --git a/src/memcached.c b/src/memcached.c index 9dbf6675..832af3ad 100644 --- a/src/memcached.c +++ b/src/memcached.c @@ -348,7 +348,7 @@ static int config_add_instance(oconfig_item_t *ci) return (0); } -static int config (oconfig_item_t *ci) +static int memcached_config (oconfig_item_t *ci) { int status = 0; int i; @@ -619,5 +619,5 @@ static int memcached_read (user_data_t *user_data) void module_register (void) { - plugin_register_complex_config ("memcached", config); + plugin_register_complex_config ("memcached", memcached_config); }