summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2015-09-05 14:32:24 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2015-09-13 19:17:14 +1000
commiteeaa2c8b0d5db1128c873cad3bfcc6fd6b1858fe (patch)
tree3319378b191c8bad271161511c55fe667e4fdc3b
parent63f13d64d8ea04e3032cafcaa9ee1b5965a8d52d (diff)
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 <david@gibson.dropbear.id.au>
-rw-r--r--ccan/mem/_info1
-rw-r--r--ccan/mem/test/api.c1
2 files changed, 0 insertions, 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 <ccan/array_size/array_size.h>
#include <ccan/mem/mem.h>
#include <ccan/tap/tap.h>