diff options
Diffstat (limited to 'newlib/libc/stdio/asprintf.c')
-rw-r--r-- | newlib/libc/stdio/asprintf.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/newlib/libc/stdio/asprintf.c b/newlib/libc/stdio/asprintf.c index d04411251..bf214f9af 100644 --- a/newlib/libc/stdio/asprintf.c +++ b/newlib/libc/stdio/asprintf.c @@ -50,6 +50,12 @@ _DEFUN(_asprintf_r, (ptr, strp, fmt), return (ret); } +#ifdef _NANO_FORMATTED_IO +int +_EXFUN(_asiprintf_r, (struct _reent *, char **, const char *, ...) + _ATTRIBUTE ((__alias__("_asprintf_r")))); +#endif + #ifndef _REENT_ONLY int @@ -77,4 +83,9 @@ _DEFUN(asprintf, (strp, fmt), return (ret); } +#ifdef _NANO_FORMATTED_IO +int +_EXFUN(asiprintf, (char **, const char *, ...) + _ATTRIBUTE ((__alias__("asprintf")))); +#endif #endif /* ! _REENT_ONLY */ |