diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2020-06-29 20:39:33 +0200 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2020-06-29 20:39:33 +0200 |
commit | 13198c13cd9d610e19cc8ab18a917b4b1505b123 (patch) | |
tree | 4884eb9f622d733ef3b94de22fbf95022335fda3 | |
parent | daca7b9549b8426af1678d039af2f854588a5edd (diff) |
server: Local functions are static
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |