diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-03 19:31:41 -0600 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-17 11:47:05 -0600 |
commit | 6783860a2e4e4183c073f62e4bb938cea0e096c3 (patch) | |
tree | ab2289b4902fdfc7266edcb8bcfbd8f5601948bd /newlib/libc/machine | |
parent | 1e39db3062f941778e748f833e1f88dd5c7399a3 (diff) | |
download | newlib-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/machine')
40 files changed, 84 insertions, 84 deletions
diff --git a/newlib/libc/machine/microblaze/strcmp.c b/newlib/libc/machine/microblaze/strcmp.c index fc7dc21..a2751af 100644 --- a/newlib/libc/machine/microblaze/strcmp.c +++ b/newlib/libc/machine/microblaze/strcmp.c @@ -82,7 +82,7 @@ QUICKREF int _DEFUN (strcmp, (s1, s2), - _CONST char *s1 _AND + _CONST char *s1, _CONST char *s2) { diff --git a/newlib/libc/machine/microblaze/strcpy.c b/newlib/libc/machine/microblaze/strcpy.c index 44ba382..e0e1d77 100644 --- a/newlib/libc/machine/microblaze/strcpy.c +++ b/newlib/libc/machine/microblaze/strcpy.c @@ -82,7 +82,7 @@ QUICKREF char* _DEFUN (strcpy, (dst0, src0), - char *__restrict dst0 _AND + char *__restrict dst0, _CONST char *__restrict src0) { diff --git a/newlib/libc/machine/powerpc/atosfix16.c b/newlib/libc/machine/powerpc/atosfix16.c index 30379c5..5115c85 100644 --- a/newlib/libc/machine/powerpc/atosfix16.c +++ b/newlib/libc/machine/powerpc/atosfix16.c @@ -63,7 +63,7 @@ PORTABILITY __int16_t _DEFUN (_atosfix16_r, (reent, s), - struct _reent *reent _AND + struct _reent *reent, _CONST char *s) { return _strtosfix16_r (reent, s, NULL); diff --git a/newlib/libc/machine/powerpc/atosfix32.c b/newlib/libc/machine/powerpc/atosfix32.c index dbcac7e..49f4cce 100644 --- a/newlib/libc/machine/powerpc/atosfix32.c +++ b/newlib/libc/machine/powerpc/atosfix32.c @@ -9,7 +9,7 @@ __int32_t _DEFUN (_atosfix32_r, (reent, s), - struct _reent *reent _AND + struct _reent *reent, _CONST char *s) { return _strtosfix32_r (reent, s, NULL); diff --git a/newlib/libc/machine/powerpc/atosfix64.c b/newlib/libc/machine/powerpc/atosfix64.c index 109baf7..b433778 100644 --- a/newlib/libc/machine/powerpc/atosfix64.c +++ b/newlib/libc/machine/powerpc/atosfix64.c @@ -9,7 +9,7 @@ __int64_t _DEFUN (_atosfix64_r, (reent, s), - struct _reent *reent _AND + struct _reent *reent, _CONST char *s) { return _strtosfix64_r (reent, s, NULL); diff --git a/newlib/libc/machine/powerpc/atoufix16.c b/newlib/libc/machine/powerpc/atoufix16.c index 45d130f..5148acb 100644 --- a/newlib/libc/machine/powerpc/atoufix16.c +++ b/newlib/libc/machine/powerpc/atoufix16.c @@ -63,7 +63,7 @@ PORTABILITY __uint16_t _DEFUN (_atoufix16_r, (reent, s), - struct _reent *reent _AND + struct _reent *reent, _CONST char *s) { return _strtoufix16_r (reent, s, NULL); diff --git a/newlib/libc/machine/powerpc/atoufix32.c b/newlib/libc/machine/powerpc/atoufix32.c index ee29ac5..01919d4 100644 --- a/newlib/libc/machine/powerpc/atoufix32.c +++ b/newlib/libc/machine/powerpc/atoufix32.c @@ -9,7 +9,7 @@ __uint32_t _DEFUN (_atoufix32_r, (reent, s), - struct _reent *reent _AND + struct _reent *reent, _CONST char *s) { return _strtoufix32_r (reent, s, NULL); diff --git a/newlib/libc/machine/powerpc/atoufix64.c b/newlib/libc/machine/powerpc/atoufix64.c index e5eefc4..af71089 100644 --- a/newlib/libc/machine/powerpc/atoufix64.c +++ b/newlib/libc/machine/powerpc/atoufix64.c @@ -9,7 +9,7 @@ __uint64_t _DEFUN (_atoufix64_r, (reent, s), - struct _reent *reent _AND + struct _reent *reent, _CONST char *s) { return _strtoufix64_r (reent, s, NULL); diff --git a/newlib/libc/machine/powerpc/strtosfix16.c b/newlib/libc/machine/powerpc/strtosfix16.c index e39887d..84e1171 100644 --- a/newlib/libc/machine/powerpc/strtosfix16.c +++ b/newlib/libc/machine/powerpc/strtosfix16.c @@ -93,8 +93,8 @@ PORTABILITY */ __int16_t _DEFUN (_strtosfix16_r, (rptr, nptr, endptr), - struct _reent *rptr _AND - _CONST char *nptr _AND + struct _reent *rptr, + _CONST char *nptr, char **endptr) { union double_union dbl; @@ -170,7 +170,7 @@ _DEFUN (_strtosfix16_r, (rptr, nptr, endptr), __int16_t _DEFUN (strtosfix16, (s, ptr, base), - _CONST char *s _AND + _CONST char *s, char **ptr) { return _strtosfix16_r (_REENT, s, ptr); diff --git a/newlib/libc/machine/powerpc/strtosfix32.c b/newlib/libc/machine/powerpc/strtosfix32.c index 2e22c14..1b1487b 100644 --- a/newlib/libc/machine/powerpc/strtosfix32.c +++ b/newlib/libc/machine/powerpc/strtosfix32.c @@ -14,8 +14,8 @@ */ __int32_t _DEFUN (_strtosfix32_r, (rptr, nptr, endptr), - struct _reent *rptr _AND - _CONST char *nptr _AND + struct _reent *rptr, + _CONST char *nptr, char **endptr) { union double_union dbl; @@ -93,7 +93,7 @@ _DEFUN (_strtosfix32_r, (rptr, nptr, endptr), __int32_t _DEFUN (strtosfix32, (s, ptr, base), - _CONST char *s _AND + _CONST char *s, char **ptr) { return _strtosfix32_r (_REENT, s, ptr); diff --git a/newlib/libc/machine/powerpc/strtosfix64.c b/newlib/libc/machine/powerpc/strtosfix64.c index 3006632..4ba718c 100644 --- a/newlib/libc/machine/powerpc/strtosfix64.c +++ b/newlib/libc/machine/powerpc/strtosfix64.c @@ -14,8 +14,8 @@ */ __int64_t _DEFUN (_strtosfix64_r, (rptr, nptr, endptr), - struct _reent *rptr _AND - _CONST char *nptr _AND + struct _reent *rptr, + _CONST char *nptr, char **endptr) { union long_double_union ldbl; @@ -106,7 +106,7 @@ _DEFUN (_strtosfix64_r, (rptr, nptr, endptr), __int64_t _DEFUN (strtosfix64, (s, ptr, base), - _CONST char *s _AND + _CONST char *s, char **ptr) { return _strtosfix64_r (_REENT, s, ptr); diff --git a/newlib/libc/machine/powerpc/strtoufix16.c b/newlib/libc/machine/powerpc/strtoufix16.c index 3bf2d6b..22de506 100644 --- a/newlib/libc/machine/powerpc/strtoufix16.c +++ b/newlib/libc/machine/powerpc/strtoufix16.c @@ -92,8 +92,8 @@ PORTABILITY */ __uint16_t _DEFUN (_strtoufix16_r, (rptr, nptr, endptr), - struct _reent *rptr _AND - _CONST char *nptr _AND + struct _reent *rptr, + _CONST char *nptr, char **endptr) { union double_union dbl; @@ -161,7 +161,7 @@ _DEFUN (_strtoufix16_r, (rptr, nptr, endptr), __uint16_t _DEFUN (strtoufix16, (s, ptr, base), - _CONST char *s _AND + _CONST char *s, char **ptr) { return _strtoufix16_r (_REENT, s, ptr); diff --git a/newlib/libc/machine/powerpc/strtoufix32.c b/newlib/libc/machine/powerpc/strtoufix32.c index 6a8e081..05e9667 100644 --- a/newlib/libc/machine/powerpc/strtoufix32.c +++ b/newlib/libc/machine/powerpc/strtoufix32.c @@ -14,8 +14,8 @@ */ __uint32_t _DEFUN (_strtoufix32_r, (rptr, nptr, endptr), - struct _reent *rptr _AND - _CONST char *nptr _AND + struct _reent *rptr, + _CONST char *nptr, char **endptr) { union double_union dbl; @@ -90,7 +90,7 @@ _DEFUN (_strtoufix32_r, (rptr, nptr, endptr), __uint32_t _DEFUN (strtoufix32, (s, ptr, base), - _CONST char *s _AND + _CONST char *s, char **ptr) { return _strtoufix32_r (_REENT, s, ptr); diff --git a/newlib/libc/machine/powerpc/strtoufix64.c b/newlib/libc/machine/powerpc/strtoufix64.c index 539f953..5ef5384 100644 --- a/newlib/libc/machine/powerpc/strtoufix64.c +++ b/newlib/libc/machine/powerpc/strtoufix64.c @@ -14,8 +14,8 @@ */ __uint64_t _DEFUN (_strtoufix64_r, (rptr, nptr, endptr), - struct _reent *rptr _AND - _CONST char *nptr _AND + struct _reent *rptr, + _CONST char *nptr, char **endptr) { union long_double_union ldbl; @@ -105,7 +105,7 @@ _DEFUN (_strtoufix64_r, (rptr, nptr, endptr), __uint64_t _DEFUN (strtoufix64, (s, ptr, base), - _CONST char *s _AND + _CONST char *s, char **ptr) { return _strtoufix64_r (_REENT, s, ptr); diff --git a/newlib/libc/machine/powerpc/ufix64toa.c b/newlib/libc/machine/powerpc/ufix64toa.c index 450e0a3..125ab67 100644 --- a/newlib/libc/machine/powerpc/ufix64toa.c +++ b/newlib/libc/machine/powerpc/ufix64toa.c @@ -26,12 +26,12 @@ extern char *_simdldtoa_r _PARAMS((struct _reent *, LONG_DOUBLE_UNION *, int, char * _DEFUN (_ufix64toa_r, (rptr, value, mode, ndigits, decpt, sign, rve), - struct _reent *rptr _AND - __uint64_t value _AND - int mode _AND - int ndigits _AND - int *decpt _AND - int *sign _AND + struct _reent *rptr, + __uint64_t value, + int mode, + int ndigits, + int *decpt, + int *sign, char **rve) { union long_double_union ldbl; diff --git a/newlib/libc/machine/powerpc/vec_calloc.c b/newlib/libc/machine/powerpc/vec_calloc.c index 8b2e835..8a10507 100644 --- a/newlib/libc/machine/powerpc/vec_calloc.c +++ b/newlib/libc/machine/powerpc/vec_calloc.c @@ -45,7 +45,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>, _PTR _DEFUN (vec_calloc, (n, size), - size_t n _AND + size_t n, size_t size) { return _vec_calloc_r (_REENT, n, size); diff --git a/newlib/libc/machine/powerpc/vec_realloc.c b/newlib/libc/machine/powerpc/vec_realloc.c index e192e39..7e857b5 100644 --- a/newlib/libc/machine/powerpc/vec_realloc.c +++ b/newlib/libc/machine/powerpc/vec_realloc.c @@ -8,7 +8,7 @@ _PTR _DEFUN (vec_realloc, (ap, nbytes), - _PTR ap _AND + _PTR ap, size_t nbytes) { return _vec_realloc_r (_REENT, ap, nbytes); diff --git a/newlib/libc/machine/powerpc/vfprintf.c b/newlib/libc/machine/powerpc/vfprintf.c index e0b90fc..0c1c80e 100644 --- a/newlib/libc/machine/powerpc/vfprintf.c +++ b/newlib/libc/machine/powerpc/vfprintf.c @@ -272,8 +272,8 @@ static char *cvt_ufix64 _PARAMS((struct _reent *, unsigned long long, int, int int _DEFUN (VFPRINTF, (fp, fmt0, ap), - FILE * fp _AND - _CONST char *fmt0 _AND + FILE * fp, + _CONST char *fmt0, va_list ap) { CHECK_INIT (_REENT, fp); @@ -282,9 +282,9 @@ _DEFUN (VFPRINTF, (fp, fmt0, ap), int _DEFUN (_VFPRINTF_R, (data, fp, fmt0, ap), - struct _reent *data _AND - FILE * fp _AND - _CONST char *fmt0 _AND + struct _reent *data, + FILE * fp, + _CONST char *fmt0, va_list ap) { register char *fmt; /* format string */ diff --git a/newlib/libc/machine/powerpc/vfscanf.c b/newlib/libc/machine/powerpc/vfscanf.c index 6cbc624..b82a140 100644 --- a/newlib/libc/machine/powerpc/vfscanf.c +++ b/newlib/libc/machine/powerpc/vfscanf.c @@ -183,8 +183,8 @@ typedef union int _DEFUN (vfscanf, (fp, fmt, ap), - register FILE *__restrict fp _AND - _CONST char *__restrict fmt _AND + register FILE *__restrict fp, + _CONST char *__restrict fmt, va_list ap) { CHECK_INIT(_REENT, fp); @@ -204,9 +204,9 @@ __svfscanf (fp, fmt0, ap) int _DEFUN (_vfscanf_r, (data, fp, fmt, ap), - struct _reent *data _AND - register FILE *__restrict fp _AND - _CONST char *__restrict fmt _AND + struct _reent *data, + register FILE *__restrict fp, + _CONST char *__restrict fmt, va_list ap) { return __svfscanf_r (data, fp, fmt, ap); diff --git a/newlib/libc/machine/spu/assert.c b/newlib/libc/machine/spu/assert.c index f1dd330..e802845 100644 --- a/newlib/libc/machine/spu/assert.c +++ b/newlib/libc/machine/spu/assert.c @@ -11,9 +11,9 @@ /* func can be NULL, in which case no function information is given. */ void _DEFUN (__assert_func, (file, line, func, failedexpr), - const char *file _AND - int line _AND - const char *func _AND + const char *file, + int line, + const char *func, const char *failedexpr) { fprintf(stderr, @@ -32,8 +32,8 @@ _DEFUN (__assert_func, (file, line, func, failedexpr), void _DEFUN (__assert, (file, line, failedexpr), - const char *file _AND - int line _AND + const char *file, + int line, const char *failedexpr) { __assert_func (file, line, NULL, failedexpr); diff --git a/newlib/libc/machine/spu/creat.c b/newlib/libc/machine/spu/creat.c index 3cd7143..0e271c1 100644 --- a/newlib/libc/machine/spu/creat.c +++ b/newlib/libc/machine/spu/creat.c @@ -8,7 +8,7 @@ int _DEFUN(creat, (path, mode), - const char *path _AND + const char *path, mode_t mode) { return open (path, O_WRONLY | O_CREAT | O_TRUNC, mode); diff --git a/newlib/libc/machine/spu/fdopen.c b/newlib/libc/machine/spu/fdopen.c index a795db8..b09ffad 100644 --- a/newlib/libc/machine/spu/fdopen.c +++ b/newlib/libc/machine/spu/fdopen.c @@ -35,7 +35,7 @@ POSSIBILITY OF SUCH DAMAGE. /* Just a stub for now. */ FILE * _DEFUN (fdopen, (fd, mode), - int fd _AND + int fd, _CONST char *mode) { errno = ENOSYS; diff --git a/newlib/libc/machine/spu/fgetpos.c b/newlib/libc/machine/spu/fgetpos.c index 694400e..bb7d780 100644 --- a/newlib/libc/machine/spu/fgetpos.c +++ b/newlib/libc/machine/spu/fgetpos.c @@ -45,7 +45,7 @@ typedef struct int _DEFUN (fgetpos, (fp, pos), - FILE *__restrict fp _AND + FILE *__restrict fp, _fpos_t *__restrict pos) { c99_fgetpos_t arg; diff --git a/newlib/libc/machine/spu/fgets.c b/newlib/libc/machine/spu/fgets.c index 2b0ca41..8f2a978 100644 --- a/newlib/libc/machine/spu/fgets.c +++ b/newlib/libc/machine/spu/fgets.c @@ -47,8 +47,8 @@ typedef struct char * _DEFUN (fgets, (buf, n, fp), - char *__restrict buf _AND - int n _AND + char *__restrict buf, + int n, FILE *__restrict fp) { c99_fgets_t args; diff --git a/newlib/libc/machine/spu/fopen.c b/newlib/libc/machine/spu/fopen.c index 821d7c2..c41d335 100644 --- a/newlib/libc/machine/spu/fopen.c +++ b/newlib/libc/machine/spu/fopen.c @@ -46,7 +46,7 @@ typedef struct #ifndef _REENT_ONLY FILE * _DEFUN (fopen, (file, mode), - _CONST char *__restrict file _AND + _CONST char *__restrict file, _CONST char *__restrict mode) { int ret; diff --git a/newlib/libc/machine/spu/fputs.c b/newlib/libc/machine/spu/fputs.c index 9ed7968..8cf84bb 100644 --- a/newlib/libc/machine/spu/fputs.c +++ b/newlib/libc/machine/spu/fputs.c @@ -47,7 +47,7 @@ typedef struct int _DEFUN (fputs, (s, fp), - char _CONST *__restrict s _AND + char _CONST *__restrict s, FILE *__restrict fp) { c99_fputs_t args; diff --git a/newlib/libc/machine/spu/fread.c b/newlib/libc/machine/spu/fread.c index eb3966c..3ea24cc 100644 --- a/newlib/libc/machine/spu/fread.c +++ b/newlib/libc/machine/spu/fread.c @@ -50,9 +50,9 @@ typedef struct size_t _DEFUN (fread, (buf, size, count, fp), - _PTR __restrict buf _AND - size_t size _AND - size_t count _AND + _PTR __restrict buf, + size_t size, + size_t count, FILE *__restrict fp) { c99_fread_t args; diff --git a/newlib/libc/machine/spu/freopen.c b/newlib/libc/machine/spu/freopen.c index 53dd2bc..7c52abe 100644 --- a/newlib/libc/machine/spu/freopen.c +++ b/newlib/libc/machine/spu/freopen.c @@ -48,8 +48,8 @@ typedef struct FILE * _DEFUN (freopen, (file, mode, fp), - const char *__restrict file _AND - const char *__restrict mode _AND + const char *__restrict file, + const char *__restrict mode, FILE *__restrict fp) { int ret; diff --git a/newlib/libc/machine/spu/fseek.c b/newlib/libc/machine/spu/fseek.c index dc74533..136d5c6 100644 --- a/newlib/libc/machine/spu/fseek.c +++ b/newlib/libc/machine/spu/fseek.c @@ -48,8 +48,8 @@ typedef struct int _DEFUN (fseek, (fp, offset, whence), - register FILE *fp _AND - long offset _AND + register FILE *fp, + long offset, int whence) { c99_fseek_t args; diff --git a/newlib/libc/machine/spu/fsetpos.c b/newlib/libc/machine/spu/fsetpos.c index 3bd0dde..1ebbb8f 100644 --- a/newlib/libc/machine/spu/fsetpos.c +++ b/newlib/libc/machine/spu/fsetpos.c @@ -46,7 +46,7 @@ typedef struct int _DEFUN (fsetpos, (iop, pos), - FILE * iop _AND + FILE * iop, _CONST _fpos_t * pos) { c99_fsetpos_t args; diff --git a/newlib/libc/machine/spu/fwrite.c b/newlib/libc/machine/spu/fwrite.c index 58aab9f..6de5710 100644 --- a/newlib/libc/machine/spu/fwrite.c +++ b/newlib/libc/machine/spu/fwrite.c @@ -50,9 +50,9 @@ typedef struct size_t _DEFUN (fwrite, (buf, size, count, fp), - _CONST _PTR __restrict buf _AND - size_t size _AND - size_t count _AND + _CONST _PTR __restrict buf, + size_t size, + size_t count, FILE * fp) { c99_fwrite_t args; diff --git a/newlib/libc/machine/spu/setbuf.c b/newlib/libc/machine/spu/setbuf.c index 84430fc..c942bb9 100644 --- a/newlib/libc/machine/spu/setbuf.c +++ b/newlib/libc/machine/spu/setbuf.c @@ -47,7 +47,7 @@ typedef struct void _DEFUN (setbuf, (fp, buf), - FILE *__restrict fp _AND + FILE *__restrict fp, char *__restrict buf) { c99_setbuf_t args; diff --git a/newlib/libc/machine/spu/setvbuf.c b/newlib/libc/machine/spu/setvbuf.c index 32da292..a045cc3 100644 --- a/newlib/libc/machine/spu/setvbuf.c +++ b/newlib/libc/machine/spu/setvbuf.c @@ -51,9 +51,9 @@ typedef struct int _DEFUN (setvbuf, (fp, buf, mode, size), - FILE * fp _AND - char *buf _AND - int mode _AND + FILE * fp, + char *buf, + int mode, size_t size) { c99_setvbuf_t args; diff --git a/newlib/libc/machine/spu/vfprintf.c b/newlib/libc/machine/spu/vfprintf.c index 128d0b3..e5ef2fa 100644 --- a/newlib/libc/machine/spu/vfprintf.c +++ b/newlib/libc/machine/spu/vfprintf.c @@ -58,8 +58,8 @@ typedef struct int _DEFUN (vfprintf, (fp, fmt0, ap), - FILE *__restrict fp _AND - _CONST char *__restrict fmt0 _AND + FILE *__restrict fp, + _CONST char *__restrict fmt0, va_list ap) { c99_vfprintf_t args; diff --git a/newlib/libc/machine/spu/vfscanf.c b/newlib/libc/machine/spu/vfscanf.c index 0f72896..a497b7b 100644 --- a/newlib/libc/machine/spu/vfscanf.c +++ b/newlib/libc/machine/spu/vfscanf.c @@ -58,8 +58,8 @@ typedef struct int _DEFUN (vfscanf, (fp, fmt, ap), - FILE *__restrict fp _AND - _CONST char *__restrict fmt _AND + FILE *__restrict fp, + _CONST char *__restrict fmt, va_list ap) { c99_vfscanf_t args; diff --git a/newlib/libc/machine/spu/vprintf.c b/newlib/libc/machine/spu/vprintf.c index 32b86d8..35b12df 100644 --- a/newlib/libc/machine/spu/vprintf.c +++ b/newlib/libc/machine/spu/vprintf.c @@ -24,7 +24,7 @@ typedef struct int _DEFUN (vprintf, (fmt, ap), - _CONST char *fmt _AND + _CONST char *fmt, va_list ap) { c99_vprintf_t args; diff --git a/newlib/libc/machine/spu/vscanf.c b/newlib/libc/machine/spu/vscanf.c index 4f68bfe..29b4948 100644 --- a/newlib/libc/machine/spu/vscanf.c +++ b/newlib/libc/machine/spu/vscanf.c @@ -56,7 +56,7 @@ typedef struct int _DEFUN (vscanf, (fmt, ap), - _CONST char *fmt _AND + _CONST char *fmt, va_list ap) { c99_vscanf_t args; diff --git a/newlib/libc/machine/spu/vsnprintf.c b/newlib/libc/machine/spu/vsnprintf.c index cf4f5e7..f952b84 100644 --- a/newlib/libc/machine/spu/vsnprintf.c +++ b/newlib/libc/machine/spu/vsnprintf.c @@ -28,9 +28,9 @@ typedef struct int _DEFUN (vsnprintf, (str, size, fmt, ap), - char *__restrict str _AND - size_t size _AND - _CONST char *__restrict fmt _AND + char *__restrict str, + size_t size, + _CONST char *__restrict fmt, va_list ap) { c99_vsnprintf_t args; diff --git a/newlib/libc/machine/spu/vsprintf.c b/newlib/libc/machine/spu/vsprintf.c index 0719d38..1a44de4 100644 --- a/newlib/libc/machine/spu/vsprintf.c +++ b/newlib/libc/machine/spu/vsprintf.c @@ -27,8 +27,8 @@ typedef struct int _DEFUN (vsprintf, (str, fmt, ap), - char *__restrict str _AND - _CONST char *__restrict fmt _AND + char *__restrict str, + _CONST char *__restrict fmt, va_list ap) { c99_vsprintf_t args; diff --git a/newlib/libc/machine/spu/vsscanf.c b/newlib/libc/machine/spu/vsscanf.c index 2f7380f..38ee1f4 100644 --- a/newlib/libc/machine/spu/vsscanf.c +++ b/newlib/libc/machine/spu/vsscanf.c @@ -58,8 +58,8 @@ typedef struct int _DEFUN (vsscanf, (str, fmt, ap), - _CONST char *__restrict str _AND - _CONST char *__restrict fmt _AND + _CONST char *__restrict str, + _CONST char *__restrict fmt, va_list ap) { c99_vsscanf_t args; |