]> git.ozlabs.org Git - ccan/blobdiff - ccan/str/test/run.c
Remove old run-tests, clean up #includes to all be <ccan/...
[ccan] / ccan / str / test / run.c
index 20711ad0c0ea29fccd2ec9f20940fe935e8a4793..f35d75d6ea4dc53e8ccb01349dbd519ef6b32739 100644 (file)
@@ -1,8 +1,7 @@
-#include "string/string.h"
+#include <ccan/str/str.h>
 #include <stdlib.h>
 #include <stdio.h>
-#include "string/string.c"
-#include "tap/tap.h"
+#include <ccan/tap/tap.h>
 
 /* FIXME: ccanize */
 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0]))
@@ -24,8 +23,6 @@ static char *strdup_rev(const char *s)
 int main(int argc, char *argv[])
 {
        unsigned int i, j, n;
-       char **split, *str;
-       void *ctx;
        char *strings[NUM_SUBSTRINGS * NUM_SUBSTRINGS];
        
        n = 0;