summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-tun.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/nm-device-tun.h')
-rw-r--r--src/devices/nm-device-tun.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/devices/nm-device-tun.h b/src/devices/nm-device-tun.h
index 0ff1db1eca..393c58018f 100644
--- a/src/devices/nm-device-tun.h
+++ b/src/devices/nm-device-tun.h
@@ -41,19 +41,11 @@ G_BEGIN_DECLS
#define NM_DEVICE_TUN_VNET_HDR "vnet-hdr"
#define NM_DEVICE_TUN_MULTI_QUEUE "multi-queue"
-typedef struct {
- NMDeviceGeneric parent;
-} NMDeviceTun;
-
-typedef struct {
- NMDeviceGenericClass parent;
-
-} NMDeviceTunClass;
+typedef NMDeviceGeneric NMDeviceTun;
+typedef NMDeviceGenericClass NMDeviceTunClass;
GType nm_device_tun_get_type (void);
-NMDevice *nm_device_tun_new (NMPlatformLink *platform_device);
-
G_END_DECLS
#endif /* NM_DEVICE_TUN_H */