summaryrefslogtreecommitdiff
path: root/src/network/netdev/macvlan.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/netdev/macvlan.h')
-rw-r--r--src/network/netdev/macvlan.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/netdev/macvlan.h b/src/network/netdev/macvlan.h
index dcc0a3fd35..b473f1e19f 100644
--- a/src/network/netdev/macvlan.h
+++ b/src/network/netdev/macvlan.h
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
-
typedef struct MacVlan MacVlan;
#include "netdev/netdev.h"
@@ -29,4 +28,4 @@ extern const NetDevVTable macvtap_vtable;
const char *macvlan_mode_to_string(MacVlanMode d) _const_;
MacVlanMode macvlan_mode_from_string(const char *d) _pure_;
-int config_parse_macvlan_mode(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
+CONFIG_PARSER_PROTOTYPE(config_parse_macvlan_mode);