summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-03-02 23:42:07 -0500
committerKristian Høgsberg <krh@bitplanet.net>2012-03-02 23:42:07 -0500
commitd2067508c148ba138c352779f6bd51526eaef91f (patch)
treee9d3eda65a92291b537f845b3e45dda784c3ab17
parentac80c54f1883779762276c6161bd2a273bac6fe3 (diff)
test-runner: Fix warnings
-rw-r--r--tests/test-runner.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-runner.c b/tests/test-runner.c
index a47ea70..e9c560a 100644
--- a/tests/test-runner.c
+++ b/tests/test-runner.c
@@ -25,6 +25,7 @@
#include <stdlib.h>
#include <sys/types.h>
#include <sys/wait.h>
+#include <string.h>
#include <assert.h>
#include "test-runner.h"
@@ -51,7 +52,7 @@ int main(int argc, char *argv[])
{
const struct test *t;
pid_t pid;
- int i, total, pass;
+ int total, pass;
siginfo_t info;
if (argc == 2)