X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fopt%2Fopt.c;h=9149374cb001e6152eb46e03de6cc092ef6e4297;hb=3beff01ae4dfb8b843bf5e78905fb8bc434cb270;hp=09c8508142341730002a03f6ab4cf9589b1ade61;hpb=995d2aff223e70ef5c60ac0416645b27ac84d5ff;p=ccan diff --git a/ccan/opt/opt.c b/ccan/opt/opt.c index 09c85081..9149374c 100644 --- a/ccan/opt/opt.c +++ b/ccan/opt/opt.c @@ -162,7 +162,7 @@ static void add_opt(const struct opt_table *entry) void _opt_register(const char *names, enum opt_type type, char *(*cb)(void *arg), char *(*cb_arg)(const char *optarg, void *arg), - void (*show)(char *buf, size_t len, const void *arg), + bool (*show)(char *buf, size_t len, const void *arg), const void *arg, const char *desc) { struct opt_table opt;