X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Frun_tests.c;h=278b65227a3bdeddbe9631c116c5e31a8b643cd5;hb=504c6dab8d2c94575f14ccb542af7433936e7af2;hp=380055c0259a8bc8d393ba0b4edbfcf11a43597d;hpb=b776447468fc28a0bbf9ff997d784e7a4cd0018e;p=ccan diff --git a/tools/run_tests.c b/tools/run_tests.c index 380055c0..278b6522 100644 --- a/tools/run_tests.c +++ b/tools/run_tests.c @@ -9,11 +9,9 @@ #include "ccan/tap/tap.h" #include "ccan/talloc/talloc.h" #include "ccan/str/str.h" +#include "ccan/array_size/array_size.h" #include "tools.h" -/* FIXME: Use build bug later. */ -#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) - static struct test *tests = NULL; static struct obj *objs = NULL; static int verbose;