X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fopt%2Fprivate.h;h=e4ad24a2be9e7947f862d295bef76b330c735c90;hp=048951e90c55f47285ccf1463567cf8241c1a5f1;hb=6a8d296f9383dd25ec381e2ab136a33823d140e5;hpb=9056c31b46452c92c7dd9c276664f514720a84c6 diff --git a/ccan/opt/private.h b/ccan/opt/private.h index 048951e9..e4ad24a2 100644 --- a/ccan/opt/private.h +++ b/ccan/opt/private.h @@ -1,3 +1,4 @@ +/* Licensed under GPLv3+ - see LICENSE file for details */ #ifndef CCAN_OPT_PRIVATE_H #define CCAN_OPT_PRIVATE_H @@ -13,7 +14,7 @@ const char *next_sopt(const char *names, unsigned *i); const char *first_lopt(unsigned *i, unsigned *len); const char *next_lopt(const char *p, unsigned *i, unsigned *len); -int parse_one(int *argc, char *argv[], unsigned *offset, +int parse_one(int *argc, char *argv[], enum opt_type is_early, unsigned *offset, void (*errlog)(const char *fmt, ...)); #endif /* CCAN_OPT_PRIVATE_H */