Renamed "snprintf_" to "snprintf"

This commit is contained in:
Alex 2023-02-10 05:25:34 +02:00
parent c968b6f2d5
commit fb97217927
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD
2 changed files with 2 additions and 2 deletions

View File

@ -1569,7 +1569,7 @@ __no_instrument_function int sprintf(char *s, const char *format, ...)
return ret; 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_list args;
va_start(args, format); va_start(args, format);

View File

@ -154,7 +154,7 @@ extern "C"
*/ */
///@{ ///@{
PRINTF_VISIBILITY 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 PRINTF_VISIBILITY
int vsnprintf(char *s, size_t count, const char *format, va_list arg) ATTR_VPRINTF(3); int vsnprintf(char *s, size_t count, const char *format, va_list arg) ATTR_VPRINTF(3);
///@} ///@}