diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-03 19:31:41 -0600 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-17 11:47:05 -0600 |
commit | 6783860a2e4e4183c073f62e4bb938cea0e096c3 (patch) | |
tree | ab2289b4902fdfc7266edcb8bcfbd8f5601948bd /libgloss | |
parent | 1e39db3062f941778e748f833e1f88dd5c7399a3 (diff) | |
download | newlib-6783860a2e4e4183c073f62e4bb938cea0e096c3.zip newlib-6783860a2e4e4183c073f62e4bb938cea0e096c3.tar.gz newlib-6783860a2e4e4183c073f62e4bb938cea0e096c3.tar.bz2 |
ansification: remove _AND
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'libgloss')
64 files changed, 85 insertions, 85 deletions
diff --git a/libgloss/cr16/fstat.c b/libgloss/cr16/fstat.c index 637f87d..73e1fa2 100644 --- a/libgloss/cr16/fstat.c +++ b/libgloss/cr16/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/cr16/isatty.c b/libgloss/cr16/isatty.c index 1cb32e5..604e8f0 100644 --- a/libgloss/cr16/isatty.c +++ b/libgloss/cr16/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/cr16/kill.c b/libgloss/cr16/kill.c index b375844..43c3ec5 100644 --- a/libgloss/cr16/kill.c +++ b/libgloss/cr16/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/cr16/stat.c b/libgloss/cr16/stat.c index f1769cd..743fc94 100644 --- a/libgloss/cr16/stat.c +++ b/libgloss/cr16/stat.c @@ -21,7 +21,7 @@ */ int _DEFUN (_stat, (path, buf), - const char *path _AND + const char *path, struct stat *buf) { errno = EIO; diff --git a/libgloss/crx/fstat.c b/libgloss/crx/fstat.c index 380fc2a..75f8635 100644 --- a/libgloss/crx/fstat.c +++ b/libgloss/crx/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/crx/isatty.c b/libgloss/crx/isatty.c index 927d754..ac3d041 100644 --- a/libgloss/crx/isatty.c +++ b/libgloss/crx/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/crx/kill.c b/libgloss/crx/kill.c index 3ed228f..db5018c 100644 --- a/libgloss/crx/kill.c +++ b/libgloss/crx/kill.c @@ -20,7 +20,7 @@ */ int _DEFUN (kill, (pid, sig), - int pid _AND + int pid, int sig) { if(pid == __MYPID) diff --git a/libgloss/crx/stat.c b/libgloss/crx/stat.c index 6ffef82..9562b90 100644 --- a/libgloss/crx/stat.c +++ b/libgloss/crx/stat.c @@ -21,7 +21,7 @@ */ int _DEFUN (stat, (path, buf), - const char *path _AND + const char *path, struct stat *buf) { errno = EIO; diff --git a/libgloss/frv/fstat.c b/libgloss/frv/fstat.c index 756f7b2..680c4a1 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 b021b4f..e4c9906 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 7c365fd..8dda1e9 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 c4746b4..196f855 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 094ab48..ceaedc2 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; diff --git a/libgloss/fstat.c b/libgloss/fstat.c index 8082d63..e7f9133 100644 --- a/libgloss/fstat.c +++ b/libgloss/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/ft32/fstat.c b/libgloss/ft32/fstat.c index 77058b2..0bd432e 100644 --- a/libgloss/ft32/fstat.c +++ b/libgloss/ft32/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/ft32/isatty.c b/libgloss/ft32/isatty.c index 449410e..fd2d737 100644 --- a/libgloss/ft32/isatty.c +++ b/libgloss/ft32/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/ft32/kill.c b/libgloss/ft32/kill.c index 765b03e..4b2241f 100644 --- a/libgloss/ft32/kill.c +++ b/libgloss/ft32/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/ft32/sim-lseek.S b/libgloss/ft32/sim-lseek.S index 2dfde16..c2a134c 100644 --- a/libgloss/ft32/sim-lseek.S +++ b/libgloss/ft32/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/ft32/sim-lseek.c b/libgloss/ft32/sim-lseek.c index 297de2b..e5c08c8 100644 --- a/libgloss/ft32/sim-lseek.c +++ b/libgloss/ft32/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/ft32/sim-time.c b/libgloss/ft32/sim-time.c index 25e72a1..8f417eb 100644 --- a/libgloss/ft32/sim-time.c +++ b/libgloss/ft32/sim-time.c @@ -34,7 +34,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/ft32/stat.c b/libgloss/ft32/stat.c index 580e2ca..4d738ef 100644 --- a/libgloss/ft32/stat.c +++ b/libgloss/ft32/stat.c @@ -21,7 +21,7 @@ */ int _DEFUN (_stat, (path, buf), - const char *path _AND + const char *path, struct stat *buf) { errno = EIO; diff --git a/libgloss/isatty.c b/libgloss/isatty.c index 2d66cd6..675d99b 100644 --- a/libgloss/isatty.c +++ b/libgloss/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, return a 1. */ int _DEFUN (isatty, (fd), diff --git a/libgloss/kill.c b/libgloss/kill.c index afc1257..ada45f6 100644 --- a/libgloss/kill.c +++ b/libgloss/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/libnosys/chown.c b/libgloss/libnosys/chown.c index 67f98d5..0ddb85d 100644 --- a/libgloss/libnosys/chown.c +++ b/libgloss/libnosys/chown.c @@ -13,8 +13,8 @@ extern int errno; int _DEFUN (_chown, (path, owner, group), - const char *path _AND - uid_t owner _AND + const char *path, + uid_t owner, gid_t group) { errno = ENOSYS; diff --git a/libgloss/libnosys/execve.c b/libgloss/libnosys/execve.c index 01743ff..a93641a 100644 --- a/libgloss/libnosys/execve.c +++ b/libgloss/libnosys/execve.c @@ -12,8 +12,8 @@ extern int errno; int _DEFUN (_execve, (name, argv, env), - char *name _AND - char **argv _AND + char *name, + char **argv, char **env) { errno = ENOSYS; diff --git a/libgloss/libnosys/fstat.c b/libgloss/libnosys/fstat.c index 4e18d42..d04b407 100644 --- a/libgloss/libnosys/fstat.c +++ b/libgloss/libnosys/fstat.c @@ -14,7 +14,7 @@ extern int errno; int _DEFUN (_fstat, (fildes, st), - int fildes _AND + int fildes, struct stat *st) { errno = ENOSYS; diff --git a/libgloss/libnosys/gettod.c b/libgloss/libnosys/gettod.c index 4d42b4b..5e0b2db 100644 --- a/libgloss/libnosys/gettod.c +++ b/libgloss/libnosys/gettod.c @@ -16,7 +16,7 @@ struct timeval; int _DEFUN (_gettimeofday, (ptimeval, ptimezone), - struct timeval *ptimeval _AND + struct timeval *ptimeval, void *ptimezone) { errno = ENOSYS; diff --git a/libgloss/libnosys/kill.c b/libgloss/libnosys/kill.c index f1d12c6..c583287 100644 --- a/libgloss/libnosys/kill.c +++ b/libgloss/libnosys/kill.c @@ -12,7 +12,7 @@ extern int errno; int _DEFUN (_kill, (pid, sig), - int pid _AND + int pid, int sig) { errno = ENOSYS; diff --git a/libgloss/libnosys/link.c b/libgloss/libnosys/link.c index 35881cf..b27b5bc 100644 --- a/libgloss/libnosys/link.c +++ b/libgloss/libnosys/link.c @@ -12,7 +12,7 @@ extern int errno; int _DEFUN (_link, (existing, new), - char *existing _AND + char *existing, char *new) { errno = ENOSYS; diff --git a/libgloss/libnosys/lseek.c b/libgloss/libnosys/lseek.c index 0aa89e2..f583a14 100644 --- a/libgloss/libnosys/lseek.c +++ b/libgloss/libnosys/lseek.c @@ -12,8 +12,8 @@ extern int errno; int _DEFUN (_lseek, (file, ptr, dir), - int file _AND - int ptr _AND + int file, + int ptr, int dir) { errno = ENOSYS; diff --git a/libgloss/libnosys/open.c b/libgloss/libnosys/open.c index 2c8a6ce..ee8bece 100644 --- a/libgloss/libnosys/open.c +++ b/libgloss/libnosys/open.c @@ -12,8 +12,8 @@ extern int errno; int _DEFUN (_open, (file, flags, mode), - char *file _AND - int flags _AND + char *file, + int flags, int mode) { errno = ENOSYS; diff --git a/libgloss/libnosys/read.c b/libgloss/libnosys/read.c index 1a2819c..0ff3a9a 100644 --- a/libgloss/libnosys/read.c +++ b/libgloss/libnosys/read.c @@ -12,8 +12,8 @@ extern int errno; int _DEFUN (_read, (file, ptr, len), - int file _AND - char *ptr _AND + int file, + char *ptr, int len) { errno = ENOSYS; diff --git a/libgloss/libnosys/readlink.c b/libgloss/libnosys/readlink.c index 7df253c..00f3f89 100644 --- a/libgloss/libnosys/readlink.c +++ b/libgloss/libnosys/readlink.c @@ -13,8 +13,8 @@ extern int errno; int _DEFUN (_readlink, (path, buf, bufsize), - const char *path _AND - char *buf _AND + const char *path, + char *buf, size_t bufsize) { errno = ENOSYS; diff --git a/libgloss/libnosys/stat.c b/libgloss/libnosys/stat.c index 7c34637..9fa7003 100644 --- a/libgloss/libnosys/stat.c +++ b/libgloss/libnosys/stat.c @@ -14,7 +14,7 @@ extern int errno; int _DEFUN (_stat, (file, st), - const char *file _AND + const char *file, struct stat *st) { errno = ENOSYS; diff --git a/libgloss/libnosys/symlink.c b/libgloss/libnosys/symlink.c index d9e29f2..cf7a158 100644 --- a/libgloss/libnosys/symlink.c +++ b/libgloss/libnosys/symlink.c @@ -12,7 +12,7 @@ extern int errno; int _DEFUN (_symlink, (path1, path2), - const char *path1 _AND + const char *path1, const char *path2) { errno = ENOSYS; diff --git a/libgloss/libnosys/write.c b/libgloss/libnosys/write.c index 0136d74..0ada770 100644 --- a/libgloss/libnosys/write.c +++ b/libgloss/libnosys/write.c @@ -12,8 +12,8 @@ extern int errno; int _DEFUN (_write, (file, ptr, len), - int file _AND - char *ptr _AND + int file, + char *ptr, int len) { errno = ENOSYS; diff --git a/libgloss/lseek.c b/libgloss/lseek.c index 1df36f5..42a28d9 100644 --- a/libgloss/lseek.c +++ b/libgloss/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/mcore/fstat.c b/libgloss/mcore/fstat.c index 0205464..6a2323a 100644 --- a/libgloss/mcore/fstat.c +++ b/libgloss/mcore/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/mcore/kill.c b/libgloss/mcore/kill.c index 43a3597..8883c8e 100644 --- a/libgloss/mcore/kill.c +++ b/libgloss/mcore/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/mcore/lseek.c b/libgloss/mcore/lseek.c index 0f236fe..423e11e 100644 --- a/libgloss/mcore/lseek.c +++ b/libgloss/mcore/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/mcore/open.c b/libgloss/mcore/open.c index a9e9959..6b816e8 100644 --- a/libgloss/mcore/open.c +++ b/libgloss/mcore/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/mcore/read.c b/libgloss/mcore/read.c index 499426d..8f39478 100644 --- a/libgloss/mcore/read.c +++ b/libgloss/mcore/read.c @@ -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; diff --git a/libgloss/mcore/stat.c b/libgloss/mcore/stat.c index 401a6b5..d07042a 100644 --- a/libgloss/mcore/stat.c +++ b/libgloss/mcore/stat.c @@ -21,7 +21,7 @@ */ int _DEFUN (_stat, (path, buf), - const char *path _AND + const char *path, struct stat *buf) { errno = EIO; diff --git a/libgloss/mcore/write.c b/libgloss/mcore/write.c index 7f39fd1..189ea62 100644 --- a/libgloss/mcore/write.c +++ b/libgloss/mcore/write.c @@ -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; diff --git a/libgloss/moxie/fstat.c b/libgloss/moxie/fstat.c index 6464a86..38dd07b 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 14cb9c4..73ade07 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 257c491..d602829 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 4b09209..1abd5a9 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 1c799f8..5e5493c 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 8e7ee50..d22d722 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 3e9fafb..d3f43d3 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 0d7511a..01a9582 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; diff --git a/libgloss/open.c b/libgloss/open.c index 468b11c..90787b1 100644 --- a/libgloss/open.c +++ b/libgloss/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/read.c b/libgloss/read.c index 419a8ed..2e5e0c7 100644 --- a/libgloss/read.c +++ b/libgloss/read.c @@ -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; diff --git a/libgloss/stat.c b/libgloss/stat.c index ebb7de3..5957645 100644 --- a/libgloss/stat.c +++ b/libgloss/stat.c @@ -21,7 +21,7 @@ */ int _DEFUN (stat, (path, buf), - const char *path _AND + const char *path, struct stat *buf) { errno = EIO; diff --git a/libgloss/tic6x/kill.c b/libgloss/tic6x/kill.c index 3ed228f..db5018c 100644 --- a/libgloss/tic6x/kill.c +++ b/libgloss/tic6x/kill.c @@ -20,7 +20,7 @@ */ int _DEFUN (kill, (pid, sig), - int pid _AND + int pid, int sig) { if(pid == __MYPID) diff --git a/libgloss/write.c b/libgloss/write.c index 292a68e..69f452c 100644 --- a/libgloss/write.c +++ b/libgloss/write.c @@ -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; diff --git a/libgloss/xc16x/misc.c b/libgloss/xc16x/misc.c index 786db36..2eb951a 100644 --- a/libgloss/xc16x/misc.c +++ b/libgloss/xc16x/misc.c @@ -31,7 +31,7 @@ int _DEFUN(_getpid,(),) }
int _DEFUN(_kill,(pid, sig),
- int pid _AND
+ int pid,
int sig)
{
errno = ENOSYS;
diff --git a/libgloss/xstormy16/fstat.c b/libgloss/xstormy16/fstat.c index 982d578..2926cca 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 e3c3205..0e92a9f 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 0bbc014..2374dc2 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 640a96e..11dbab0 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 a2c318e..600f929 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 c766a34..b80b83c 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; |