aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-21 14:49:11 +0000
committerOmar Polo <op@omarpolo.com>2021-01-21 14:49:11 +0000
commit33ac26a0e51e70ab31b03d6c2b3140595c3b4792 (patch)
treea7d3ef54d132e6ebd2097b41b35070b8d7591219
parent642b37d5acfd3b7865d3f9da1d202838e5449060 (diff)
fix prototypes
-rw-r--r--gmid.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gmid.h b/gmid.h
index a6b8781..18ad371 100644
--- a/gmid.h
+++ b/gmid.h
@@ -156,8 +156,8 @@ void yyerror(const char*);
int parse_portno(const char*);
void parse_conf(const char*);
void load_vhosts(struct tls_config*);
-int make_soket(int);
-int listener_main();
+int make_socket(int, int);
+int listener_main(void);
void usage(const char*);
/* provided by lex/yacc */
@@ -202,7 +202,7 @@ int recv_fd(int);
int executor_main(int);
/* sandbox.c */
-void sandbox();
+void sandbox(void);
/* utf8.c */
int valid_multibyte_utf8(struct parser*);