rrdcached plugin: use same attribute name for both prototypes
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 13 Feb 2019 17:45:53 +0000 (18:45 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 13 Feb 2019 18:12:01 +0000 (19:12 +0100)
src/rrdcached.c

index b5f0970..fe5e2d2 100644 (file)
@@ -59,7 +59,7 @@ static rrdcreate_config_t rrdcreate_config = {
  * Prototypes.
  */
 static int rc_write(const data_set_t *ds, const value_list_t *vl,
-                    user_data_t __attribute__((unused)) * user_data);
+                    __attribute__((unused)) user_data_t *ud);
 static int rc_flush(__attribute__((unused)) cdtime_t timeout,
                     const char *identifier,
                     __attribute__((unused)) user_data_t *ud);