summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting-ip-config.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-02-16 14:51:09 +0100
committerThomas Haller <thaller@redhat.com>2019-02-19 16:08:11 +0100
commitc3f6356a39caf6bc7b159be81ebaa05b929b62f4 (patch)
tree8035315517a32dd7ddd854e3601b2a587802d2cc /libnm-core/nm-setting-ip-config.h
parent83c1a189ffaf898e0640b1b9b058c548095076c2 (diff)
downloadNetworkManager-c3f6356a39caf6bc7b159be81ebaa05b929b62f4.tar.gz
docs: use numeric values in enum definitions in public headers
The public headers are parsed with gtk-doc. Define enum values as plain numbers, otherwise the documentation might have problems picking up the right value. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/126 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/83
Diffstat (limited to 'libnm-core/nm-setting-ip-config.h')
-rw-r--r--libnm-core/nm-setting-ip-config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm-core/nm-setting-ip-config.h b/libnm-core/nm-setting-ip-config.h
index 882a88b685..39cb36a43d 100644
--- a/libnm-core/nm-setting-ip-config.h
+++ b/libnm-core/nm-setting-ip-config.h
@@ -94,9 +94,9 @@ void nm_ip_route_unref (NMIPRoute *route);
gboolean nm_ip_route_equal (NMIPRoute *route,
NMIPRoute *other);
-enum {
+enum { /*< flags >*/
NM_IP_ROUTE_EQUAL_CMP_FLAGS_NONE = 0,
- NM_IP_ROUTE_EQUAL_CMP_FLAGS_WITH_ATTRS = (1LL << 0),
+ NM_IP_ROUTE_EQUAL_CMP_FLAGS_WITH_ATTRS = 0x1,
};
NM_AVAILABLE_IN_1_10