diff options
author | Alejandro Colomar <alx@kernel.org> | 2023-01-29 23:45:20 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-01-29 23:45:20 +0100 |
commit | bcc5ebf6ee7e36c9207e6cf5fc432e6f500b6f7b (patch) | |
tree | 2ebaa1782cc908a9a9a8e91ea2a032ca7f664079 | |
parent | dd0afe9abdbfe678188407da935692d094fe1672 (diff) |
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | include/c/str/cpy/stp/stpe/stpeprintf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/c/str/cpy/stp/stpe/stpeprintf.h b/include/c/str/cpy/stp/stpe/stpeprintf.h index c46119c..bd419c2 100644 --- a/include/c/str/cpy/stp/stpe/stpeprintf.h +++ b/include/c/str/cpy/stp/stpe/stpeprintf.h @@ -15,8 +15,10 @@ #pragma clang assume_nonnull begin +[[gnu::format(printf, 3, 4)]] inline char *c_nullable c_stpeprintf(char *c_nullable dst, char *end, const char *restrict fmt, ...); +[[gnu::format(printf, 3, 0)]] inline char *c_nullable c_vstpeprintf(char *c_nullable dst, char *end, const char *restrict fmt, va_list ap); |