From: Vincent Brillault Date: Tue, 23 Sep 2014 19:40:46 +0000 (+0200) Subject: Turbostat: complex read register is now useless X-Git-Tag: collectd-5.5.0~24^2~37 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=70c0e25a63b35c6a2dc056932eba537cc2ae1b13;p=collectd.git Turbostat: complex read register is now useless --- diff --git a/src/turbostat.c b/src/turbostat.c index 2f07a582..276159da 100644 --- a/src/turbostat.c +++ b/src/turbostat.c @@ -1450,7 +1450,7 @@ err: } static int -turbostat_read(user_data_t * not_used) +turbostat_read(void) { int ret; @@ -1532,7 +1532,7 @@ turbostat_init(void) DO_OR_GOTO_ERR(setup_all_buffers()); - plugin_register_complex_read(NULL, PLUGIN_NAME, turbostat_read, NULL, NULL); + plugin_register_read(PLUGIN_NAME, turbostat_read); return 0; err: