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); ///@}