diff options
author | Thomas Haller <thaller@redhat.com> | 2016-07-05 14:34:53 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-07-05 23:08:23 +0200 |
commit | 87169e681a7f56ff10ff3b5c7f96695aaf2db0dd (patch) | |
tree | f464606c6df3317a16c7d92e6cd677a920c89771 /src/devices/nm-device-veth.h | |
parent | a040e447d0117db62c1a25295c8e67848bb4f530 (diff) | |
download | NetworkManager-87169e681a7f56ff10ff3b5c7f96695aaf2db0dd.tar.gz |
veth: refactor type definition of NMDeviceVeth
Embed the private data inside NMDeviceVeth structure and use NM_GOBJECT_PROPERTIES_DEFINE().
Diffstat (limited to 'src/devices/nm-device-veth.h')
-rw-r--r-- | src/devices/nm-device-veth.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/nm-device-veth.h b/src/devices/nm-device-veth.h index c7b8ec3ad0..3ba5af6939 100644 --- a/src/devices/nm-device-veth.h +++ b/src/devices/nm-device-veth.h @@ -34,8 +34,8 @@ G_BEGIN_DECLS #define NM_DEVICE_VETH_PEER "peer" -typedef NMDeviceEthernet NMDeviceVeth; -typedef NMDeviceEthernetClass NMDeviceVethClass; +typedef struct _NMDeviceVeth NMDeviceVeth; +typedef struct _NMDeviceVethClass NMDeviceVethClass; GType nm_device_veth_get_type (void); |