diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/errors.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/errors.h b/include/errors.h index 8484010..1a803b5 100644 --- a/include/errors.h +++ b/include/errors.h @@ -19,7 +19,8 @@ extern const char *__mlib_errors_progname; void mlib_setprogname(const char *); -[[gnu::__always_inline__]] static inline const char * +[[gnu::__always_inline__]] +static inline const char * mlib_progname(void) { return __mlib_errors_progname; |