From 80855de37d38b5b5e00c8d2f765e60b586962536 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 25 Jul 2017 20:44:32 +0200 Subject: ax25ipd: Make function do_stats() static. It's only being used from within ax25ipd.c. Signed-off-by: Ralf Baechle --- ax25ipd/ax25ipd.c | 2 +- ax25ipd/ax25ipd.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ax25ipd/ax25ipd.c b/ax25ipd/ax25ipd.c index f2653ab..12d6064 100644 --- a/ax25ipd/ax25ipd.c +++ b/ax25ipd/ax25ipd.c @@ -198,7 +198,7 @@ void greet_world(void) fflush(stdout); } -void do_stats(void) +static void do_stats(void) { int save_loglevel; diff --git a/ax25ipd/ax25ipd.h b/ax25ipd/ax25ipd.h index 8f52067..d554b3e 100644 --- a/ax25ipd/ax25ipd.h +++ b/ax25ipd/ax25ipd.h @@ -178,7 +178,6 @@ int ok_crc(unsigned char *, int); /* ax25ipd.c */ int main(int, char **); void greet_world(void); -void do_stats(void); void hupper(int); void usr1_handler(int); void int_handler(int); -- cgit v1.2.3