diff options
author | Thomas Haller <thaller@redhat.com> | 2018-07-10 08:29:21 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-07-24 09:39:09 +0200 |
commit | 0cbf2c8c2ae3311bae688449dea4cfa21f4293e6 (patch) | |
tree | 22660a839e00cb84404df5aa218b38f2a269e40b /src/devices/nm-device-ethernet.c | |
parent | b9ae79c273b069f48ea458855f5a3f1873b99e9c (diff) | |
download | NetworkManager-0cbf2c8c2ae3311bae688449dea4cfa21f4293e6.tar.gz |
device: wrap NM_DEVICE_CLASS_DECLARE_TYPES() macro with do-while block
Diffstat (limited to 'src/devices/nm-device-ethernet.c')
-rw-r--r-- | src/devices/nm-device-ethernet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-ethernet.c b/src/devices/nm-device-ethernet.c index 54d3dec3af..d6b3d4e20d 100644 --- a/src/devices/nm-device-ethernet.c +++ b/src/devices/nm-device-ethernet.c @@ -1754,7 +1754,7 @@ nm_device_ethernet_class_init (NMDeviceEthernetClass *klass) g_type_class_add_private (object_class, sizeof (NMDeviceEthernetPrivate)); - NM_DEVICE_CLASS_DECLARE_TYPES (klass, NM_SETTING_WIRED_SETTING_NAME, NM_LINK_TYPE_ETHERNET) + NM_DEVICE_CLASS_DECLARE_TYPES (klass, NM_SETTING_WIRED_SETTING_NAME, NM_LINK_TYPE_ETHERNET); object_class->dispose = dispose; object_class->finalize = finalize; |