summaryrefslogtreecommitdiff
path: root/listen.c
diff options
context:
space:
mode:
Diffstat (limited to 'listen.c')
-rw-r--r--listen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/listen.c b/listen.c
index 5749ea0..f85c2c2 100644
--- a/listen.c
+++ b/listen.c
@@ -15,7 +15,7 @@
#define __FAIL EXIT_FAILURE
#define BACKLOG 2
-int main () {
+int main (void) {
int sockfd = -1; // socket fd
int gai_result; // result from getaddrinfo