]> git.ozlabs.org Git - ccan/blobdiff - ccan/strmap/test/run.c
strmap: Convert to using TCON_WRAP() instead of plain TCON()
[ccan] / ccan / strmap / test / run.c
index aaa8618125c14d228a0a08da695aff8bd4c7e708..f64ddc5e57918b3dc12ba5fca849733df7d59eec 100644 (file)
@@ -4,9 +4,7 @@
 
 int main(void)
 {
-       struct strmap_charp {
-               STRMAP_MEMBERS(char *);
-       } map;
+       STRMAP(char *) map;
        const char str[] = "hello";
        const char val[] = "there";
        const char none[] = "";