From 6783860a2e4e4183c073f62e4bb938cea0e096c3 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Sun, 3 Dec 2017 19:31:41 -0600 Subject: ansification: remove _AND Signed-off-by: Yaakov Selkowitz --- libgloss/xstormy16/fstat.c | 2 +- libgloss/xstormy16/isatty.c | 2 +- libgloss/xstormy16/kill.c | 2 +- libgloss/xstormy16/lseek.c | 4 ++-- libgloss/xstormy16/open.c | 4 ++-- libgloss/xstormy16/stat.c | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) (limited to 'libgloss/xstormy16') diff --git a/libgloss/xstormy16/fstat.c b/libgloss/xstormy16/fstat.c index 982d578cb..2926ccaab 100644 --- a/libgloss/xstormy16/fstat.c +++ b/libgloss/xstormy16/fstat.c @@ -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 */ diff --git a/libgloss/xstormy16/isatty.c b/libgloss/xstormy16/isatty.c index e3c32051a..0e92a9f4f 100644 --- a/libgloss/xstormy16/isatty.c +++ b/libgloss/xstormy16/isatty.c @@ -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), diff --git a/libgloss/xstormy16/kill.c b/libgloss/xstormy16/kill.c index 0bbc0141a..2374dc29d 100644 --- a/libgloss/xstormy16/kill.c +++ b/libgloss/xstormy16/kill.c @@ -19,7 +19,7 @@ */ int _DEFUN (_kill, (pid, sig), - int pid _AND + int pid, int sig) { if(pid == __MYPID) diff --git a/libgloss/xstormy16/lseek.c b/libgloss/xstormy16/lseek.c index 640a96ea0..11dbab08e 100644 --- a/libgloss/xstormy16/lseek.c +++ b/libgloss/xstormy16/lseek.c @@ -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; diff --git a/libgloss/xstormy16/open.c b/libgloss/xstormy16/open.c index a2c318e1a..600f92982 100644 --- a/libgloss/xstormy16/open.c +++ b/libgloss/xstormy16/open.c @@ -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; diff --git a/libgloss/xstormy16/stat.c b/libgloss/xstormy16/stat.c index c766a341c..b80b83c6c 100644 --- a/libgloss/xstormy16/stat.c +++ b/libgloss/xstormy16/stat.c @@ -21,7 +21,7 @@ */ int _DEFUN (_stat, (path, buf), - const char *path _AND + const char *path, struct stat *buf) { errno = EIO; -- cgit v1.2.3