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/reent
parent44276afe2a0365d655425702205604640829668d (diff)
ansification: remove _DEFUN
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/reent')
-rw-r--r--newlib/libc/reent/execr.c9
-rw-r--r--newlib/libc/reent/fcntlr.c3
-rw-r--r--newlib/libc/reent/fstat64r.c3
-rw-r--r--newlib/libc/reent/gettimeofdayr.c3
-rw-r--r--newlib/libc/reent/linkr.c3
-rw-r--r--newlib/libc/reent/lseek64r.c3
-rw-r--r--newlib/libc/reent/lseekr.c3
-rw-r--r--newlib/libc/reent/mkdirr.c3
-rw-r--r--newlib/libc/reent/openr.c3
-rw-r--r--newlib/libc/reent/readr.c3
-rw-r--r--newlib/libc/reent/reent.c6
-rw-r--r--newlib/libc/reent/renamer.c3
-rw-r--r--newlib/libc/reent/sbrkr.c3
-rw-r--r--newlib/libc/reent/signalr.c6
-rw-r--r--newlib/libc/reent/stat64r.c3
-rw-r--r--newlib/libc/reent/statr.c3
-rw-r--r--newlib/libc/reent/timesr.c3
-rw-r--r--newlib/libc/reent/unlinkr.c3
-rw-r--r--newlib/libc/reent/writer.c3
19 files changed, 23 insertions, 46 deletions
diff --git a/newlib/libc/reent/execr.c b/newlib/libc/reent/execr.c
index 0dc531384..59b61223e 100644
--- a/newlib/libc/reent/execr.c
+++ b/newlib/libc/reent/execr.c
@@ -45,8 +45,7 @@ DESCRIPTION
*/
int
-_DEFUN (_execve_r, (ptr, name, argv, env),
- struct _reent *ptr,
+_execve_r (struct _reent *ptr,
const char *name,
char *const argv[],
char *const env[])
@@ -81,8 +80,7 @@ DESCRIPTION
#ifndef NO_FORK
int
-_DEFUN (_fork_r, (ptr),
- struct _reent *ptr)
+_fork_r (struct _reent *ptr)
{
int ret;
@@ -113,8 +111,7 @@ DESCRIPTION
*/
int
-_DEFUN (_wait_r, (ptr, status),
- struct _reent *ptr,
+_wait_r (struct _reent *ptr,
int *status)
{
int ret;
diff --git a/newlib/libc/reent/fcntlr.c b/newlib/libc/reent/fcntlr.c
index fdfe41090..cd19d226f 100644
--- a/newlib/libc/reent/fcntlr.c
+++ b/newlib/libc/reent/fcntlr.c
@@ -40,8 +40,7 @@ DESCRIPTION
*/
int
-_DEFUN (_fcntl_r, (ptr, fd, cmd, arg),
- struct _reent *ptr,
+_fcntl_r (struct _reent *ptr,
int fd,
int cmd,
int arg)
diff --git a/newlib/libc/reent/fstat64r.c b/newlib/libc/reent/fstat64r.c
index 06a89a5c8..c546f5c1d 100644
--- a/newlib/libc/reent/fstat64r.c
+++ b/newlib/libc/reent/fstat64r.c
@@ -47,8 +47,7 @@ DESCRIPTION
*/
int
-_DEFUN (_fstat64_r, (ptr, fd, pstat),
- struct _reent *ptr,
+_fstat64_r (struct _reent *ptr,
int fd,
struct stat64 *pstat)
{
diff --git a/newlib/libc/reent/gettimeofdayr.c b/newlib/libc/reent/gettimeofdayr.c
index 80942afb0..9b982a993 100644
--- a/newlib/libc/reent/gettimeofdayr.c
+++ b/newlib/libc/reent/gettimeofdayr.c
@@ -52,8 +52,7 @@ DESCRIPTION
*/
int
-_DEFUN (_gettimeofday_r, (ptr, ptimeval, ptimezone),
- struct _reent *ptr,
+_gettimeofday_r (struct _reent *ptr,
struct timeval *ptimeval,
void *ptimezone)
{
diff --git a/newlib/libc/reent/linkr.c b/newlib/libc/reent/linkr.c
index 5e85f2d2e..b22da5f94 100644
--- a/newlib/libc/reent/linkr.c
+++ b/newlib/libc/reent/linkr.c
@@ -43,8 +43,7 @@ DESCRIPTION
*/
int
-_DEFUN (_link_r, (ptr, old, new),
- struct _reent *ptr,
+_link_r (struct _reent *ptr,
const char *old,
const char *new)
{
diff --git a/newlib/libc/reent/lseek64r.c b/newlib/libc/reent/lseek64r.c
index 2f16f0bca..40769fb6d 100644
--- a/newlib/libc/reent/lseek64r.c
+++ b/newlib/libc/reent/lseek64r.c
@@ -41,8 +41,7 @@ DESCRIPTION
*/
_off64_t
-_DEFUN (_lseek64_r, (ptr, fd, pos, whence),
- struct _reent *ptr,
+_lseek64_r (struct _reent *ptr,
int fd,
_off64_t pos,
int whence)
diff --git a/newlib/libc/reent/lseekr.c b/newlib/libc/reent/lseekr.c
index 639158912..ac2daaab9 100644
--- a/newlib/libc/reent/lseekr.c
+++ b/newlib/libc/reent/lseekr.c
@@ -38,8 +38,7 @@ DESCRIPTION
*/
_off_t
-_DEFUN (_lseek_r, (ptr, fd, pos, whence),
- struct _reent *ptr,
+_lseek_r (struct _reent *ptr,
int fd,
_off_t pos,
int whence)
diff --git a/newlib/libc/reent/mkdirr.c b/newlib/libc/reent/mkdirr.c
index dca20dc2c..fd72df64c 100644
--- a/newlib/libc/reent/mkdirr.c
+++ b/newlib/libc/reent/mkdirr.c
@@ -40,8 +40,7 @@ DESCRIPTION
#include <sys/stat.h>
int
-_DEFUN (_mkdir_r, (ptr, path, mode),
- struct _reent *ptr,
+_mkdir_r (struct _reent *ptr,
const char *path,
int mode)
{
diff --git a/newlib/libc/reent/openr.c b/newlib/libc/reent/openr.c
index 33ace75ad..c6a7db5de 100644
--- a/newlib/libc/reent/openr.c
+++ b/newlib/libc/reent/openr.c
@@ -39,8 +39,7 @@ DESCRIPTION
*/
int
-_DEFUN (_open_r, (ptr, file, flags, mode),
- struct _reent *ptr,
+_open_r (struct _reent *ptr,
const char *file,
int flags,
int mode)
diff --git a/newlib/libc/reent/readr.c b/newlib/libc/reent/readr.c
index 9a3a694cc..7fccefd32 100644
--- a/newlib/libc/reent/readr.c
+++ b/newlib/libc/reent/readr.c
@@ -38,8 +38,7 @@ DESCRIPTION
*/
_ssize_t
-_DEFUN (_read_r, (ptr, fd, buf, cnt),
- struct _reent *ptr,
+_read_r (struct _reent *ptr,
int fd,
void *buf,
size_t cnt)
diff --git a/newlib/libc/reent/reent.c b/newlib/libc/reent/reent.c
index a98c3110c..7c57e2019 100644
--- a/newlib/libc/reent/reent.c
+++ b/newlib/libc/reent/reent.c
@@ -30,8 +30,7 @@ int errno;
/* Interim cleanup code */
void
-_DEFUN (cleanup_glue, (ptr, glue),
- struct _reent *ptr,
+cleanup_glue (struct _reent *ptr,
struct _glue *glue)
{
/* Have to reclaim these in reverse order: */
@@ -42,8 +41,7 @@ _DEFUN (cleanup_glue, (ptr, glue),
}
void
-_DEFUN (_reclaim_reent, (ptr),
- struct _reent *ptr)
+_reclaim_reent (struct _reent *ptr)
{
if (ptr != _impure_ptr)
{
diff --git a/newlib/libc/reent/renamer.c b/newlib/libc/reent/renamer.c
index 736c1a30f..5420dc4a0 100644
--- a/newlib/libc/reent/renamer.c
+++ b/newlib/libc/reent/renamer.c
@@ -40,8 +40,7 @@ DESCRIPTION
*/
int
-_DEFUN (_rename_r, (ptr, old, new),
- struct _reent *ptr,
+_rename_r (struct _reent *ptr,
const char *old,
const char *new)
{
diff --git a/newlib/libc/reent/sbrkr.c b/newlib/libc/reent/sbrkr.c
index 0bc4163c1..21c4bd913 100644
--- a/newlib/libc/reent/sbrkr.c
+++ b/newlib/libc/reent/sbrkr.c
@@ -41,8 +41,7 @@ DESCRIPTION
*/
void *
-_DEFUN (_sbrk_r, (ptr, incr),
- struct _reent *ptr,
+_sbrk_r (struct _reent *ptr,
ptrdiff_t incr)
{
char *ret;
diff --git a/newlib/libc/reent/signalr.c b/newlib/libc/reent/signalr.c
index 9229061d5..345910e4b 100644
--- a/newlib/libc/reent/signalr.c
+++ b/newlib/libc/reent/signalr.c
@@ -43,8 +43,7 @@ DESCRIPTION
*/
int
-_DEFUN (_kill_r, (ptr, pid, sig),
- struct _reent *ptr,
+_kill_r (struct _reent *ptr,
int pid,
int sig)
{
@@ -78,8 +77,7 @@ DESCRIPTION
*/
int
-_DEFUN (_getpid_r, (ptr),
- struct _reent *ptr)
+_getpid_r (struct _reent *ptr)
{
int ret;
ret = _getpid ();
diff --git a/newlib/libc/reent/stat64r.c b/newlib/libc/reent/stat64r.c
index 2077c0a2e..b64736ef2 100644
--- a/newlib/libc/reent/stat64r.c
+++ b/newlib/libc/reent/stat64r.c
@@ -45,8 +45,7 @@ DESCRIPTION
*/
int
-_DEFUN (_stat64_r, (ptr, file, pstat),
- struct _reent *ptr,
+_stat64_r (struct _reent *ptr,
const char *file,
struct stat64 *pstat)
{
diff --git a/newlib/libc/reent/statr.c b/newlib/libc/reent/statr.c
index fb27ab0c0..9388e0246 100644
--- a/newlib/libc/reent/statr.c
+++ b/newlib/libc/reent/statr.c
@@ -45,8 +45,7 @@ DESCRIPTION
*/
int
-_DEFUN (_stat_r, (ptr, file, pstat),
- struct _reent *ptr,
+_stat_r (struct _reent *ptr,
const char *file,
struct stat *pstat)
{
diff --git a/newlib/libc/reent/timesr.c b/newlib/libc/reent/timesr.c
index dbe6a4ef0..bb890035a 100644
--- a/newlib/libc/reent/timesr.c
+++ b/newlib/libc/reent/timesr.c
@@ -44,8 +44,7 @@ DESCRIPTION
*/
clock_t
-_DEFUN (_times_r, (ptr, ptms),
- struct _reent *ptr,
+_times_r (struct _reent *ptr,
struct tms *ptms)
{
clock_t ret;
diff --git a/newlib/libc/reent/unlinkr.c b/newlib/libc/reent/unlinkr.c
index 0ef0ff56e..41bac0194 100644
--- a/newlib/libc/reent/unlinkr.c
+++ b/newlib/libc/reent/unlinkr.c
@@ -38,8 +38,7 @@ DESCRIPTION
*/
int
-_DEFUN (_unlink_r, (ptr, file),
- struct _reent *ptr,
+_unlink_r (struct _reent *ptr,
const char *file)
{
int ret;
diff --git a/newlib/libc/reent/writer.c b/newlib/libc/reent/writer.c
index 8d4b37530..704aba18b 100644
--- a/newlib/libc/reent/writer.c
+++ b/newlib/libc/reent/writer.c
@@ -38,8 +38,7 @@ DESCRIPTION
*/
_ssize_t
-_DEFUN (_write_r, (ptr, fd, buf, cnt),
- struct _reent *ptr,
+_write_r (struct _reent *ptr,
int fd,
const void *buf,
size_t cnt)