diff options
| author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 00:58:03 +0000 | 
|---|---|---|
| committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 00:58:03 +0000 | 
| commit | af0172162f7c653cad6a11ed1c1a5459bc154465 (patch) | |
| tree | 70031dad1e7286d58762da7b9e3d3f93d043c278 /libc/stdio/asprintf.c | |
| parent | c8609543a9a8bf6559c2931dbbef6b3c41b3fbf2 (diff) | |
| download | uClibc-alpine-af0172162f7c653cad6a11ed1c1a5459bc154465.tar.bz2 uClibc-alpine-af0172162f7c653cad6a11ed1c1a5459bc154465.tar.xz | |
hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing headers, other jump relocs removed
Diffstat (limited to 'libc/stdio/asprintf.c')
| -rw-r--r-- | libc/stdio/asprintf.c | 9 | 
1 files changed, 5 insertions, 4 deletions
| diff --git a/libc/stdio/asprintf.c b/libc/stdio/asprintf.c index 207b35a3c..98865545e 100644 --- a/libc/stdio/asprintf.c +++ b/libc/stdio/asprintf.c @@ -5,16 +5,16 @@   * Dedicated to Toni.  See uClibc/DEDICATION.mjn3 for details.   */ -#define vasprintf __vasprintf -  #include "_stdio.h"  #include <stdarg.h> +libc_hidden_proto(vasprintf) +  #ifndef __STDIO_HAS_VSNPRINTF  #warning Skipping asprintf and __asprintf since no vsnprintf!  #else -int attribute_hidden __asprintf(char **__restrict buf, const char * __restrict format, ...) +int asprintf(char **__restrict buf, const char * __restrict format, ...)  {  	va_list arg;  	int rv; @@ -26,6 +26,7 @@ int attribute_hidden __asprintf(char **__restrict buf, const char * __restrict f  	return rv;  } -strong_alias(__asprintf,asprintf) +libc_hidden_proto(asprintf) +libc_hidden_def(asprintf)  #endif | 
