aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/snprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/snprintf.c')
-rw-r--r--newlib/libc/stdio/snprintf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/stdio/snprintf.c b/newlib/libc/stdio/snprintf.c
index ab33dfb..d5ba708 100644
--- a/newlib/libc/stdio/snprintf.c
+++ b/newlib/libc/stdio/snprintf.c
@@ -31,8 +31,7 @@
int
#ifdef _HAVE_STDC
-_DEFUN(_snprintf_r, (ptr, str, size, fmt),
- struct _reent *ptr,
+_snprintf_r (struct _reent *ptr,
char *__restrict str,
size_t size,
const char *__restrict fmt, ...)
@@ -82,8 +81,7 @@ _EXFUN(_sniprintf_r, (struct _reent *, char *, size_t, const char *, ...)
int
#ifdef _HAVE_STDC
-_DEFUN(snprintf, (str, size, fmt),
- char *__restrict str,
+snprintf (char *__restrict str,
size_t size,
const char *__restrict fmt, ...)
#else