aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/asnprintf.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-03 21:43:30 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 11:47:26 -0600
commit9087163804df8af6dc2ec1f675a2341c25f7795f (patch)
tree86fcb38236347d0e97a16c957e41dca597b8e8a8 /newlib/libc/stdio/asnprintf.c
parent44276afe2a0365d655425702205604640829668d (diff)
downloadnewlib-9087163804df8af6dc2ec1f675a2341c25f7795f.zip
newlib-9087163804df8af6dc2ec1f675a2341c25f7795f.tar.gz
newlib-9087163804df8af6dc2ec1f675a2341c25f7795f.tar.bz2
ansification: remove _DEFUN
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/stdio/asnprintf.c')
-rw-r--r--newlib/libc/stdio/asnprintf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/stdio/asnprintf.c b/newlib/libc/stdio/asnprintf.c
index c9a37db..34639dc 100644
--- a/newlib/libc/stdio/asnprintf.c
+++ b/newlib/libc/stdio/asnprintf.c
@@ -14,8 +14,7 @@
#include "local.h"
char *
-_DEFUN(_asnprintf_r, (ptr, buf, lenp, fmt),
- struct _reent *__restrict ptr,
+_asnprintf_r (struct _reent *__restrict ptr,
char *buf,
size_t *lenp,
const char *__restrict fmt, ...)
@@ -67,8 +66,7 @@ _EXFUN(_asniprintf_r, (struct _reent *, char *, size_t *, const char *, ...)
#ifndef _REENT_ONLY
char *
-_DEFUN(asnprintf, (buf, lenp, fmt),
- char *__restrict buf,
+asnprintf (char *__restrict buf,
size_t *__restrict lenp,
const char *__restrict fmt, ...)
{