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/frv | |
parent | 1e39db3062f941778e748f833e1f88dd5c7399a3 (diff) |
ansification: remove _AND
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'libgloss/frv')
-rw-r--r-- | libgloss/frv/fstat.c | 2 | ||||
-rw-r--r-- | libgloss/frv/isatty.c | 2 | ||||
-rw-r--r-- | libgloss/frv/kill.c | 2 | ||||
-rw-r--r-- | libgloss/frv/sim-time.c | 2 | ||||
-rw-r--r-- | libgloss/frv/stat.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/libgloss/frv/fstat.c b/libgloss/frv/fstat.c index 756f7b261..680c4a1c0 100644 --- a/libgloss/frv/fstat.c +++ b/libgloss/frv/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/frv/isatty.c b/libgloss/frv/isatty.c index b021b4ff8..e4c99065b 100644 --- a/libgloss/frv/isatty.c +++ b/libgloss/frv/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/frv/kill.c b/libgloss/frv/kill.c index 7c365fd06..8dda1e9a6 100644 --- a/libgloss/frv/kill.c +++ b/libgloss/frv/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/frv/sim-time.c b/libgloss/frv/sim-time.c index c4746b482..196f855ad 100644 --- a/libgloss/frv/sim-time.c +++ b/libgloss/frv/sim-time.c @@ -66,7 +66,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/frv/stat.c b/libgloss/frv/stat.c index 094ab4875..ceaedc216 100644 --- a/libgloss/frv/stat.c +++ b/libgloss/frv/stat.c @@ -21,7 +21,7 @@ */ int _DEFUN (_stat, (path, buf), - const char *path _AND + const char *path, struct stat *buf) { errno = EIO; |