From 1de0ea4abd7153c6fcdbdbac6048a1e46f673fc2 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 31 Jan 2017 11:32:49 +0100 Subject: Sort out variable and function declarations. - Make static what can be made static. - Add declaration where they were missing. - Don't define variables in headers. - Move declaations to the proper locations. - Pick up declarations from the proper headers. Signed-off-by: Ralf Baechle --- ax25rtd/cache_ctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ax25rtd/cache_ctl.c') diff --git a/ax25rtd/cache_ctl.c b/ax25rtd/cache_ctl.c index 444fc08..6882a24 100644 --- a/ax25rtd/cache_ctl.c +++ b/ax25rtd/cache_ctl.c @@ -216,7 +216,7 @@ ax25_rt_entry *update_ax25_route(config * config, ax25_address * call, return bp; } -ip_rt_entry *remove_ip_route(ip_rt_entry * bp) +static ip_rt_entry *remove_ip_route(ip_rt_entry * bp) { ip_rt_entry *bp2; @@ -235,7 +235,7 @@ ip_rt_entry *remove_ip_route(ip_rt_entry * bp) return bp2; } -ax25_rt_entry *remove_ax25_route(ax25_rt_entry * bp) +static ax25_rt_entry *remove_ax25_route(ax25_rt_entry * bp) { ax25_rt_entry *bp2; ip_rt_entry *iprt; -- cgit v1.2.3