X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fstr%2Ftest%2Frun.c;h=f35d75d6ea4dc53e8ccb01349dbd519ef6b32739;hp=20711ad0c0ea29fccd2ec9f20940fe935e8a4793;hb=85a33135890965218010b79c89e4d3f4905727e3;hpb=9965fc25fcc92dc76d1cd4cf9595dc3dc9ebc586 diff --git a/ccan/str/test/run.c b/ccan/str/test/run.c index 20711ad0..f35d75d6 100644 --- a/ccan/str/test/run.c +++ b/ccan/str/test/run.c @@ -1,8 +1,7 @@ -#include "string/string.h" +#include #include #include -#include "string/string.c" -#include "tap/tap.h" +#include /* 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;