From fb97217927dc3824476ccad2ddaf8487908b4871 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 10 Feb 2023 05:25:34 +0200 Subject: [PATCH] Renamed "snprintf_" to "snprintf" --- Library/printf.c | 2 +- include/printf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/printf.c b/Library/printf.c index 34ff5f6..80fa2ad 100644 --- a/Library/printf.c +++ b/Library/printf.c @@ -1569,7 +1569,7 @@ __no_instrument_function int sprintf(char *s, const char *format, ...) return ret; } -__no_instrument_function int snprintf_(char *s, size_t n, const char *format, ...) +__no_instrument_function int snprintf(char *s, size_t n, const char *format, ...) { va_list args; va_start(args, format); diff --git a/include/printf.h b/include/printf.h index b901522..0dcb247 100644 --- a/include/printf.h +++ b/include/printf.h @@ -154,7 +154,7 @@ extern "C" */ ///@{ PRINTF_VISIBILITY - int snprintf_(char *s, size_t count, const char *format, ...) ATTR_PRINTF(3, 4); + int snprintf(char *s, size_t count, const char *format, ...) ATTR_PRINTF(3, 4); PRINTF_VISIBILITY int vsnprintf(char *s, size_t count, const char *format, va_list arg) ATTR_VPRINTF(3); ///@}