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 */
|
||||
|
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
int
|
||||
_DEFUN (_kill, (pid, sig),
|
||||
int pid _AND
|
||||
int pid,
|
||||
int sig)
|
||||
{
|
||||
if(pid == __MYPID)
|
||||
|
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
off_t
|
||||
_DEFUN (_lseek, (fd, offset, whence),
|
||||
int fd _AND
|
||||
off_t offset _AND
|
||||
int fd,
|
||||
off_t offset,
|
||||
int whence)
|
||||
{
|
||||
errno = ESPIPE;
|
||||
|
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
int
|
||||
_DEFUN (_open, (buf, flags, mode),
|
||||
const char *buf _AND
|
||||
int flags _AND
|
||||
const char *buf,
|
||||
int flags,
|
||||
int mode)
|
||||
{
|
||||
errno = EIO;
|
||||
|
@@ -22,8 +22,8 @@ extern char _DEFUN_VOID (inbyte);
|
||||
*/
|
||||
int
|
||||
_DEFUN (_read, (fd, buf, nbytes),
|
||||
int fd _AND
|
||||
char *buf _AND
|
||||
int fd,
|
||||
char *buf,
|
||||
int nbytes)
|
||||
{
|
||||
int i = 0;
|
||||
|
@@ -21,7 +21,7 @@
|
||||
*/
|
||||
int
|
||||
_DEFUN (_stat, (path, buf),
|
||||
const char *path _AND
|
||||
const char *path,
|
||||
struct stat *buf)
|
||||
{
|
||||
errno = EIO;
|
||||
|
@@ -23,8 +23,8 @@ extern int _EXFUN (outbyte, (char x));
|
||||
*/
|
||||
int
|
||||
_DEFUN (_write, (fd, buf, nbytes),
|
||||
int fd _AND
|
||||
char *buf _AND
|
||||
int fd,
|
||||
char *buf,
|
||||
int nbytes)
|
||||
{
|
||||
int i;
|
||||
|
Reference in New Issue
Block a user