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 04:31:41 +0300
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 20:47:05 +0300
commit6783860a2e4e4183c073f62e4bb938cea0e096c3 (patch)
treeab2289b4902fdfc7266edcb8bcfbd8f5601948bd /newlib/libc/unix
parent1e39db3062f941778e748f833e1f88dd5c7399a3 (diff)
ansification: remove _AND
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/unix')
-rw-r--r--newlib/libc/unix/pread.c14
-rw-r--r--newlib/libc/unix/pwrite.c14
-rw-r--r--newlib/libc/unix/ttyname_r.c4
3 files changed, 16 insertions, 16 deletions
diff --git a/newlib/libc/unix/pread.c b/newlib/libc/unix/pread.c
index 7d351d9d1..236044465 100644
--- a/newlib/libc/unix/pread.c
+++ b/newlib/libc/unix/pread.c
@@ -39,10 +39,10 @@ Supporting OS subroutine required: <<read>>, <<lseek>>.
ssize_t
_DEFUN (_pread_r, (rptr, fd, buf, n, off),
- struct _reent *rptr _AND
- int fd _AND
- _PTR buf _AND
- size_t n _AND
+ struct _reent *rptr,
+ int fd,
+ _PTR buf,
+ size_t n,
off_t off)
{
off_t cur_pos;
@@ -66,9 +66,9 @@ _DEFUN (_pread_r, (rptr, fd, buf, n, off),
ssize_t
_DEFUN (pread, (fd, buf, n, off),
- int fd _AND
- _PTR buf _AND
- size_t n _AND
+ int fd,
+ _PTR buf,
+ size_t n,
off_t off)
{
return _pread_r (_REENT, fd, buf, n, off);
diff --git a/newlib/libc/unix/pwrite.c b/newlib/libc/unix/pwrite.c
index dad841243..2256a30ca 100644
--- a/newlib/libc/unix/pwrite.c
+++ b/newlib/libc/unix/pwrite.c
@@ -40,10 +40,10 @@ Supporting OS subroutine required: <<write>>, <<lseek>>.
ssize_t
_DEFUN (_pwrite_r, (rptr, fd, buf, n, off),
- struct _reent *rptr _AND
- int fd _AND
- _CONST _PTR buf _AND
- size_t n _AND
+ struct _reent *rptr,
+ int fd,
+ _CONST _PTR buf,
+ size_t n,
off_t off)
{
off_t cur_pos;
@@ -67,9 +67,9 @@ _DEFUN (_pwrite_r, (rptr, fd, buf, n, off),
ssize_t
_DEFUN (pwrite, (fd, buf, n, off),
- int fd _AND
- _CONST _PTR buf _AND
- size_t n _AND
+ int fd,
+ _CONST _PTR buf,
+ size_t n,
off_t off)
{
return _pwrite_r (_REENT, fd, buf, n, off);
diff --git a/newlib/libc/unix/ttyname_r.c b/newlib/libc/unix/ttyname_r.c
index 32bbd67af..673e7f543 100644
--- a/newlib/libc/unix/ttyname_r.c
+++ b/newlib/libc/unix/ttyname_r.c
@@ -45,8 +45,8 @@
*/
int
_DEFUN( ttyname_r,(fd, name, namesize),
- int fd _AND
- char *name _AND
+ int fd,
+ char *name,
size_t namesize)
{
struct stat sb;