From 13198c13cd9d610e19cc8ab18a917b4b1505b123 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Mon, 29 Jun 2020 20:39:33 +0200 Subject: server: Local functions are static --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index bec763f..03bf7b0 100644 --- a/main.c +++ b/main.c @@ -131,7 +131,7 @@ static bool timeout_callback(int fd){ } #ifndef __APPLE__ -void srandomdev(void){ +static void srandomdev(void){ FILE *f=fopen("/dev/urandom","r"); assert(f); unsigned int seed; @@ -142,7 +142,7 @@ void srandomdev(void){ } #endif -void signal_handler(int sig){ +static void signal_handler(int sig){ if(sig==SIGPIPE){ // ignore } -- cgit v1.2.3-70-g09d2