[ccan] [PATCH 1/2] mem: Remove array_size dependency
David Gibson
david at gibson.dropbear.id.au
Sat Sep 5 14:44:20 AEST 2015
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 at gibson.dropbear.id.au>
---
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 19b2228..e37b217 100644
--- a/ccan/mem/_info
+++ b/ccan/mem/_info
@@ -22,7 +22,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 2ee15c5..d97ab28 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>
--
2.4.3
More information about the ccan
mailing list