diff options
author | Colin Walters <walters@verbum.org> | 2016-05-06 09:56:24 -0400 |
---|---|---|
committer | Colin Walters (automation) <walters+githubbot@verbum.org> | 2016-05-07 06:52:05 +0000 |
commit | bf6e3564a30a0e4ddd738ede44dd12cf9aa2c319 (patch) | |
tree | b34750313ea82cabc8d4cd68a373dfeb2d38633e /utils.h | |
parent | f525e670b8a50f8775b89d70e152bef92ee44f4e (diff) | |
download | bubblewrap-bf6e3564a30a0e4ddd738ede44dd12cf9aa2c319.tar.gz |
utils: Rename strdup_printf -> xasprintf
I find this clearer since I know about `asprintf`, and the `x` prefix.
Closes: #55
Approved by: alexlarsson
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -70,8 +70,8 @@ char *strconcat (const char *s1, char *strconcat3 (const char *s1, const char *s2, const char *s3); -char* strdup_printf (const char *format, - ...) __attribute__((format(printf, 1, 2))); +char* xasprintf (const char *format, + ...) __attribute__((format(printf, 1, 2))); bool has_prefix (const char *str, const char *prefix); bool has_path_prefix (const char *str, |