aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c4
1 files 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
}