utils_cache_mock: fix annotations
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 24 Jul 2016 18:27:48 +0000 (20:27 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 24 Jul 2016 18:27:48 +0000 (20:27 +0200)
It's __attribute__, not __attribute

Found with Solaris lint.

src/daemon/utils_cache_mock.c

index 37f21ed..1080c80 100644 (file)
@@ -26,8 +26,8 @@
 
 #include "utils_cache.h"
 
-gauge_t *uc_get_rate (__attribute((unused)) data_set_t const *ds,
-                      __attribute((unused)) value_list_t const *vl)
+gauge_t *uc_get_rate (__attribute__((unused)) data_set_t const *ds,
+                      __attribute__((unused)) value_list_t const *vl)
 {
   return (NULL);
 }