[Mesa-dev] [PATCH mesa 11/13] util: use standard name for vsprintf()
Eric Engestrom
eric.engestrom at intel.com
Tue Nov 20 13:11:11 UTC 2018
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
src/util/u_string.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/u_string.h b/src/util/u_string.h
index 28035df44bf1e1ed4de5..3e4807aaba0e29708ecd 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 vsprintf util_vsprintf
static inline void
util_vsprintf(char *str, const char *format, va_list ap)
{
@@ -214,7 +215,6 @@ util_strstr(const char *haystack, const char *needle)
#define util_vsnprintf vsnprintf
#define util_snprintf snprintf
-#define util_vsprintf vsprintf
#endif
--
Cheers,
Eric
More information about the mesa-dev
mailing list