aboutsummaryrefslogtreecommitdiff
path: root/include/optparse.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/optparse.h')
-rw-r--r--include/optparse.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/optparse.h b/include/optparse.h
index 6863980..62358df 100644
--- a/include/optparse.h
+++ b/include/optparse.h
@@ -29,9 +29,10 @@ struct op_option {
enum op_argkind argtype;
};
-rune optparse(struct optparse *, const struct op_option *, size_t);
+[[__nodiscard__]] rune optparse(struct optparse *, const struct op_option *,
+ size_t);
-[[gnu::always_inline]]
+[[gnu::__always_inline__]]
static inline struct optparse
mkoptparser(char **argv)
{