diff options
Diffstat (limited to 'newlib/libc/stdio/sniprintf.c')
-rw-r--r-- | newlib/libc/stdio/sniprintf.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/newlib/libc/stdio/sniprintf.c b/newlib/libc/stdio/sniprintf.c index 8059b53f3..8cd06ce86 100644 --- a/newlib/libc/stdio/sniprintf.c +++ b/newlib/libc/stdio/sniprintf.c @@ -16,6 +16,7 @@ */ /* This code created by modifying snprintf.c so copyright inherited. */ +/* doc in siprintf.c */ #include <_ansi.h> #include <reent.h> @@ -31,10 +32,10 @@ int #ifdef _HAVE_STDC -_DEFUN (_sniprintf_r, (ptr, str, size, fmt), - struct _reent *ptr _AND - char *str _AND - size_t size _AND +_DEFUN (_sniprintf_r, (ptr, str, size, fmt), + struct _reent *ptr _AND + char *str _AND + size_t size _AND _CONST char *fmt _DOTS) #else _sniprintf_r (ptr, str, size, fmt, va_alist) @@ -76,9 +77,9 @@ _sniprintf_r (ptr, str, size, fmt, va_alist) int #ifdef _HAVE_STDC -_DEFUN (sniprintf, (str, size, fmt), - char *str _AND - size_t size _AND +_DEFUN (sniprintf, (str, size, fmt), + char *str _AND + size_t size _AND _CONST char *fmt _DOTS) #else sniprintf (str, size, fmt, va_alist) |