aboutsummaryrefslogtreecommitdiff
path: root/include/optparse.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/optparse.h')
-rw-r--r--include/optparse.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/optparse.h b/include/optparse.h
index 62358df..9fce9e7 100644
--- a/include/optparse.h
+++ b/include/optparse.h
@@ -6,6 +6,7 @@
#include "__charN_t.h"
#include "__rune.h"
#include "__u8view.h"
+#include "_attrs.h"
struct optparse {
bool _b;
@@ -32,7 +33,7 @@ struct op_option {
[[__nodiscard__]] rune optparse(struct optparse *, const struct op_option *,
size_t);
-[[gnu::__always_inline__]]
+[[_mlib_inline]]
static inline struct optparse
mkoptparser(char **argv)
{