summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.h b/utils.h
index a6f709d..2291093 100644
--- a/utils.h
+++ b/utils.h
@@ -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,