diff options
Diffstat (limited to 'tests/tcpflood.c')
-rw-r--r-- | tests/tcpflood.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/tcpflood.c b/tests/tcpflood.c index 9c17fd5b..c3c9c871 100644 --- a/tests/tcpflood.c +++ b/tests/tcpflood.c @@ -32,6 +32,7 @@ #include <stdio.h> #include <stdlib.h> #include <time.h> +#include <signal.h> #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> @@ -153,8 +154,6 @@ int sendMessages(void) int lenBuf; int lenSend; char buf[2048]; - char msgBuf[128]; - size_t lenMsg; srand(time(NULL)); /* seed is good enough for our needs */ |