From eeaa2c8b0d5db1128c873cad3bfcc6fd6b1858fe Mon Sep 17 00:00:00 2001 From: David Gibson Date: Sat, 5 Sep 2015 14:32:24 +1000 Subject: [PATCH] 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 --- ccan/mem/_info | 1 - ccan/mem/test/api.c | 1 - 2 files changed, 2 deletions(-) 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 -- 2.39.2