summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-30 12:11:15 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-02-06 23:43:46 +0100
commit8db240507d6fdc417e24b2e3a5edf2123506a5b2 (patch)
treee546418d7c7fa51ad40e69f8bdbc556368fd3ab2
parent60063c9dee223ae84779084c48cb482447119429 (diff)
ax25d: Make several functions static.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--ax25/ax25d.c11
1 files 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;