From 2a55c450bdfdf92ee76002443fc919bf28aabbc9 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 10 Sep 2014 10:59:40 -0500 Subject: ethernet: port to internal device factory --- src/devices/nm-device-ethernet.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src/devices/nm-device-ethernet.h') diff --git a/src/devices/nm-device-ethernet.h b/src/devices/nm-device-ethernet.h index c0ad7f2e24..ff21bcad99 100644 --- a/src/devices/nm-device-ethernet.h +++ b/src/devices/nm-device-ethernet.h @@ -45,21 +45,11 @@ typedef enum #define NM_DEVICE_ETHERNET_PERMANENT_HW_ADDRESS "perm-hw-address" #define NM_DEVICE_ETHERNET_SPEED "speed" -typedef struct { - NMDevice parent; -} NMDeviceEthernet; - -typedef struct { - NMDeviceClass parent; - -} NMDeviceEthernetClass; - +typedef NMDevice NMDeviceEthernet; +typedef NMDeviceClass NMDeviceEthernetClass; GType nm_device_ethernet_get_type (void); - -NMDevice *nm_device_ethernet_new (NMPlatformLink *platform_device); - G_END_DECLS #endif /* NM_DEVICE_ETHERNET_H */ -- cgit v1.2.1