summaryrefslogtreecommitdiffstats
path: root/ax25rtd/cache_ctl.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-31 11:32:49 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-01-31 11:32:49 +0100
commit1de0ea4abd7153c6fcdbdbac6048a1e46f673fc2 (patch)
treec81a8d6c58fcee19cead9cce8122ec35342428b1 /ax25rtd/cache_ctl.c
parentaa1bfde879f3c5885199d7bb4720efaabff67d8c (diff)
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 <ralf@linux-mips.org>
Diffstat (limited to 'ax25rtd/cache_ctl.c')
-rw-r--r--ax25rtd/cache_ctl.c4
1 files changed, 2 insertions, 2 deletions
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;