From 8db240507d6fdc417e24b2e3a5edf2123506a5b2 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 30 Jan 2017 12:11:15 +0100 Subject: ax25d: Make several functions static. Signed-off-by: Ralf Baechle --- ax25/ax25d.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ax25/ax25d.c b/ax25/ax25d.c index 8da0038..a172c27 100644 --- a/ax25/ax25d.c +++ b/ax25/ax25d.c @@ -205,7 +205,8 @@ static int maxfd = -1; /*--------------------------------------------------------------------------*/ -void update_maxfd(void) { +static void update_maxfd(void) +{ struct axlist *paxl; FD_ZERO(&fdread); @@ -220,7 +221,8 @@ void update_maxfd(void) { /*--------------------------------------------------------------------------*/ -void err_config(void) { +static void err_config(void) +{ if (AXL == NULL) { if (Logging) syslog(LOG_ERR, "config file reload error, exiting"); @@ -233,14 +235,15 @@ void err_config(void) { /*--------------------------------------------------------------------------*/ -void _ReadConfig(int dummy) +static void _ReadConfig(int dummy) { ReadConfig(); } /*--------------------------------------------------------------------------*/ -void reload_timer(int sec) { +static void reload_timer(int sec) +{ struct itimerval itv; itv.it_value.tv_sec = sec; -- cgit v1.2.3