summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-dummy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-netdev-dummy.h')
-rw-r--r--src/network/networkd-netdev-dummy.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/network/networkd-netdev-dummy.h b/src/network/networkd-netdev-dummy.h
index 42da62ebe4..efe302267e 100644
--- a/src/network/networkd-netdev-dummy.h
+++ b/src/network/networkd-netdev-dummy.h
@@ -19,12 +19,11 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-typedef struct Dummy Dummy;
-
#include "networkd-netdev.h"
-struct Dummy {
+typedef struct Dummy {
NetDev meta;
-};
+} Dummy;
+DEFINE_NETDEV_CAST(DUMMY, Dummy);
extern const NetDevVTable dummy_vtable;