projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6ce09a
)
utils_cache_mock: fix annotations
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 24 Jul 2016 18:27:48 +0000
(20:27 +0200)
committer
Ruben 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
patch
|
blob
|
history
diff --git
a/src/daemon/utils_cache_mock.c
b/src/daemon/utils_cache_mock.c
index
37f21ed
..
1080c80
100644
(file)
--- a/
src/daemon/utils_cache_mock.c
+++ b/
src/daemon/utils_cache_mock.c
@@
-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);
}