diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-03 21:43:30 -0600 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-17 11:47:26 -0600 |
commit | 9087163804df8af6dc2ec1f675a2341c25f7795f (patch) | |
tree | 86fcb38236347d0e97a16c957e41dca597b8e8a8 /newlib/libc/reent | |
parent | 44276afe2a0365d655425702205604640829668d (diff) | |
download | newlib-9087163804df8af6dc2ec1f675a2341c25f7795f.zip newlib-9087163804df8af6dc2ec1f675a2341c25f7795f.tar.gz newlib-9087163804df8af6dc2ec1f675a2341c25f7795f.tar.bz2 |
ansification: remove _DEFUN
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/reent')
-rw-r--r-- | newlib/libc/reent/execr.c | 9 | ||||
-rw-r--r-- | newlib/libc/reent/fcntlr.c | 3 | ||||
-rw-r--r-- | newlib/libc/reent/fstat64r.c | 3 | ||||
-rw-r--r-- | newlib/libc/reent/gettimeofdayr.c | 3 | ||||
-rw-r--r-- | newlib/libc/reent/linkr.c | 3 | ||||
-rw-r--r-- | newlib/libc/reent/lseek64r.c | 3 | ||||
-rw-r--r-- | newlib/libc/reent/lseekr.c | 3 | ||||
-rw-r--r-- | newlib/libc/reent/mkdirr.c | 3 | ||||
-rw-r--r-- | newlib/libc/reent/openr.c | 3 | ||||
-rw-r--r-- | newlib/libc/reent/readr.c | 3 | ||||
-rw-r--r-- | newlib/libc/reent/reent.c | 6 | ||||
-rw-r--r-- | newlib/libc/reent/renamer.c | 3 | ||||
-rw-r--r-- | newlib/libc/reent/sbrkr.c | 3 | ||||
-rw-r--r-- | newlib/libc/reent/signalr.c | 6 | ||||
-rw-r--r-- | newlib/libc/reent/stat64r.c | 3 | ||||
-rw-r--r-- | newlib/libc/reent/statr.c | 3 | ||||
-rw-r--r-- | newlib/libc/reent/timesr.c | 3 | ||||
-rw-r--r-- | newlib/libc/reent/unlinkr.c | 3 | ||||
-rw-r--r-- | newlib/libc/reent/writer.c | 3 |
19 files changed, 23 insertions, 46 deletions
diff --git a/newlib/libc/reent/execr.c b/newlib/libc/reent/execr.c index 0dc5313..59b6122 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 fdfe410..cd19d22 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 06a89a5..c546f5c 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 80942af..9b982a9 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 5e85f2d..b22da5f 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 2f16f0b..40769fb 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 6391589..ac2daaa 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 dca20dc..fd72df6 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 33ace75..c6a7db5 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 9a3a694..7fccefd 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 a98c311..7c57e20 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 736c1a3..5420dc4 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 0bc4163..21c4bd9 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 9229061..345910e 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 2077c0a..b64736e 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 fb27ab0..9388e02 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 dbe6a4e..bb89003 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 0ef0ff5..41bac01 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 8d4b375..704aba1 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) |