Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-04 06:43:30 +0300
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 20:47:26 +0300
commit9087163804df8af6dc2ec1f675a2341c25f7795f (patch)
tree86fcb38236347d0e97a16c957e41dca597b8e8a8 /newlib/libc/stdio64
parent44276afe2a0365d655425702205604640829668d (diff)
ansification: remove _DEFUN
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/stdio64')
-rw-r--r--newlib/libc/stdio64/fdopen64.c6
-rw-r--r--newlib/libc/stdio64/fgetpos64.c6
-rw-r--r--newlib/libc/stdio64/fopen64.c6
-rw-r--r--newlib/libc/stdio64/freopen64.c6
-rw-r--r--newlib/libc/stdio64/fseeko64.c6
-rw-r--r--newlib/libc/stdio64/fsetpos64.c6
-rw-r--r--newlib/libc/stdio64/ftello64.c6
-rw-r--r--newlib/libc/stdio64/stdio64.c6
-rw-r--r--newlib/libc/stdio64/tmpfile64.c3
9 files changed, 17 insertions, 34 deletions
diff --git a/newlib/libc/stdio64/fdopen64.c b/newlib/libc/stdio64/fdopen64.c
index 3c8d4fa05..9d9645b36 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 e2dd28914..52ead9d0d 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 406afa190..8c8df9141 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 d267899c6..17942b74a 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 8cd11fa67..085855d4b 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 f5f6bdacf..254eb53d7 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 9a7e7edfd..7221d5eaf 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 813b919bf..8e5efc8b0 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 2012417fb..18a38d65c 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;