aboutsummaryrefslogtreecommitdiffstats
path: root/src/asprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/asprintf.c')
-rw-r--r--src/asprintf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/asprintf.c b/src/asprintf.c
index 8026c52..ee01c2e 100644
--- a/src/asprintf.c
+++ b/src/asprintf.c
@@ -20,20 +20,20 @@
#include <stdarg.h>
#include "asprintf.h"
-/* Implementation of asprintf() */
+/* Implementation of dm_asprintf() */
int
-asprintf(char **restrict strp, const char *restrict fmt, ...)
+dm_asprintf(char **restrict strp, const char *restrict fmt, ...)
{
va_list args;
int size = 0;
va_start(args, fmt);
va_end(args);
- return size = vasprintf(strp, fmt, args);
+ return size = dm_vasprintf(strp, fmt, args);
}
int
-vasprintf(char **restrict strp, const char *restrict fmt, va_list ap)
+dm_vasprintf(char **restrict strp, const char *restrict fmt, va_list ap)
{
va_list args;
va_copy(args, ap);