From: Eric Engestrom Date: Tue, 20 Nov 2018 11:57:03 +0000 (+0000) Subject: util: drop unused vsprintf() wrapper X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=367bb55c17abce6b571ab3cf36e9ea95f4c2dfca;p=mesa.git util: drop unused vsprintf() wrapper Suggested-by: Emil Velikov Signed-off-by: Eric Engestrom Reviewed-by: Eric Anholt --- diff --git a/src/util/u_string.h b/src/util/u_string.h index 6e762fbdc17..751ae909e1b 100644 --- a/src/util/u_string.h +++ b/src/util/u_string.h @@ -97,12 +97,6 @@ util_snprintf(char *str, size_t size, const char *format, ...) return ret; } -static inline void -util_vsprintf(char *str, const char *format, va_list ap) -{ - util_vsnprintf(str, (size_t)-1, format, ap); -} - static inline void PRINTFLIKE(2, 3) util_sprintf(char *str, const char *format, ...) @@ -189,7 +183,6 @@ util_strncmp(const char *s1, const char *s2, size_t n) #define util_vsnprintf vsnprintf #define util_snprintf snprintf -#define util_vsprintf vsprintf #define util_vasprintf vasprintf #define util_sprintf sprintf #define util_strcmp strcmp