diff options
Diffstat (limited to 'newlib/libc/stdio64')
-rw-r--r-- | newlib/libc/stdio64/fdopen64.c | 6 | ||||
-rw-r--r-- | newlib/libc/stdio64/fgetpos64.c | 6 | ||||
-rw-r--r-- | newlib/libc/stdio64/fopen64.c | 6 | ||||
-rw-r--r-- | newlib/libc/stdio64/freopen64.c | 6 | ||||
-rw-r--r-- | newlib/libc/stdio64/fseeko64.c | 6 | ||||
-rw-r--r-- | newlib/libc/stdio64/fsetpos64.c | 6 | ||||
-rw-r--r-- | newlib/libc/stdio64/ftello64.c | 6 | ||||
-rw-r--r-- | newlib/libc/stdio64/stdio64.c | 6 | ||||
-rw-r--r-- | newlib/libc/stdio64/tmpfile64.c | 3 |
9 files changed, 17 insertions, 34 deletions
diff --git a/newlib/libc/stdio64/fdopen64.c b/newlib/libc/stdio64/fdopen64.c index 3c8d4fa..9d9645b 100644 --- a/newlib/libc/stdio64/fdopen64.c +++ b/newlib/libc/stdio64/fdopen64.c @@ -35,8 +35,7 @@ File pointer or <<NULL>>, as for <<fopen>>. extern int __sflags (); FILE * -_DEFUN (_fdopen64_r, (ptr, fd, mode), - struct _reent *ptr, +_fdopen64_r (struct _reent *ptr, int fd, const char *mode) { @@ -108,8 +107,7 @@ _DEFUN (_fdopen64_r, (ptr, fd, mode), #ifndef _REENT_ONLY FILE * -_DEFUN (fdopen64, (fd, mode), - int fd, +fdopen64 (int fd, const char *mode) { return _fdopen64_r (_REENT, fd, mode); diff --git a/newlib/libc/stdio64/fgetpos64.c b/newlib/libc/stdio64/fgetpos64.c index e2dd289..52ead9d 100644 --- a/newlib/libc/stdio64/fgetpos64.c +++ b/newlib/libc/stdio64/fgetpos64.c @@ -45,8 +45,7 @@ No supporting OS subroutines are required. #ifdef __LARGE64_FILES int -_DEFUN (_fgetpos64_r, (ptr, fp, pos), - struct _reent * ptr, +_fgetpos64_r (struct _reent * ptr, FILE * fp, _fpos64_t * pos) { @@ -62,8 +61,7 @@ _DEFUN (_fgetpos64_r, (ptr, fp, pos), #ifndef _REENT_ONLY int -_DEFUN (fgetpos64, (fp, pos), - FILE * fp, +fgetpos64 (FILE * fp, _fpos64_t * pos) { return _fgetpos64_r (_REENT, fp, pos); diff --git a/newlib/libc/stdio64/fopen64.c b/newlib/libc/stdio64/fopen64.c index 406afa1..8c8df91 100644 --- a/newlib/libc/stdio64/fopen64.c +++ b/newlib/libc/stdio64/fopen64.c @@ -64,8 +64,7 @@ static char sccsid[] = "%W% (Berkeley) %G%"; #ifdef __LARGE64_FILES FILE * -_DEFUN (_fopen64_r, (ptr, file, mode), - struct _reent *ptr, +_fopen64_r (struct _reent *ptr, const char *file, const char *mode) { @@ -117,8 +116,7 @@ _DEFUN (_fopen64_r, (ptr, file, mode), #ifndef _REENT_ONLY FILE * -_DEFUN (fopen64, (file, mode), - const char *file, +fopen64 (const char *file, const char *mode) { return _fopen64_r (_REENT, file, mode); diff --git a/newlib/libc/stdio64/freopen64.c b/newlib/libc/stdio64/freopen64.c index d267899..17942b7 100644 --- a/newlib/libc/stdio64/freopen64.c +++ b/newlib/libc/stdio64/freopen64.c @@ -75,8 +75,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>, #ifdef __LARGE64_FILES FILE * -_DEFUN (_freopen64_r, (ptr, file, mode, fp), - struct _reent *ptr, +_freopen64_r (struct _reent *ptr, const char *file, const char *mode, register FILE *fp) @@ -247,8 +246,7 @@ _DEFUN (_freopen64_r, (ptr, file, mode, fp), #ifndef _REENT_ONLY FILE * -_DEFUN (freopen64, (file, mode, fp), - const char *file, +freopen64 (const char *file, const char *mode, register FILE *fp) { diff --git a/newlib/libc/stdio64/fseeko64.c b/newlib/libc/stdio64/fseeko64.c index 8cd11fa..085855d 100644 --- a/newlib/libc/stdio64/fseeko64.c +++ b/newlib/libc/stdio64/fseeko64.c @@ -85,8 +85,7 @@ Supporting OS subroutines required: <<close>>, <<fstat64>>, <<isatty>>, */ _off64_t -_DEFUN (_fseeko64_r, (ptr, fp, offset, whence), - struct _reent *ptr, +_fseeko64_r (struct _reent *ptr, register FILE *fp, _off64_t offset, int whence) @@ -342,8 +341,7 @@ dumb: #ifndef _REENT_ONLY _off64_t -_DEFUN (fseeko64, (fp, offset, whence), - register FILE *fp, +fseeko64 (register FILE *fp, _off64_t offset, int whence) { diff --git a/newlib/libc/stdio64/fsetpos64.c b/newlib/libc/stdio64/fsetpos64.c index f5f6bda..254eb53 100644 --- a/newlib/libc/stdio64/fsetpos64.c +++ b/newlib/libc/stdio64/fsetpos64.c @@ -41,8 +41,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>, #ifdef __LARGE64_FILES int -_DEFUN (_fsetpos64_r, (ptr, iop, pos), - struct _reent *ptr, +_fsetpos64_r (struct _reent *ptr, FILE * iop, const _fpos64_t * pos) { @@ -56,8 +55,7 @@ _DEFUN (_fsetpos64_r, (ptr, iop, pos), #ifndef _REENT_ONLY int -_DEFUN (fsetpos64, (iop, pos), - FILE * iop, +fsetpos64 (FILE * iop, const _fpos64_t * pos) { return _fsetpos64_r (_REENT, iop, pos); diff --git a/newlib/libc/stdio64/ftello64.c b/newlib/libc/stdio64/ftello64.c index 9a7e7ed..7221d5e 100644 --- a/newlib/libc/stdio64/ftello64.c +++ b/newlib/libc/stdio64/ftello64.c @@ -76,8 +76,7 @@ static char sccsid[] = "%W% (Berkeley) %G%"; #ifdef __LARGE64_FILES _off64_t -_DEFUN (_ftello64_r, (ptr, fp), - struct _reent *ptr, +_ftello64_r (struct _reent *ptr, register FILE * fp) { _fpos64_t pos; @@ -150,8 +149,7 @@ _DEFUN (_ftello64_r, (ptr, fp), #ifndef _REENT_ONLY _off64_t -_DEFUN (ftello64, (fp), - register FILE * fp) +ftello64 (register FILE * fp) { return _ftello64_r (_REENT, fp); } diff --git a/newlib/libc/stdio64/stdio64.c b/newlib/libc/stdio64/stdio64.c index 813b919..8e5efc8 100644 --- a/newlib/libc/stdio64/stdio64.c +++ b/newlib/libc/stdio64/stdio64.c @@ -26,8 +26,7 @@ #ifdef __LARGE64_FILES _fpos64_t -_DEFUN(__sseek64, (ptr, cookie, offset, whence), - struct _reent *ptr, +__sseek64 (struct _reent *ptr, void *cookie, _fpos64_t offset, int whence) @@ -47,8 +46,7 @@ _DEFUN(__sseek64, (ptr, cookie, offset, whence), } _READ_WRITE_RETURN_TYPE -_DEFUN(__swrite64, (ptr, cookie, buf, n), - struct _reent *ptr, +__swrite64 (struct _reent *ptr, void *cookie, char const *buf, _READ_WRITE_BUFSIZE_TYPE n) diff --git a/newlib/libc/stdio64/tmpfile64.c b/newlib/libc/stdio64/tmpfile64.c index 2012417..18a38d6 100644 --- a/newlib/libc/stdio64/tmpfile64.c +++ b/newlib/libc/stdio64/tmpfile64.c @@ -53,8 +53,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<getpid>>, #ifdef __LARGE64_FILES FILE * -_DEFUN (_tmpfile64_r, (ptr), - struct _reent *ptr) +_tmpfile64_r (struct _reent *ptr) { FILE *fp; int e; |