summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-10-08 12:44:32 +0200
committerThomas Haller <thaller@redhat.com>2020-10-08 17:01:26 +0200
commit3cab307fa72b796eb9a61e7cfc22556bd9f6852a (patch)
tree5fcc762d3ccb8bda756379fdf0200ba52d042c28
parentfb2d11f1f9dba1bcdb713517d20969a479386d8e (diff)
downloadNetworkManager-3cab307fa72b796eb9a61e7cfc22556bd9f6852a.tar.gz
shared: enforce trailing semicolon after NM_UTILS_STRING_TABLE_LOOKUP_DEFINE()
-rw-r--r--shared/nm-glib-aux/nm-shared-utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/nm-glib-aux/nm-shared-utils.h b/shared/nm-glib-aux/nm-shared-utils.h
index 83e1c284f9..f8c44755cd 100644
--- a/shared/nm-glib-aux/nm-shared-utils.h
+++ b/shared/nm-glib-aux/nm-shared-utils.h
@@ -2058,7 +2058,8 @@ _nm_utils_hwaddr_ntoa(gconstpointer addr,
{ \
unknown_val_cmd; \
} \
- }
+ } \
+ _NM_DUMMY_STRUCT_FOR_TRAILING_SEMICOLON
#define NM_UTILS_STRING_TABLE_LOOKUP_STRUCT_DEFINE(fcn_name, \
result_type, \