summaryrefslogtreecommitdiff
path: root/src/network/networkd-route.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-10-09 23:43:52 +0200
committerTom Gundersen <teg@jklm.no>2015-10-21 03:24:23 +0200
commited9e361a8a798f9fee353b5c7e0e23308e0d329f (patch)
tree7364a91ea53be278359af58c8b002d8c3e3d0cd9 /src/network/networkd-route.h
parentadda1ed94a04742ddacdc76dfa311816e1ed9f68 (diff)
networkd: route - simplify route_new()
Diffstat (limited to 'src/network/networkd-route.h')
-rw-r--r--src/network/networkd-route.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-route.h b/src/network/networkd-route.h
index e3ed1be866..7f2d7f37f4 100644
--- a/src/network/networkd-route.h
+++ b/src/network/networkd-route.h
@@ -46,7 +46,7 @@ struct Route {
};
int route_new_static(Network *network, unsigned section, Route **ret);
-int route_new(Route **ret, unsigned char rtm_protocol);
+int route_new(Route **ret);
void route_free(Route *route);
int route_configure(Route *route, Link *link, sd_netlink_message_handler_t callback);
int route_remove(Route *route, Link *link, sd_netlink_message_handler_t callback);