aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/sprintf.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-03 19:31:41 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 11:47:05 -0600
commit6783860a2e4e4183c073f62e4bb938cea0e096c3 (patch)
treeab2289b4902fdfc7266edcb8bcfbd8f5601948bd /newlib/libc/stdio/sprintf.c
parent1e39db3062f941778e748f833e1f88dd5c7399a3 (diff)
downloadnewlib-6783860a2e4e4183c073f62e4bb938cea0e096c3.zip
newlib-6783860a2e4e4183c073f62e4bb938cea0e096c3.tar.gz
newlib-6783860a2e4e4183c073f62e4bb938cea0e096c3.tar.bz2
ansification: remove _AND
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/stdio/sprintf.c')
-rw-r--r--newlib/libc/stdio/sprintf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdio/sprintf.c b/newlib/libc/stdio/sprintf.c
index 7fc9e68..7ed0a0f 100644
--- a/newlib/libc/stdio/sprintf.c
+++ b/newlib/libc/stdio/sprintf.c
@@ -581,8 +581,8 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
int
#ifdef _HAVE_STDC
_DEFUN(_sprintf_r, (ptr, str, fmt),
- struct _reent *ptr _AND
- char *__restrict str _AND
+ struct _reent *ptr,
+ char *__restrict str,
_CONST char *__restrict fmt _DOTS)
#else
_sprintf_r(ptr, str, fmt, va_alist)
@@ -622,7 +622,7 @@ _EXFUN(_siprintf_r, (struct _reent *, char *, const char *, ...)
int
#ifdef _HAVE_STDC
_DEFUN(sprintf, (str, fmt),
- char *__restrict str _AND
+ char *__restrict str,
_CONST char *__restrict fmt _DOTS)
#else
sprintf(str, fmt, va_alist)