aboutsummaryrefslogtreecommitdiff
path: root/lib/tests
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests')
-rw-r--r--lib/tests/test_tcp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tests/test_tcp.c b/lib/tests/test_tcp.c
index ae6dc1f4..114252b4 100644
--- a/lib/tests/test_tcp.c
+++ b/lib/tests/test_tcp.c
@@ -21,10 +21,11 @@
#include "tap.h"
int
-main (int argc, char **argv)
+main(void)
{
- char** server_expect;
+ char **server_expect;
int server_expect_count = 3;
+
plan_tests(9);
server_expect = malloc(sizeof(char*) * server_expect_count);
@@ -55,4 +56,3 @@ main (int argc, char **argv)
return exit_status();
}
-