summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-ethernet.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2014-09-10 10:59:40 -0500
committerDan Williams <dcbw@redhat.com>2014-09-11 12:50:16 -0500
commit2a55c450bdfdf92ee76002443fc919bf28aabbc9 (patch)
tree546b18494bbdb15aacfacd613fe127e2bffa996e /src/devices/nm-device-ethernet.h
parent388e53b1808ad49809392784899809631f372d4c (diff)
downloadNetworkManager-2a55c450bdfdf92ee76002443fc919bf28aabbc9.tar.gz
ethernet: port to internal device factory
Diffstat (limited to 'src/devices/nm-device-ethernet.h')
-rw-r--r--src/devices/nm-device-ethernet.h14
1 files changed, 2 insertions, 12 deletions
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 */