projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/plugin.[ch]: Don't use unnamed unions.
[collectd.git]
/
src
/
plugin.h
diff --git
a/src/plugin.h
b/src/plugin.h
index
3ffde46
..
dc3bbb0
100644
(file)
--- a/
src/plugin.h
+++ b/
src/plugin.h
@@
-114,12
+114,12
@@
typedef struct notification_meta_s
enum notification_meta_type_e type;
union
{
enum notification_meta_type_e type;
union
{
- const char *
value
_string;
- int64_t
value
_signed_int;
- uint64_t
value
_unsigned_int;
- double
value
_double;
- bool
value
_boolean;
- };
+ const char *
nm
_string;
+ int64_t
nm
_signed_int;
+ uint64_t
nm
_unsigned_int;
+ double
nm
_double;
+ bool
nm
_boolean;
+ }
nm_value
;
struct notification_meta_s *next;
} notification_meta_t;
struct notification_meta_s *next;
} notification_meta_t;