ansification: remove _AND
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
@@ -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 */
|
||||
|
@@ -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),
|
||||
|
@@ -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)
|
||||
|
@@ -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;
|
||||
|
@@ -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; */
|
||||
|
@@ -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;
|
||||
|
@@ -21,7 +21,7 @@
|
||||
*/
|
||||
int
|
||||
_DEFUN (_stat, (path, buf),
|
||||
const char *path _AND
|
||||
const char *path,
|
||||
struct stat *buf)
|
||||
{
|
||||
errno = EIO;
|
||||
|
Reference in New Issue
Block a user