From: David Gibson Date: Sat, 5 Sep 2015 04:32:24 +0000 (+1000) Subject: mem: Remove array_size dependency X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=eeaa2c8b0d5db1128c873cad3bfcc6fd6b1858fe;ds=sidebyside mem: Remove array_size dependency The mem module declares array_size as a test dependency, and includes it in test/api.c, but doesn't actually use it. This removes the unneeded dependency. Signed-off-by: David Gibson --- diff --git a/ccan/mem/_info b/ccan/mem/_info index 6389e359..b95a5754 100644 --- a/ccan/mem/_info +++ b/ccan/mem/_info @@ -23,7 +23,6 @@ int main(int argc, char *argv[]) } if (strcmp(argv[1], "testdepends") == 0) { - printf("ccan/array_size"); return 0; } diff --git a/ccan/mem/test/api.c b/ccan/mem/test/api.c index 9ec226da..d0178c35 100644 --- a/ccan/mem/test/api.c +++ b/ccan/mem/test/api.c @@ -1,4 +1,3 @@ -#include #include #include