Commit dc61c198 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Make change_route_metric private.

parent 6e77b66d
...@@ -234,7 +234,7 @@ switch_routes(struct route *old, struct route *new) ...@@ -234,7 +234,7 @@ switch_routes(struct route *old, struct route *new)
local_notify_route(new, LOCAL_CHANGE); local_notify_route(new, LOCAL_CHANGE);
} }
void static void
change_route_metric(struct route *route, unsigned newmetric) change_route_metric(struct route *route, unsigned newmetric)
{ {
int old, new; int old, new;
......
...@@ -52,7 +52,6 @@ void flush_network_routes(struct network *net, int v4only); ...@@ -52,7 +52,6 @@ void flush_network_routes(struct network *net, int v4only);
void install_route(struct route *route); void install_route(struct route *route);
void uninstall_route(struct route *route); void uninstall_route(struct route *route);
void switch_route(struct route *old, struct route *new); void switch_route(struct route *old, struct route *new);
void change_route_metric(struct route *route, unsigned newmetric);
int route_feasible(struct route *route); int route_feasible(struct route *route);
int route_old(struct route *route); int route_old(struct route *route);
int route_expired(struct route *route); int route_expired(struct route *route);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment