diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-04 04:31:41 +0300 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-17 20:47:05 +0300 |
commit | 6783860a2e4e4183c073f62e4bb938cea0e096c3 (patch) | |
tree | ab2289b4902fdfc7266edcb8bcfbd8f5601948bd /libgloss/moxie | |
parent | 1e39db3062f941778e748f833e1f88dd5c7399a3 (diff) |
ansification: remove _AND
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'libgloss/moxie')
-rw-r--r-- | libgloss/moxie/fstat.c | 2 | ||||
-rw-r--r-- | libgloss/moxie/isatty.c | 2 | ||||
-rw-r--r-- | libgloss/moxie/kill.c | 2 | ||||
-rw-r--r-- | libgloss/moxie/qemu-time.c | 2 | ||||
-rw-r--r-- | libgloss/moxie/sim-lseek.S | 4 | ||||
-rw-r--r-- | libgloss/moxie/sim-lseek.c | 4 | ||||
-rw-r--r-- | libgloss/moxie/sim-time.c | 2 | ||||
-rw-r--r-- | libgloss/moxie/stat.c | 2 |
8 files changed, 10 insertions, 10 deletions
diff --git a/libgloss/moxie/fstat.c b/libgloss/moxie/fstat.c index 6464a861b..38dd07b34 100644 --- a/libgloss/moxie/fstat.c +++ b/libgloss/moxie/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/moxie/isatty.c b/libgloss/moxie/isatty.c index 14cb9c42c..73ade0741 100644 --- a/libgloss/moxie/isatty.c +++ b/libgloss/moxie/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/moxie/kill.c b/libgloss/moxie/kill.c index 257c491e0..d602829ce 100644 --- a/libgloss/moxie/kill.c +++ b/libgloss/moxie/kill.c @@ -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) diff --git a/libgloss/moxie/qemu-time.c b/libgloss/moxie/qemu-time.c index 4b0920994..1abd5a9f7 100644 --- a/libgloss/moxie/qemu-time.c +++ b/libgloss/moxie/qemu-time.c @@ -101,7 +101,7 @@ _DEFUN (time, time (t), */ int _DEFUN (_gettimeofday, _gettimeofday (tv, tz), - struct timeval *tv _AND + struct timeval *tv, void *tzvp) { struct timezone *tz = tzvp; diff --git a/libgloss/moxie/sim-lseek.S b/libgloss/moxie/sim-lseek.S index 1c799f872..5e5493cd7 100644 --- a/libgloss/moxie/sim-lseek.S +++ b/libgloss/moxie/sim-lseek.S @@ -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; diff --git a/libgloss/moxie/sim-lseek.c b/libgloss/moxie/sim-lseek.c index 8e7ee50e9..d22d7226c 100644 --- a/libgloss/moxie/sim-lseek.c +++ b/libgloss/moxie/sim-lseek.c @@ -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; */ diff --git a/libgloss/moxie/sim-time.c b/libgloss/moxie/sim-time.c index 3e9fafb4b..d3f43d385 100644 --- a/libgloss/moxie/sim-time.c +++ b/libgloss/moxie/sim-time.c @@ -65,7 +65,7 @@ _DEFUN (_times, _times (buf), */ int _DEFUN (_gettimeofday, _gettimeofday (tv, tz), - struct timeval *tv _AND + struct timeval *tv, void *tzvp) { struct timezone *tz = tzvp; diff --git a/libgloss/moxie/stat.c b/libgloss/moxie/stat.c index 0d7511ae6..01a958210 100644 --- a/libgloss/moxie/stat.c +++ b/libgloss/moxie/stat.c @@ -21,7 +21,7 @@ */ int _DEFUN (_stat, (path, buf), - const char *path _AND + const char *path, struct stat *buf) { errno = EIO; |