summaryrefslogtreecommitdiffstats
path: root/src/util/u_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/u_string.h')
-rw-r--r--src/util/u_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/u_string.h b/src/util/u_string.h
index fe0f857218f..d91293c3380 100644
--- a/src/util/u_string.h
+++ b/src/util/u_string.h
@@ -94,6 +94,7 @@ util_snprintf(char *str, size_t size, const char *format, ...)
return ret;
}
+#define sprintf util_sprintf
static inline void
PRINTFLIKE(2, 3)
util_sprintf(char *str, const char *format, ...)
@@ -184,7 +185,6 @@ util_strncmp(const char *s1, const char *s2, size_t n)
#define util_vsnprintf vsnprintf
#define util_snprintf snprintf
#define util_vasprintf vasprintf
-#define util_sprintf sprintf
#endif