diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-12-25 13:19:11 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-01-30 11:59:14 +0100 |
commit | de3a2f5d2e7586e02098cd7cc9c50fbeb3cdd5b3 (patch) | |
tree | a6745bd6d5cc09e89eaaf5784253d0912cc5d9fd /src/mm-plugin.c | |
parent | a246c36087986829f26ca624553fd4940c37a54b (diff) |
utils: fix warnings with -Wredundant-decls
In file included from mm-sleep-monitor.c:30:
mm-utils.h:28:18: error: redundant redeclaration of ‘singleton_instance’ [-Werror=redundant-decls]
e 28 | static TYPE *singleton_instance
| ^~~~~~~~~~~~~~~~~~
mm-utils.h:31:5: note: in expansion of macro ‘MM_DEFINE_SINGLETON_INSTANCE’
31 | MM_DEFINE_SINGLETON_INSTANCE (TYPE); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
mm-utils.h:65:5: note: in expansion of macro ‘MM_DEFINE_SINGLETON_WEAK_REF’
65 | MM_DEFINE_SINGLETON_WEAK_REF (TYPE); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'src/mm-plugin.c')
0 files changed, 0 insertions, 0 deletions