X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fopt%2Fprivate.h;h=0621c82eb6bcc693c3d2b6fcee0d30e25f720bf8;hp=8d7815c86b8a90da32c87807f0424b17291d42ae;hb=c656dceb3f04c2e3da7af40824c97eff5119a0b9;hpb=4f09cf20ca00fe38b0702e0556bbad2341595ed0;ds=sidebyside diff --git a/ccan/opt/private.h b/ccan/opt/private.h index 8d7815c8..0621c82e 100644 --- a/ccan/opt/private.h +++ b/ccan/opt/private.h @@ -1,4 +1,4 @@ -/* Licensed under GPLv3+ - see LICENSE file for details */ +/* Licensed under GPLv2+ - see LICENSE file for details */ #ifndef CCAN_OPT_PRIVATE_H #define CCAN_OPT_PRIVATE_H @@ -22,6 +22,6 @@ struct opt_alloc { extern struct opt_alloc opt_alloc; int parse_one(int *argc, char *argv[], enum opt_type is_early, unsigned *offset, - void (*errlog)(const char *fmt, ...)); + void (*errlog)(const char *fmt, ...), bool unknown_ok); #endif /* CCAN_OPT_PRIVATE_H */