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

@@ -19,7 +19,7 @@
*/
int
_DEFUN (_kill, (pid, sig),
int pid _AND
int pid,
int sig)
{
if(pid == __MYPID)

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

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

View File

@@ -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;