diff options
author | Thomas Haller <thaller@redhat.com> | 2019-02-16 14:51:09 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-02-19 16:08:11 +0100 |
commit | c3f6356a39caf6bc7b159be81ebaa05b929b62f4 (patch) | |
tree | 8035315517a32dd7ddd854e3601b2a587802d2cc /libnm-core/nm-setting-ip-config.h | |
parent | 83c1a189ffaf898e0640b1b9b058c548095076c2 (diff) | |
download | NetworkManager-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.h | 4 |
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 |