summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-09-22 09:30:36 +0200
committerThomas Haller <thaller@redhat.com>2014-09-22 16:32:01 +0200
commit1aeb0c6df3c281b62371adc523e0cfb432b8c6c5 (patch)
treea4efa26c7de3d628f5127fe58532460aac1768ef
parent351cf9b328ae30a959c63c10fd4bac273d71925f (diff)
downloadNetworkManager-1aeb0c6df3c281b62371adc523e0cfb432b8c6c5.tar.gz
nmtst: move #endif to hide NMTST_VARIANT_* macros if not needed
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r--include/nm-test-utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/nm-test-utils.h b/include/nm-test-utils.h
index f519bd90de..9c41306e93 100644
--- a/include/nm-test-utils.h
+++ b/include/nm-test-utils.h
@@ -1047,7 +1047,6 @@ typedef enum {
\
__connection_variant = g_variant_builder_end (&__connection_builder); \
} G_STMT_END;
-#endif
#define NMTST_VARIANT_ADD_SETTING(__setting_name, __setting_variant) \
G_STMT_START { \
@@ -1088,4 +1087,6 @@ typedef enum {
NMTST_VARIANT_ADD_PROPERTY (__setting_name, __property_name, __format_string, __value); \
} G_STMT_END
+#endif /* __NM_CONNECTION_H__ */
+
#endif /* __NM_TEST_UTILS_H__ */