summaryrefslogtreecommitdiff
path: root/libc/stdio/asprintf.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:49:09 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 14:49:09 +0000
commite385ba0d0df0854d3f46df7bc37785ef4422f278 (patch)
treef752d766a8f50590ba0c5f9319146a2cc911648f /libc/stdio/asprintf.c
parent960acb5e3248b2ba657f65ea011703c57539c5a8 (diff)
Hide some of the f* *printf, use them as well
Diffstat (limited to 'libc/stdio/asprintf.c')
-rw-r--r--libc/stdio/asprintf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/stdio/asprintf.c b/libc/stdio/asprintf.c
index 36ed807a4..207b35a3c 100644
--- a/libc/stdio/asprintf.c
+++ b/libc/stdio/asprintf.c
@@ -5,6 +5,8 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#define vasprintf __vasprintf
+
#include "_stdio.h"
#include <stdarg.h>
@@ -12,7 +14,7 @@
#warning Skipping asprintf and __asprintf since no vsnprintf!
#else
-int __asprintf(char **__restrict buf, const char * __restrict format, ...)
+int attribute_hidden __asprintf(char **__restrict buf, const char * __restrict format, ...)
{
va_list arg;
int rv;
@@ -24,6 +26,6 @@ int __asprintf(char **__restrict buf, const char * __restrict format, ...)
return rv;
}
-weak_alias(__asprintf,asprintf)
+strong_alias(__asprintf,asprintf)
#endif