X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fopt%2Fopt.h;h=0748fe6a7f0694f831ea94c85439d1a0ba65cc76;hb=641d492d77d4248d4dac1e38635498b4e438fa7b;hp=a1adc41d2bfa6953067d41f3e5343f2a03398241;hpb=b30c544bd1486e7b60b99259e3d0dcbc1ec9efd0;p=ccan diff --git a/ccan/opt/opt.h b/ccan/opt/opt.h index a1adc41d..0748fe6a 100644 --- a/ccan/opt/opt.h +++ b/ccan/opt/opt.h @@ -1,5 +1,6 @@ #ifndef CCAN_OPT_H #define CCAN_OPT_H +#include #include #include @@ -325,6 +326,6 @@ void _opt_register(const char *names, enum opt_type type, void *arg, const char *desc); /* We use this to get typechecking for OPT_SUBTABLE */ -static inline int _check_is_entry(struct opt_table *e) { return 0; } +static inline int _check_is_entry(struct opt_table *e UNUSED) { return 0; } #endif /* CCAN_OPT_H */