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 6e762fbdc174948e297deacde6cd554dd6e1e18d..751ae909e1b2684017c69eee50b0e9682a9bf032 100644 (file)
@@ -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