]> git.ozlabs.org Git - ccan/blobdiff - ccan/strmap/test/run-iterate-const.c
strmap: Convert to using TCON_WRAP() instead of plain TCON()
[ccan] / ccan / strmap / test / run-iterate-const.c
index 07c814a3df53fba115d475c635baf0d55b7774a8..63bea95236af32ba1372c460151243bf3f5d7d66 100644 (file)
@@ -14,9 +14,7 @@ static bool find_string(const char *str, char *member, const char *cmp)
 
 int main(void)
 {
-       struct strmap_charp {
-               STRMAP_MEMBERS(char *);
-       } map;
+       STRMAP(char *) map;
 
        plan_tests(3);