util: drop unused vsprintf() wrapper
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 20 Nov 2018 11:57:03 +0000 (11:57 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Fri, 19 Jul 2019 21:39:38 +0000 (22:39 +0100)
Suggested-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/util/u_string.h

index 6e762fb..751ae90 100644 (file)
@@ -98,12 +98,6 @@ util_snprintf(char *str, size_t size, const char *format, ...)
 }
 
 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