]> git.ozlabs.org Git - ccan/blobdiff - tools/tools.h
ccanlint: make _info ported an empty string on success.
[ccan] / tools / tools.h
index 7e2598c3167559df675c71df2f9d6ebcf624464a..3b5c4bed4fcc254e00630ced9804af3553077674 100644 (file)
@@ -46,8 +46,8 @@ char **get_libs(const void *ctx, const char *dir, const char *style,
 char **get_cflags(const void *ctx, const char *dir,
                char *(*get_info)(const void *ctx, const char *dir));
 
-bool get_ported(const void *ctx, const char *dir, bool recurse,
-               char *(*get_info)(const void *ctx, const char *dir));
+char *get_ported(const void *ctx, const char *dir, bool recurse,
+                char *(*get_info)(const void *ctx, const char *dir));
 
 /* From tools.c */
 /* If set, print all commands run, all output they give and exit status. */