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

@@ -20,7 +20,7 @@
*/
int
_DEFUN (_fstat, (fd, buf),
int fd _AND
int fd,
struct stat *buf)
{
buf->st_mode = S_IFCHR; /* Always pretend to be a tty */

View File

@@ -17,7 +17,7 @@
/*
* isatty -- returns 1 if connected to a terminal device,
* returns 0 if not. Since we're hooked up to a
* serial port, we'll say yes _AND return a 1.
* serial port, we'll say yes and return a 1.
*/
int
_DEFUN (_isatty, (fd),

View File

@@ -21,7 +21,7 @@ extern void _exit (int) __attribute__((__noreturn__));
*/
int
_DEFUN (_kill, (pid, sig),
int pid _AND
int pid,
int sig)
{
if(pid == __MYPID)

View File

@@ -23,8 +23,8 @@
*/
off_t
_DEFUN (_lseek, (fd, offset, whence),
int fd _AND
off_t offset _AND
int fd,
off_t offset,
int whence)
{
errno = ESPIPE;

View File

@@ -23,8 +23,8 @@
*/
off_t
_DEFUN (_lseek, (fd, offset, whence),
int fd _AND
off_t offset _AND
int fd,
off_t offset,
int whence)
{
/* errno = ESPIPE; */

View File

@@ -34,7 +34,7 @@ _DEFUN (_times, _times (buf),
*/
int
_DEFUN (_gettimeofday, _gettimeofday (tv, tz),
struct timeval *tv _AND
struct timeval *tv,
void *tzvp)
{
struct timezone *tz = tzvp;

View File

@@ -21,7 +21,7 @@
*/
int
_DEFUN (_stat, (path, buf),
const char *path _AND
const char *path,
struct stat *buf)
{
errno = EIO;