aboutsummaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-11-20 11:57:03 +0000
committerEric Engestrom <[email protected]>2019-07-19 22:39:38 +0100
commit367bb55c17abce6b571ab3cf36e9ea95f4c2dfca (patch)
treec8f6df23973b8beb9760cd23bef4b3bb33b497c9 /src/util
parente7db1806af37fa00071633931b64f424abbe8cba (diff)
util: drop unused vsprintf() wrapper
Suggested-by: Emil Velikov <[email protected]> Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/u_string.h7
1 files changed, 0 insertions, 7 deletions
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
@@ -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