Code

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 37f21edb0f9023d1e3132999b75953e6e6cbec17..1080c806b8697a170c46eb3d834fa226e52481af 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);
 }