diff options
author | Eric Engestrom <[email protected]> | 2018-11-20 11:55:55 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-07-19 22:39:38 +0100 |
commit | 00e23cd96998deae429508efa10545be13420379 (patch) | |
tree | 2b96e92a623dd6092a762882015c992abcd8bfd6 /src/util | |
parent | 59c2dd1b8c7582bdb7d9a70cacd86edd9609ccb5 (diff) |
util: use standard name for vasprintf()
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/u_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/u_string.h b/src/util/u_string.h index d91293c3380..846b64feb11 100644 --- a/src/util/u_string.h +++ b/src/util/u_string.h @@ -105,6 +105,7 @@ util_sprintf(char *str, const char *format, ...) va_end(ap); } +#define vasprintf util_vasprintf static inline int util_vasprintf(char **ret, const char *format, va_list ap) { @@ -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 #endif |