Commit 504c6dab authored by Rusty Russell's avatar Rusty Russell

Use array_size module

parent a16a125d
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment