ansification: remove _AND

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
Yaakov Selkowitz
2017-12-03 19:31:41 -06:00
parent 1e39db3062
commit 6783860a2e
517 changed files with 1771 additions and 1773 deletions

View File

@ -7,7 +7,7 @@
int
_DEFUN (_kill, (pid, sig),
int pid _AND
int pid,
int sig)
{
if (pid == 1 || pid < 0)

View File

@ -19,7 +19,7 @@ int _DEFUN(_getpid,(),)
}
int _DEFUN(_kill,(pid, sig),
int pid _AND
int pid,
int sig)
{
if (pid == 0)

View File

@ -20,7 +20,7 @@ int _DEFUN(_getpid,(),)
}
int _DEFUN(_kill,(pid, sig),
int pid _AND
int pid,
int sig)
{
if (sig == SIGABRT)

View File

@ -7,10 +7,10 @@
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;
@ -34,9 +34,9 @@ _DEFUN (_pread_r, (rptr, fd, buf, n, off),
ssize_t
_DEFUN (__libc_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);

View File

@ -31,9 +31,9 @@ Supporting OS subroutine required: <<read>>, <<lseek64>>.
ssize_t
_DEFUN (__libc_pread64, (fd, buf, n, off),
int fd _AND
_PTR buf _AND
size_t n _AND
int fd,
_PTR buf,
size_t n,
loff_t off)
{
loff_t cur_pos;

View File

@ -7,10 +7,10 @@
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;
@ -34,9 +34,9 @@ _DEFUN (_pwrite_r, (rptr, fd, buf, n, off),
ssize_t
_DEFUN (__libc_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);

View File

@ -31,9 +31,9 @@ Supporting OS subroutine required: <<write>>, <<lseek64>>.
ssize_t
_DEFUN (__libc_pwrite64, (fd, buf, n, off),
int fd _AND
_PTR buf _AND
size_t n _AND
int fd,
_PTR buf,
size_t n,
loff_t off)
{
loff_t cur_pos;

View File

@ -31,7 +31,7 @@ isatty() {
int
_DEFUN(_fstat,(file, st),
int file _AND
int file,
struct stat *st)
{
st->st_mode = S_IFCHR;