aboutsummaryrefslogtreecommitdiff
path: root/src/mm-error-helpers.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-12-25 13:19:11 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-01-30 11:59:14 +0100
commitde3a2f5d2e7586e02098cd7cc9c50fbeb3cdd5b3 (patch)
treea6745bd6d5cc09e89eaaf5784253d0912cc5d9fd /src/mm-error-helpers.h
parenta246c36087986829f26ca624553fd4940c37a54b (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-error-helpers.h')
0 files changed, 0 insertions, 0 deletions