Enable -Weverything, fix a ton of bugs.

This commit is contained in:
Ian Gulliver
2016-02-25 23:37:37 -08:00
parent fe2486c398
commit 19a9d498bd
40 changed files with 220 additions and 184 deletions

View File

@@ -12,10 +12,10 @@ struct peer {
extern uint32_t peer_count_in, peer_count_out;
void peer_init();
void peer_cleanup();
void peer_shutdown();
void peer_init(void);
void peer_cleanup(void);
void peer_shutdown(int signal);
void peer_epoll_add(struct peer *, uint32_t);
void peer_epoll_del(struct peer *);
void peer_call(struct peer *);
void peer_loop();
void peer_loop(void);