diff options
Diffstat (limited to 'newlib/libc/stdio/funopen.c')
-rw-r--r-- | newlib/libc/stdio/funopen.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/newlib/libc/stdio/funopen.c b/newlib/libc/stdio/funopen.c index 58b7564..23bed7b 100644 --- a/newlib/libc/stdio/funopen.c +++ b/newlib/libc/stdio/funopen.c @@ -105,9 +105,9 @@ typedef struct funcookie { static _READ_WRITE_RETURN_TYPE _DEFUN(funreader, (ptr, cookie, buf, n), - struct _reent *ptr _AND - void *cookie _AND - char *buf _AND + struct _reent *ptr, + void *cookie, + char *buf, _READ_WRITE_BUFSIZE_TYPE n) { int result; @@ -120,9 +120,9 @@ _DEFUN(funreader, (ptr, cookie, buf, n), static _READ_WRITE_RETURN_TYPE _DEFUN(funwriter, (ptr, cookie, buf, n), - struct _reent *ptr _AND - void *cookie _AND - const char *buf _AND + struct _reent *ptr, + void *cookie, + const char *buf, _READ_WRITE_BUFSIZE_TYPE n) { int result; @@ -135,9 +135,9 @@ _DEFUN(funwriter, (ptr, cookie, buf, n), static _fpos_t _DEFUN(funseeker, (ptr, cookie, off, whence), - struct _reent *ptr _AND - void *cookie _AND - _fpos_t off _AND + struct _reent *ptr, + void *cookie, + _fpos_t off, int whence) { funcookie *c = (funcookie *) cookie; @@ -163,9 +163,9 @@ _DEFUN(funseeker, (ptr, cookie, off, whence), #ifdef __LARGE64_FILES static _fpos64_t _DEFUN(funseeker64, (ptr, cookie, off, whence), - struct _reent *ptr _AND - void *cookie _AND - _fpos64_t off _AND + struct _reent *ptr, + void *cookie, + _fpos64_t off, int whence) { _fpos64_t result; @@ -179,7 +179,7 @@ _DEFUN(funseeker64, (ptr, cookie, off, whence), static int _DEFUN(funcloser, (ptr, cookie), - struct _reent *ptr _AND + struct _reent *ptr, void *cookie) { int result = 0; @@ -196,11 +196,11 @@ _DEFUN(funcloser, (ptr, cookie), FILE * _DEFUN(_funopen_r, (ptr, cookie, readfn, writefn, seekfn, closefn), - struct _reent *ptr _AND - const void *cookie _AND - funread readfn _AND - funwrite writefn _AND - funseek seekfn _AND + struct _reent *ptr, + const void *cookie, + funread readfn, + funwrite writefn, + funseek seekfn, funclose closefn) { FILE *fp; @@ -268,10 +268,10 @@ _DEFUN(_funopen_r, (ptr, cookie, readfn, writefn, seekfn, closefn), #ifndef _REENT_ONLY FILE * _DEFUN(funopen, (cookie, readfn, writefn, seekfn, closefn), - const void *cookie _AND - funread readfn _AND - funwrite writefn _AND - funseek seekfn _AND + const void *cookie, + funread readfn, + funwrite writefn, + funseek seekfn, funclose closefn) { return _funopen_r (_REENT, cookie, readfn, writefn, seekfn, closefn); |