ansification: remove _AND
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
|
||||
int
|
||||
_DEFUN (_kill, (pid, sig),
|
||||
int pid _AND
|
||||
int pid,
|
||||
int sig)
|
||||
{
|
||||
if (pid == 1 || pid < 0)
|
||||
|
@ -19,7 +19,7 @@ int _DEFUN(_getpid,(),)
|
||||
}
|
||||
|
||||
int _DEFUN(_kill,(pid, sig),
|
||||
int pid _AND
|
||||
int pid,
|
||||
int sig)
|
||||
{
|
||||
if (pid == 0)
|
||||
|
@ -20,7 +20,7 @@ int _DEFUN(_getpid,(),)
|
||||
}
|
||||
|
||||
int _DEFUN(_kill,(pid, sig),
|
||||
int pid _AND
|
||||
int pid,
|
||||
int sig)
|
||||
{
|
||||
if (sig == SIGABRT)
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -31,7 +31,7 @@ isatty() {
|
||||
|
||||
int
|
||||
_DEFUN(_fstat,(file, st),
|
||||
int file _AND
|
||||
int file,
|
||||
struct stat *st)
|
||||
{
|
||||
st->st_mode = S_IFCHR;
|
||||
|
Reference in New Issue
Block a user