@@ -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 */
@@ -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),
@@ -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)
@@ -21,7 +21,7 @@
*/
int
_DEFUN (_stat, (path, buf),
- const char *path _AND
+ const char *path,
struct stat *buf)
{
errno = EIO;
@@ -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 */
@@ -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),
@@ -20,7 +20,7 @@
*/
int
_DEFUN (kill, (pid, sig),
- int pid _AND
+ int pid,
int sig)
{
if(pid == __MYPID)
@@ -21,7 +21,7 @@
*/
int
_DEFUN (stat, (path, buf),
- const char *path _AND
+ const char *path,
struct stat *buf)
{
errno = EIO;
@@ -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 */
@@ -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),
@@ -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)
@@ -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;
@@ -21,7 +21,7 @@
*/
int
_DEFUN (_stat, (path, buf),
- const char *path _AND
+ const char *path,
struct stat *buf)
{
errno = EIO;
@@ -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 */
@@ -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 */
@@ -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),
@@ -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)
@@ -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;
@@ -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; */
@@ -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;
@@ -21,7 +21,7 @@
*/
int
_DEFUN (_stat, (path, buf),
- const char *path _AND
+ const char *path,
struct stat *buf)
{
errno = EIO;
@@ -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),
@@ -19,7 +19,7 @@
*/
int
_DEFUN (kill, (pid, sig),
- int pid _AND
+ int pid,
int sig)
{
if(pid == __MYPID)
@@ -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;
@@ -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;
@@ -14,7 +14,7 @@ extern int errno;
int
_DEFUN (_fstat, (fildes, st),
- int fildes _AND
+ int fildes,
struct stat *st)
{
errno = ENOSYS;
@@ -16,7 +16,7 @@ struct timeval;
int
_DEFUN (_gettimeofday, (ptimeval, ptimezone),
- struct timeval *ptimeval _AND
+ struct timeval *ptimeval,
void *ptimezone)
{
errno = ENOSYS;
@@ -12,7 +12,7 @@ extern int errno;
int
_DEFUN (_kill, (pid, sig),
- int pid _AND
+ int pid,
int sig)
{
errno = ENOSYS;
@@ -12,7 +12,7 @@ extern int errno;
int
_DEFUN (_link, (existing, new),
- char *existing _AND
+ char *existing,
char *new)
{
errno = ENOSYS;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -14,7 +14,7 @@ extern int errno;
int
_DEFUN (_stat, (file, st),
- const char *file _AND
+ const char *file,
struct stat *st)
{
errno = ENOSYS;
@@ -12,7 +12,7 @@ extern int errno;
int
_DEFUN (_symlink, (path1, path2),
- const char *path1 _AND
+ const char *path1,
const char *path2)
{
errno = ENOSYS;
@@ -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;
@@ -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;
@@ -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 */
@@ -19,7 +19,7 @@
*/
int
_DEFUN (_kill, (pid, sig),
- int pid _AND
+ int pid,
int sig)
{
if(pid == __MYPID)
@@ -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;
@@ -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;
@@ -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;
@@ -21,7 +21,7 @@
*/
int
_DEFUN (_stat, (path, buf),
- const char *path _AND
+ const char *path,
struct stat *buf)
{
errno = EIO;
@@ -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;
@@ -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 */
@@ -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),
@@ -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)
@@ -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;
@@ -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;
@@ -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; */
@@ -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;
@@ -21,7 +21,7 @@
*/
int
_DEFUN (_stat, (path, buf),
- const char *path _AND
+ const char *path,
struct stat *buf)
{
errno = EIO;
@@ -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;
@@ -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;
@@ -21,7 +21,7 @@
*/
int
_DEFUN (stat, (path, buf),
- const char *path _AND
+ const char *path,
struct stat *buf)
{
errno = EIO;
@@ -20,7 +20,7 @@
*/
int
_DEFUN (kill, (pid, sig),
- int pid _AND
+ int pid,
int sig)
{
if(pid == __MYPID)
@@ -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;
@@ -31,7 +31,7 @@ int _DEFUN(_getpid,(),)
}
int _DEFUN(_kill,(pid, sig),
- int pid _AND
+ int pid,
int sig)
{
errno = ENOSYS;
@@ -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 */
@@ -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),
@@ -19,7 +19,7 @@
*/
int
_DEFUN (_kill, (pid, sig),
- int pid _AND
+ int pid,
int sig)
{
if(pid == __MYPID)
@@ -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;
@@ -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;
@@ -21,7 +21,7 @@
*/
int
_DEFUN (_stat, (path, buf),
- const char *path _AND
+ const char *path,
struct stat *buf)
{
errno = EIO;
@@ -12,8 +12,8 @@
error_t
_DEFUN (argz_add, (argz, argz_len, str),
- char **argz _AND
- size_t *argz_len _AND
+ char **argz,
+ size_t *argz_len,
const char *str)
{
int len_to_add = 0;
@@ -12,9 +12,9 @@
error_t
_DEFUN (argz_add_sep, (argz, argz_len, str, sep),
- char **argz _AND
- size_t *argz_len _AND
- const char *str _AND
+ char **argz,
+ size_t *argz_len,
+ const char *str,
int sep)
{
char *str_argz = 0;
@@ -12,9 +12,9 @@
error_t
_DEFUN (argz_append, (argz, argz_len, buf, buf_len),
- char **argz _AND
- size_t *argz_len _AND
- const char *buf _AND
+ char **argz,
+ size_t *argz_len,
+ const char *buf,
size_t buf_len)
{
if (buf_len)
@@ -11,7 +11,7 @@
size_t
_DEFUN (argz_count, (argz, argz_len),
- const char *argz _AND
+ const char *argz,
size_t argz_len)
{
int i;
@@ -12,8 +12,8 @@
error_t
_DEFUN (argz_create, (argv, argz, argz_len),
- char *const argv[] _AND
- char **argz _AND
+ char *const argv[],
+ char **argz,
size_t *argz_len)
{
int argc = 0;
@@ -12,9 +12,9 @@
error_t
_DEFUN (argz_create_sep, (string, sep, argz, argz_len),
- const char *string _AND
- int sep _AND
- char **argz _AND
+ const char *string,
+ int sep,
+ char **argz,
size_t *argz_len)
{
int len = 0;
@@ -12,8 +12,8 @@
error_t
_DEFUN (argz_delete, (argz, argz_len, entry),
- char **argz _AND
- size_t *argz_len _AND
+ char **argz,
+ size_t *argz_len,
char *entry)
{
int len = 0;
@@ -10,8 +10,8 @@
void
_DEFUN (argz_extract, (argz, argz_len, argv),
- char *argz _AND
- size_t argz_len _AND
+ char *argz,
+ size_t argz_len,
char **argv)
{
size_t i = 0;
@@ -14,9 +14,9 @@
error_t
_DEFUN (argz_insert, (argz, argz_len, before, entry),
- char **argz _AND
- size_t *argz_len _AND
- char *before _AND
+ char **argz,
+ size_t *argz_len,
+ char *before,
const char *entry)
{
int len = 0;
@@ -12,8 +12,8 @@
char *
_DEFUN (argz_next, (argz, argz_len, entry),
- char *argz _AND
- size_t argz_len _AND
+ char *argz,
+ size_t argz_len,
const char *entry)
{
if (entry)
@@ -14,10 +14,10 @@
error_t
_DEFUN (argz_replace, (argz, argz_len, str, with, replace_count),
- char **argz _AND
- size_t *argz_len _AND
- const char *str _AND
- const char *with _AND
+ char **argz,
+ size_t *argz_len,
+ const char *str,
+ const char *with,
unsigned *replace_count)
{
const int str_len = strlen(str);
@@ -11,8 +11,8 @@
void
_DEFUN (argz_stringify, (argz, argz_len, sep),
- char *argz _AND
- size_t argz_len _AND
+ char *argz,
+ size_t argz_len,
int sep)
{
size_t i;
@@ -13,9 +13,9 @@
error_t
_DEFUN (envz_add, (envz, envz_len, name, value),
- char **envz _AND
- size_t *envz_len _AND
- const char *name _AND
+ char **envz,
+ size_t *envz_len,
+ const char *name,
const char *value)
{
char *concat = NULL;
@@ -14,8 +14,8 @@
char *
_DEFUN (envz_entry, (envz, envz_len, name),
- const char *envz _AND
- size_t envz_len _AND
+ const char *envz,
+ size_t envz_len,
const char *name)
{
char *buf_ptr = (char *)envz;
@@ -14,8 +14,8 @@
char *
_DEFUN (envz_get, (envz, envz_len, name),
- const char *envz _AND
- size_t envz_len _AND
+ const char *envz,
+ size_t envz_len,
const char *name)
{
char *buf_ptr = (char *)envz;
@@ -13,10 +13,10 @@
error_t
_DEFUN (envz_merge, (envz, envz_len, envz2, envz2_len, override),
- char **envz _AND
- size_t *envz_len _AND
- const char *envz2 _AND
- size_t envz2_len _AND
+ char **envz,
+ size_t *envz_len,
+ const char *envz2,
+ size_t envz2_len,
int override)
{
char *entry = NULL;
@@ -13,8 +13,8 @@
void
_DEFUN (envz_remove, (envz, envz_len, name),
- char **envz _AND
- size_t *envz_len _AND
+ char **envz,
+ size_t *envz_len,
const char *name)
{
char *entry = NULL;
@@ -13,7 +13,7 @@
void
_DEFUN (envz_strip, (envz, envz_len),
- char **envz _AND
+ char **envz,
size_t *envz_len)
{
char *entry = 0;
@@ -38,7 +38,7 @@ No supporting OS subroutines are required.
#include "local.h"
int
-_DEFUN(iswctype,(c, desc), wint_t c _AND wctype_t desc)
+_DEFUN(iswctype,(c, desc), wint_t c, wctype_t desc)
{
switch (desc)
{
@@ -48,7 +48,7 @@
#define JP_EUCJP 3
static wint_t
-_DEFUN (__jp2uc, (c, type), wint_t c _AND int type)
+_DEFUN (__jp2uc, (c, type), wint_t c, int type)
{
int index, adj;
unsigned char byte1, byte2;
@@ -77,8 +77,8 @@ No supporting OS subroutines are required.
wint_t
_DEFUN (_towctrans_r, (r, c, w),
- struct _reent *r _AND
- wint_t c _AND
+ struct _reent *r,
+ wint_t c,
wctrans_t w)
{
if (w == WCT_TOLOWER)
@@ -95,7 +95,7 @@ _DEFUN (_towctrans_r, (r, c, w),
#ifndef _REENT_ONLY
wint_t
_DEFUN (towctrans, (c, w),
- wint_t c _AND
+ wint_t c,
wctrans_t w)
{
return _towctrans_r (_REENT, c, w);
@@ -76,7 +76,7 @@ No supporting OS subroutines are required.
wctrans_t
_DEFUN (_wctrans_r, (r, c),
- struct _reent *r _AND
+ struct _reent *r,
const char *c)
{
if (!strcmp (c, "tolower"))
@@ -77,7 +77,7 @@ No supporting OS subroutines are required.
wctype_t
_DEFUN (_wctype_r, (r, c),
- struct _reent *r _AND
+ struct _reent *r,
const char *c)
{
switch (*c)
@@ -102,7 +102,7 @@ static euc_cs_desc_t euc_kr_cs_desc [] =
#if defined (ICONV_FROM_UCS_CES_EUC)
static _VOID_PTR
_DEFUN(euc_from_ucs_init, (rptr, encoding),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_CONST char *encoding)
{
int i;
@@ -166,7 +166,7 @@ error1:
static size_t
_DEFUN(euc_from_ucs_close, (rptr, data),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_VOID_PTR data)
{
int i;
@@ -186,9 +186,9 @@ _DEFUN(euc_from_ucs_close, (rptr, data),
static size_t
_DEFUN(euc_convert_from_ucs, (data, in, outbuf, outbytesleft),
- _VOID_PTR data _AND
- register ucs4_t in _AND
- unsigned char **outbuf _AND
+ _VOID_PTR data,
+ register ucs4_t in,
+ unsigned char **outbuf,
size_t *outbytesleft)
{
int i;
@@ -262,7 +262,7 @@ _DEFUN(euc_convert_from_ucs, (data, in, outbuf, outbytesleft),
#if defined (ICONV_TO_UCS_CES_EUC)
static _VOID_PTR
_DEFUN(euc_to_ucs_init, (rptr, encoding),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_CONST char *encoding)
{
int i;
@@ -326,7 +326,7 @@ error1:
static size_t
_DEFUN(euc_to_ucs_close, (rptr, data),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_VOID_PTR data)
{
int i;
@@ -346,8 +346,8 @@ _DEFUN(euc_to_ucs_close, (rptr, data),
static ucs4_t
_DEFUN(euc_convert_to_ucs, (data, inbuf, inbytesleft),
- _VOID_PTR data _AND
- _CONST unsigned char **inbuf _AND
+ _VOID_PTR data,
+ _CONST unsigned char **inbuf,
size_t *inbytesleft)
{
int i;
@@ -41,9 +41,9 @@
#if defined (ICONV_FROM_UCS_CES_TABLE_PCS)
static size_t
_DEFUN(table_pcs_convert_from_ucs, (data, in, outbuf, outbytesleft),
- _VOID_PTR data _AND
- ucs4_t in _AND
- unsigned char **outbuf _AND
+ _VOID_PTR data,
+ ucs4_t in,
+ unsigned char **outbuf,
size_t *outbytesleft)
{
if (*outbytesleft < 1)
@@ -66,7 +66,7 @@ _DEFUN(table_pcs_convert_from_ucs, (data, in, outbuf, outbytesleft),
static _VOID_PTR
_DEFUN(table_pcs_from_ucs_init, (rptr, encoding),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_CONST char *encoding)
{
return _iconv_from_ucs_ces_handlers_table.init (rptr, encoding);
@@ -74,7 +74,7 @@ _DEFUN(table_pcs_from_ucs_init, (rptr, encoding),
static size_t
_DEFUN(table_pcs_from_ucs_close, (rptr, data),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_VOID_PTR data)
{
return _iconv_from_ucs_ces_handlers_table.close (rptr, data);
@@ -92,8 +92,8 @@ _DEFUN(table_pcs_from_ucs_get_mb_cur_max, (data),
#if defined (ICONV_TO_UCS_CES_TABLE_PCS)
static ucs4_t
_DEFUN(table_pcs_convert_to_ucs, (data, inbuf, inbytesleft),
- _VOID_PTR data _AND
- _CONST unsigned char **inbuf _AND
+ _VOID_PTR data,
+ _CONST unsigned char **inbuf,
size_t *inbytesleft)
{
if (*inbytesleft < 1)
@@ -114,7 +114,7 @@ _DEFUN(table_pcs_convert_to_ucs, (data, inbuf, inbytesleft),
static _VOID_PTR
_DEFUN(table_pcs_to_ucs_init, (rptr, encoding),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_CONST char *encoding)
{
return _iconv_to_ucs_ces_handlers_table.init (rptr, encoding);
@@ -122,7 +122,7 @@ _DEFUN(table_pcs_to_ucs_init, (rptr, encoding),
static size_t
_DEFUN(table_pcs_to_ucs_close, (rptr, data),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_VOID_PTR data)
{
return _iconv_to_ucs_ces_handlers_table.close (rptr, data);
@@ -75,7 +75,7 @@ _EXFUN(load_file, (struct _reent *rptr, _CONST char *name, int direction));
*/
static size_t
_DEFUN(table_close, (rptr, data),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_VOID_PTR data)
{
_CONST iconv_ccs_desc_t *ccsp = (iconv_ccs_desc_t *)data;
@@ -90,7 +90,7 @@ _DEFUN(table_close, (rptr, data),
#if defined (ICONV_FROM_UCS_CES_TABLE)
static _VOID_PTR
_DEFUN(table_init_from_ucs, (rptr, encoding),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_CONST char *encoding)
{
int i;
@@ -128,9 +128,9 @@ _DEFUN(table_init_from_ucs, (rptr, encoding),
static size_t
_DEFUN(table_convert_from_ucs, (data, in, outbuf, outbytesleft),
- _VOID_PTR data _AND
- ucs4_t in _AND
- unsigned char **outbuf _AND
+ _VOID_PTR data,
+ ucs4_t in,
+ unsigned char **outbuf,
size_t *outbytesleft)
{
_CONST iconv_ccs_desc_t *ccsp = (iconv_ccs_desc_t *)data;
@@ -173,7 +173,7 @@ _DEFUN(table_convert_from_ucs, (data, in, outbuf, outbytesleft),
#if defined (ICONV_TO_UCS_CES_TABLE)
static _VOID_PTR
_DEFUN(table_init_to_ucs, (rptr, encoding),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_CONST char *encoding)
{
int i;
@@ -211,8 +211,8 @@ _DEFUN(table_init_to_ucs, (rptr, encoding),
static ucs4_t
_DEFUN(table_convert_to_ucs, (data, inbuf, inbytesleft),
- _VOID_PTR data _AND
- _CONST unsigned char **inbuf _AND
+ _VOID_PTR data,
+ _CONST unsigned char **inbuf,
size_t *inbytesleft)
{
_CONST iconv_ccs_desc_t *ccsp = (iconv_ccs_desc_t *)data;
@@ -304,7 +304,7 @@ _iconv_from_ucs_ces_handlers_table =
*/
static __inline ucs2_t
_DEFUN(find_code_speed, (code, tblp),
- ucs2_t code _AND
+ ucs2_t code,
_CONST __uint16_t *tblp)
{
int idx = tblp[code >> 8];
@@ -327,7 +327,7 @@ _DEFUN(find_code_speed, (code, tblp),
*/
static __inline ucs2_t
_DEFUN(find_code_speed_8bit, (code, tblp),
- ucs2_t code _AND
+ ucs2_t code,
_CONST unsigned char *tblp)
{
int idx;
@@ -367,7 +367,7 @@ _DEFUN(find_code_speed_8bit, (code, tblp),
*/
static ucs2_t
_DEFUN(find_code_size, (code, tblp),
- ucs2_t code _AND
+ ucs2_t code,
_CONST __uint16_t *tblp)
{
int first, last, cur, center;
@@ -461,8 +461,8 @@ _DEFUN(find_code_size, (code, tblp),
*/
static _CONST iconv_ccs_desc_t *
_DEFUN(load_file, (rptr, name, direction),
- struct _reent *rptr _AND
- _CONST char *name _AND
+ struct _reent *rptr,
+ _CONST char *name,
int direction)
{
int fd;
@@ -45,9 +45,9 @@
#if defined (ICONV_FROM_UCS_CES_UCS_2_INTERNAL)
static size_t
_DEFUN(ucs_2_internal_convert_from_ucs, (data, in, outbuf, outbytesleft),
- _VOID_PTR data _AND
- register ucs4_t in _AND
- unsigned char **outbuf _AND
+ _VOID_PTR data,
+ register ucs4_t in,
+ unsigned char **outbuf,
size_t *outbytesleft)
{
if (in > 0x0000FFFF)
@@ -67,8 +67,8 @@ _DEFUN(ucs_2_internal_convert_from_ucs, (data, in, outbuf, outbytesleft),
#if defined (ICONV_TO_UCS_CES_UCS_2_INTERNAL)
static ucs4_t
_DEFUN(ucs_2_internal_convert_to_ucs, (data, inbuf, inbytesleft),
- _VOID_PTR data _AND
- _CONST unsigned char **inbuf _AND
+ _VOID_PTR data,
+ _CONST unsigned char **inbuf,
size_t *inbytesleft)
{
register ucs4_t res;
@@ -51,7 +51,7 @@
static _VOID_PTR
_DEFUN(ucs_2_init, (rptr, encoding),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_CONST char *encoding)
{
int *data;
@@ -69,7 +69,7 @@ _DEFUN(ucs_2_init, (rptr, encoding),
static size_t
_DEFUN(ucs_2_close, (rptr, data),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_VOID_PTR data)
{
_free_r (rptr, data);
@@ -79,9 +79,9 @@ _DEFUN(ucs_2_close, (rptr, data),
#if defined (ICONV_FROM_UCS_CES_UCS_2)
static size_t
_DEFUN(ucs_2_convert_from_ucs, (data, in, outbuf, outbytesleft),
- _VOID_PTR data _AND
- ucs4_t in _AND
- unsigned char **outbuf _AND
+ _VOID_PTR data,
+ ucs4_t in,
+ unsigned char **outbuf,
size_t *outbytesleft)
{
if ((in >= 0x0000D800 && in <= 0x0000DFFF) /* Surrogate character */
@@ -106,8 +106,8 @@ _DEFUN(ucs_2_convert_from_ucs, (data, in, outbuf, outbytesleft),
#if defined (ICONV_TO_UCS_CES_UCS_2)
static ucs4_t
_DEFUN(ucs_2_convert_to_ucs, (data, inbuf, inbytesleft),
- _VOID_PTR data _AND
- _CONST unsigned char **inbuf _AND
+ _VOID_PTR data,
+ _CONST unsigned char **inbuf,
size_t *inbytesleft)
{
ucs4_t res;
@@ -45,9 +45,9 @@
#if defined (ICONV_FROM_UCS_CES_UCS_4_INTERNAL)
static size_t
_DEFUN(ucs_4_internal_convert_from_ucs, (data, in, outbuf, outbytesleft),
- _VOID_PTR data _AND
- register ucs4_t in _AND
- unsigned char **outbuf _AND
+ _VOID_PTR data,
+ register ucs4_t in,
+ unsigned char **outbuf,
size_t *outbytesleft)
{
if (in > 0x7FFFFFFF)
@@ -67,8 +67,8 @@ _DEFUN(ucs_4_internal_convert_from_ucs, (data, in, outbuf, outbytesleft),
#if defined (ICONV_TO_UCS_CES_UCS_4_INTERNAL)
static ucs4_t
_DEFUN(ucs_4_internal_convert_to_ucs, (data, inbuf, inbytesleft),
- _VOID_PTR data _AND
- _CONST unsigned char **inbuf _AND
+ _VOID_PTR data,
+ _CONST unsigned char **inbuf,
size_t *inbytesleft)
{
register ucs4_t res;
@@ -52,7 +52,7 @@
static _VOID_PTR
_DEFUN(ucs_4_init, (rptr, encoding),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_CONST char *encoding)
{
int *data;
@@ -70,7 +70,7 @@ _DEFUN(ucs_4_init, (rptr, encoding),
static size_t
_DEFUN(ucs_4_close, (rptr, data),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_VOID_PTR data)
{
_free_r(rptr, data);
@@ -81,9 +81,9 @@ _DEFUN(ucs_4_close, (rptr, data),
#if defined (ICONV_FROM_UCS_CES_UCS_4)
static size_t
_DEFUN(ucs_4_convert_from_ucs, (data, in, outbuf, outbytesleft),
- _VOID_PTR data _AND
- ucs4_t in _AND
- unsigned char **outbuf _AND
+ _VOID_PTR data,
+ ucs4_t in,
+ unsigned char **outbuf,
size_t *outbytesleft)
{
if ((in >= 0x0000D800 && in <= 0x0000DFFF) /* Surrogate character */
@@ -108,8 +108,8 @@ _DEFUN(ucs_4_convert_from_ucs, (data, in, outbuf, outbytesleft),
#if defined (ICONV_TO_UCS_CES_UCS_4)
static ucs4_t
_DEFUN(ucs_4_convert_to_ucs, (data, inbuf, inbytesleft),
- _VOID_PTR data _AND
- _CONST unsigned char **inbuf _AND
+ _VOID_PTR data,
+ _CONST unsigned char **inbuf,
size_t *inbytesleft)
{
ucs4_t res;
@@ -41,9 +41,9 @@
#if defined (ICONV_FROM_UCS_CES_US_ASCII)
static size_t
_DEFUN(us_ascii_convert_from_ucs, (data, in, outbuf, outbytesleft),
- _VOID_PTR data _AND
- ucs4_t in _AND
- unsigned char **outbuf _AND
+ _VOID_PTR data,
+ ucs4_t in,
+ unsigned char **outbuf,
size_t *outbytesleft)
{
if (in > 0x7F)
@@ -61,8 +61,8 @@ _DEFUN(us_ascii_convert_from_ucs, (data, in, outbuf, outbytesleft),
#if defined (ICONV_TO_UCS_CES_US_ASCII)
static ucs4_t
_DEFUN(us_ascii_convert_to_ucs, (data, inbuf, inbytesleft),
- _VOID_PTR data _AND
- _CONST unsigned char **inbuf _AND
+ _VOID_PTR data,
+ _CONST unsigned char **inbuf,
size_t *inbytesleft)
{
ucs4_t res;
@@ -59,7 +59,7 @@
static size_t
_DEFUN(utf_16_close, (rptr, data),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_VOID_PTR data)
{
_free_r(rptr, data);
@@ -69,7 +69,7 @@ _DEFUN(utf_16_close, (rptr, data),
#if defined (ICONV_FROM_UCS_CES_UTF_16)
static _VOID_PTR
_DEFUN(utf_16_init_from_ucs, (rptr, encoding),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_CONST char *encoding)
{
int *data;
@@ -89,9 +89,9 @@ _DEFUN(utf_16_init_from_ucs, (rptr, encoding),
static size_t
_DEFUN(utf_16_convert_from_ucs, (data, in, outbuf, outbytesleft),
- _VOID_PTR data _AND
- register ucs4_t in _AND
- unsigned char **outbuf _AND
+ _VOID_PTR data,
+ register ucs4_t in,
+ unsigned char **outbuf,
size_t *outbytesleft)
{
register ucs2_t *cp;
@@ -171,7 +171,7 @@ _DEFUN(utf_16_convert_from_ucs, (data, in, outbuf, outbytesleft),
#if defined (ICONV_TO_UCS_CES_UTF_16)
static _VOID_PTR
_DEFUN(utf_16_init_to_ucs, (rptr, encoding),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_CONST char *encoding)
{
int *data;
@@ -191,8 +191,8 @@ _DEFUN(utf_16_init_to_ucs, (rptr, encoding),
static ucs4_t
_DEFUN(utf_16_convert_to_ucs, (data, inbuf, inbytesleft),
- _VOID_PTR data _AND
- _CONST unsigned char **inbuf _AND
+ _VOID_PTR data,
+ _CONST unsigned char **inbuf,
size_t *inbytesleft)
{
register ucs2_t w1;
@@ -44,9 +44,9 @@
#if defined (ICONV_FROM_UCS_CES_UTF_8)
static size_t
_DEFUN(convert_from_ucs, (data, in, outbuf, outbytesleft),
- _VOID_PTR data _AND
- register ucs4_t in _AND
- unsigned char **outbuf _AND
+ _VOID_PTR data,
+ register ucs4_t in,
+ unsigned char **outbuf,
size_t *outbytesleft)
{
register unsigned char *cp;
@@ -126,8 +126,8 @@ _DEFUN(convert_from_ucs, (data, in, outbuf, outbytesleft),
#if defined (ICONV_TO_UCS_CES_UTF_8)
static ucs4_t
_DEFUN(convert_to_ucs, (data, inbuf, inbytesleft),
- _VOID_PTR data _AND
- _CONST unsigned char **inbuf _AND
+ _VOID_PTR data,
+ _CONST unsigned char **inbuf,
size_t *inbytesleft)
{
register _CONST unsigned char *in = *inbuf;
@@ -49,7 +49,7 @@
*/
static _CONST char *
_DEFUN(canonical_form, (rptr, str),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_CONST char *str)
{
char *p, *p1;
@@ -94,9 +94,9 @@ _DEFUN(canonical_form, (rptr, str),
*/
static char *
_DEFUN(find_alias, (rptr, alias, table, len),
- struct _reent *rptr _AND
- _CONST char *alias _AND
- _CONST char *table _AND
+ struct _reent *rptr,
+ _CONST char *alias,
+ _CONST char *table,
int len)
{
_CONST char *end;
@@ -148,7 +148,7 @@ search_again:
*/
char *
_DEFUN(_iconv_resolve_encoding_name, (rptr, cname, path),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_CONST char *ca)
{
char *p = (char *)ca;
@@ -121,7 +121,7 @@ No supporting OS subroutine calls are required.
iconv_t
_DEFUN(iconv_open, (to, from),
- _CONST char *to _AND
+ _CONST char *to,
_CONST char *from)
{
return _iconv_open_r (_REENT, to, from);
@@ -130,10 +130,10 @@ _DEFUN(iconv_open, (to, from),
size_t
_DEFUN(iconv, (cd, inbuf, inbytesleft, outbuf, outbytesleft),
- iconv_t cd _AND
- char **__restrict inbuf _AND
- size_t *__restrict inbytesleft _AND
- char **__restrict outbuf _AND
+ iconv_t cd,
+ char **__restrict inbuf,
+ size_t *__restrict inbytesleft,
+ char **__restrict outbuf,
size_t *__restrict outbytesleft)
{
return _iconv_r (_REENT, cd, (_CONST char **) inbuf, inbytesleft,
@@ -151,8 +151,8 @@ _DEFUN(iconv_close, (cd), iconv_t cd)
#ifndef _REENT_ONLY
iconv_t
_DEFUN(_iconv_open_r, (rptr, to, from),
- struct _reent *rptr _AND
- _CONST char *to _AND
+ struct _reent *rptr,
+ _CONST char *to,
_CONST char *from)
{
iconv_conversion_t *ic;
@@ -202,11 +202,11 @@ _DEFUN(_iconv_open_r, (rptr, to, from),
size_t
_DEFUN(_iconv_r, (rptr, cd, inbuf, inbytesleft, outbuf, outbytesleft),
- struct _reent *rptr _AND
- iconv_t cd _AND
- _CONST char **inbuf _AND
- size_t *inbytesleft _AND
- char **outbuf _AND
+ struct _reent *rptr,
+ iconv_t cd,
+ _CONST char **inbuf,
+ size_t *inbytesleft,
+ char **outbuf,
size_t *outbytesleft)
{
iconv_conversion_t *ic = (iconv_conversion_t *)cd;
@@ -289,7 +289,7 @@ _DEFUN(_iconv_r, (rptr, cd, inbuf, inbytesleft, outbuf, outbytesleft),
int
_DEFUN(_iconv_close_r, (rptr, cd),
- struct _reent *rptr _AND
+ struct _reent *rptr,
iconv_t cd)
{
int res;
@@ -60,9 +60,9 @@
*/
_CONST char *
_DEFUN(_iconv_nls_construct_filename, (rptr, file, ext),
- struct _reent *rptr _AND
- _CONST char *file _AND
- _CONST char *dir _AND
+ struct _reent *rptr,
+ _CONST char *file,
+ _CONST char *dir,
_CONST char *ext)
{
int len1, len2, len3;
@@ -115,7 +115,7 @@ _DEFUN(_iconv_nls_construct_filename, (rptr, file, ext),
*/
int
_DEFUN(_iconv_nls_get_mb_cur_max, (cd, direction),
- iconv_t cd _AND
+ iconv_t cd,
int direction)
{
iconv_conversion_t *ic = (iconv_conversion_t *)cd;
@@ -138,7 +138,7 @@ _DEFUN(_iconv_nls_get_mb_cur_max, (cd, direction),
*/
int
_DEFUN(_iconv_nls_is_stateful, (cd, direction),
- iconv_t cd _AND
+ iconv_t cd,
int direction)
{
iconv_conversion_t *ic = (iconv_conversion_t *)cd;
@@ -167,11 +167,11 @@ _DEFUN(_iconv_nls_is_stateful, (cd, direction),
*/
size_t
_DEFUN(_iconv_nls_conv, (rptr, cd, inbuf, inbytesleft, outbuf, outbytesleft),
- struct _reent *rptr _AND
- iconv_t cd _AND
- _CONST char **inbuf _AND
- size_t *inbytesleft _AND
- char **outbuf _AND
+ struct _reent *rptr,
+ iconv_t cd,
+ _CONST char **inbuf,
+ size_t *inbytesleft,
+ char **outbuf,
size_t *outbytesleft)
{
iconv_conversion_t *ic = (iconv_conversion_t *)cd;
@@ -221,8 +221,8 @@ _DEFUN(_iconv_nls_conv, (rptr, cd, inbuf, inbytesleft, outbuf, outbytesleft),
*/
_VOID
_DEFUN(_iconv_nls_get_state, (cd, ps, direction),
- iconv_t cd _AND
- mbstate_t *ps _AND
+ iconv_t cd,
+ mbstate_t *ps,
int direction)
{
iconv_conversion_t *ic = (iconv_conversion_t *)cd;
@@ -248,8 +248,8 @@ _DEFUN(_iconv_nls_get_state, (cd, ps, direction),
*/
int
_DEFUN(_iconv_nls_set_state, (cd, ps, direction),
- iconv_t cd _AND
- mbstate_t *ps _AND
+ iconv_t cd,
+ mbstate_t *ps,
int direction)
{
iconv_conversion_t *ic = (iconv_conversion_t *)cd;
@@ -260,8 +260,8 @@ _DEFUN(_iconv_nls_set_state, (cd, ps, direction),
/* Same as iconv_open() but don't perform name resolving */
static iconv_t
_DEFUN(iconv_open1, (rptr, to, from),
- struct _reent *rptr _AND
- _CONST char *to _AND
+ struct _reent *rptr,
+ _CONST char *to,
_CONST char *from)
{
iconv_conversion_t *ic;
@@ -317,10 +317,10 @@ _DEFUN(iconv_open1, (rptr, to, from),
*/
int
_DEFUN(_iconv_nls_open, (rptr, encoding, towc, tomb),
- struct _reent *rptr _AND
- _CONST char *encoding _AND
- iconv_t *tomb _AND
- iconv_t *towc _AND
+ struct _reent *rptr,
+ _CONST char *encoding,
+ iconv_t *tomb,
+ iconv_t *towc,
int flag)
{
_CONST char *wchar_encoding;
@@ -37,8 +37,8 @@ static int null_conversion_dummy_data;
static _VOID_PTR
_DEFUN(null_conversion_open, (rptr, to, from),
- struct _reent *rptr _AND
- _CONST char *to _AND
+ struct _reent *rptr,
+ _CONST char *to,
_CONST char *from)
{
return (_VOID_PTR)&null_conversion_dummy_data;
@@ -47,7 +47,7 @@ _DEFUN(null_conversion_open, (rptr, to, from),
static size_t
_DEFUN(null_conversion_close, (rptr, data),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_VOID_PTR data)
{
return 0;
@@ -57,12 +57,12 @@ _DEFUN(null_conversion_close, (rptr, data),
static size_t
_DEFUN(null_conversion_convert,
(rptr, data, inbuf, inbytesleft, outbuf, outbytesleft),
- struct _reent *rptr _AND
- _VOID_PTR data _AND
- _CONST unsigned char **inbuf _AND
- size_t *inbytesleft _AND
- unsigned char **outbuf _AND
- size_t *outbytesleft _AND
+ struct _reent *rptr,
+ _VOID_PTR data,
+ _CONST unsigned char **inbuf,
+ size_t *inbytesleft,
+ unsigned char **outbuf,
+ size_t *outbytesleft,
int flags)
{
size_t result;
@@ -94,7 +94,7 @@ _DEFUN(null_conversion_convert,
static int
_DEFUN(null_conversion_get_mb_cur_max, (data, direction),
- _VOID_PTR data _AND
+ _VOID_PTR data,
int direction)
{
return ICONV_MB_LEN_MAX;
@@ -103,8 +103,8 @@ _DEFUN(null_conversion_get_mb_cur_max, (data, direction),
static _VOID
_DEFUN(null_conversion_get_state, (data, state, size),
- _VOID_PTR data _AND
- mbstate_t *state _AND
+ _VOID_PTR data,
+ mbstate_t *state,
int direction)
{
return;
@@ -113,8 +113,8 @@ _DEFUN(null_conversion_get_state, (data, state, size),
static int
_DEFUN(null_conversion_set_state, (data, state, direction),
- _VOID_PTR data _AND
- mbstate_t *state _AND
+ _VOID_PTR data,
+ mbstate_t *state,
int direction)
{
return 0;
@@ -122,7 +122,7 @@ _DEFUN(null_conversion_set_state, (data, state, direction),
static int
_DEFUN(null_conversion_is_stateful, (data, direction),
- _VOID_PTR data _AND
+ _VOID_PTR data,
int direction)
{
return 0;
@@ -46,8 +46,8 @@ _EXFUN(find_encoding_name, (_CONST char *searchee,
static _VOID_PTR
_DEFUN(ucs_based_conversion_open, (rptr, to, from),
- struct _reent *rptr _AND
- _CONST char *to _AND
+ struct _reent *rptr,
+ _CONST char *to,
_CONST char *from)
{
iconv_ucs_conversion_t *uc;
@@ -124,7 +124,7 @@ error:
static size_t
_DEFUN(ucs_based_conversion_close, (rptr, data),
- struct _reent *rptr _AND
+ struct _reent *rptr,
_VOID_PTR data)
{
iconv_ucs_conversion_t *uc;
@@ -146,12 +146,12 @@ _DEFUN(ucs_based_conversion_close, (rptr, data),
static size_t
_DEFUN(ucs_based_conversion_convert,
(rptr, data, inbuf, inbytesleft, outbuf, outbytesleft, flags),
- struct _reent *rptr _AND
- _VOID_PTR data _AND
- _CONST unsigned char **inbuf _AND
- size_t *inbytesleft _AND
- unsigned char **outbuf _AND
- size_t *outbytesleft _AND
+ struct _reent *rptr,
+ _VOID_PTR data,
+ _CONST unsigned char **inbuf,
+ size_t *inbytesleft,
+ unsigned char **outbuf,
+ size_t *outbytesleft,
int flags)
{
unsigned char outbuf1[ICONV_MB_LEN_MAX];
@@ -239,7 +239,7 @@ _DEFUN(ucs_based_conversion_convert,
static int
_DEFUN(ucs_based_conversion_get_mb_cur_max, (data, direction),
- _VOID_PTR data _AND
+ _VOID_PTR data,
int direction)
{
iconv_ucs_conversion_t *uc = (iconv_ucs_conversion_t *)data;
@@ -253,8 +253,8 @@ _DEFUN(ucs_based_conversion_get_mb_cur_max, (data, direction),
static _VOID
_DEFUN(ucs_based_conversion_get_state, (data, state, direction),
- _VOID_PTR data _AND
- mbstate_t *state _AND
+ _VOID_PTR data,
+ mbstate_t *state,
int direction)
{
iconv_ucs_conversion_t *uc = (iconv_ucs_conversion_t *)data;
@@ -281,8 +281,8 @@ _DEFUN(ucs_based_conversion_get_state, (data, state, direction),
static int
_DEFUN(ucs_based_conversion_set_state, (data, state, direction),
- _VOID_PTR data _AND
- mbstate_t *state _AND
+ _VOID_PTR data,
+ mbstate_t *state,
int direction)
{
iconv_ucs_conversion_t *uc = (iconv_ucs_conversion_t *)data;
@@ -303,7 +303,7 @@ _DEFUN(ucs_based_conversion_set_state, (data, state, direction),
static int
_DEFUN(ucs_based_conversion_is_stateful, (data, direction),
- _VOID_PTR data _AND
+ _VOID_PTR data,
int direction)
{
iconv_ucs_conversion_t *uc = (iconv_ucs_conversion_t *)data;
@@ -343,7 +343,7 @@ _iconv_ucs_conversion_handlers =
static int
_DEFUN(find_encoding_name, (searchee, names),
- _CONST char *searchee _AND
+ _CONST char *searchee,
_CONST char **names)
{
_CONST char *p;
@@ -48,7 +48,6 @@
#ifdef _HAVE_STDC
#define _PTR void *
-#define _AND ,
#define _NOARGS void
#define _CONST const
#define _VOLATILE volatile
@@ -77,7 +76,6 @@
#endif
#else
#define _PTR char *
-#define _AND ;
#define _NOARGS
#define _CONST
#define _VOLATILE
@@ -290,8 +290,8 @@ static char *currentlocale (void);
char *
_DEFUN(_setlocale_r, (p, category, locale),
- struct _reent *p _AND
- int category _AND
+ struct _reent *p,
+ int category,
_CONST char *locale)
{
#ifndef _MB_CAPABLE
@@ -991,7 +991,7 @@ __locale_ctype_ptr (void)
char *
_DEFUN (setlocale, (category, locale),
- int category _AND
+ int category,
_CONST char *locale)
{
return _setlocale_r (_REENT, category, locale);
@@ -82,7 +82,7 @@ QUICKREF
int
_DEFUN (strcmp, (s1, s2),
- _CONST char *s1 _AND
+ _CONST char *s1,
_CONST char *s2)
{
@@ -82,7 +82,7 @@ QUICKREF
char*
_DEFUN (strcpy, (dst0, src0),
- char *__restrict dst0 _AND
+ char *__restrict dst0,
_CONST char *__restrict src0)
{
@@ -63,7 +63,7 @@ PORTABILITY
__int16_t
_DEFUN (_atosfix16_r, (reent, s),
- struct _reent *reent _AND
+ struct _reent *reent,
_CONST char *s)
{
return _strtosfix16_r (reent, s, NULL);
@@ -9,7 +9,7 @@
__int32_t
_DEFUN (_atosfix32_r, (reent, s),
- struct _reent *reent _AND
+ struct _reent *reent,
_CONST char *s)
{
return _strtosfix32_r (reent, s, NULL);
@@ -9,7 +9,7 @@
__int64_t
_DEFUN (_atosfix64_r, (reent, s),
- struct _reent *reent _AND
+ struct _reent *reent,
_CONST char *s)
{
return _strtosfix64_r (reent, s, NULL);
@@ -63,7 +63,7 @@ PORTABILITY
__uint16_t
_DEFUN (_atoufix16_r, (reent, s),
- struct _reent *reent _AND
+ struct _reent *reent,
_CONST char *s)
{
return _strtoufix16_r (reent, s, NULL);
@@ -9,7 +9,7 @@
__uint32_t
_DEFUN (_atoufix32_r, (reent, s),
- struct _reent *reent _AND
+ struct _reent *reent,
_CONST char *s)
{
return _strtoufix32_r (reent, s, NULL);
@@ -9,7 +9,7 @@
__uint64_t
_DEFUN (_atoufix64_r, (reent, s),
- struct _reent *reent _AND
+ struct _reent *reent,
_CONST char *s)
{
return _strtoufix64_r (reent, s, NULL);
@@ -93,8 +93,8 @@ PORTABILITY
*/
__int16_t
_DEFUN (_strtosfix16_r, (rptr, nptr, endptr),
- struct _reent *rptr _AND
- _CONST char *nptr _AND
+ struct _reent *rptr,
+ _CONST char *nptr,
char **endptr)
{
union double_union dbl;
@@ -170,7 +170,7 @@ _DEFUN (_strtosfix16_r, (rptr, nptr, endptr),
__int16_t
_DEFUN (strtosfix16, (s, ptr, base),
- _CONST char *s _AND
+ _CONST char *s,
char **ptr)
{
return _strtosfix16_r (_REENT, s, ptr);
@@ -14,8 +14,8 @@
*/
__int32_t
_DEFUN (_strtosfix32_r, (rptr, nptr, endptr),
- struct _reent *rptr _AND
- _CONST char *nptr _AND
+ struct _reent *rptr,
+ _CONST char *nptr,
char **endptr)
{
union double_union dbl;
@@ -93,7 +93,7 @@ _DEFUN (_strtosfix32_r, (rptr, nptr, endptr),
__int32_t
_DEFUN (strtosfix32, (s, ptr, base),
- _CONST char *s _AND
+ _CONST char *s,
char **ptr)
{
return _strtosfix32_r (_REENT, s, ptr);
@@ -14,8 +14,8 @@
*/
__int64_t
_DEFUN (_strtosfix64_r, (rptr, nptr, endptr),
- struct _reent *rptr _AND
- _CONST char *nptr _AND
+ struct _reent *rptr,
+ _CONST char *nptr,
char **endptr)
{
union long_double_union ldbl;
@@ -106,7 +106,7 @@ _DEFUN (_strtosfix64_r, (rptr, nptr, endptr),
__int64_t
_DEFUN (strtosfix64, (s, ptr, base),
- _CONST char *s _AND
+ _CONST char *s,
char **ptr)
{
return _strtosfix64_r (_REENT, s, ptr);
@@ -92,8 +92,8 @@ PORTABILITY
*/
__uint16_t
_DEFUN (_strtoufix16_r, (rptr, nptr, endptr),
- struct _reent *rptr _AND
- _CONST char *nptr _AND
+ struct _reent *rptr,
+ _CONST char *nptr,
char **endptr)
{
union double_union dbl;
@@ -161,7 +161,7 @@ _DEFUN (_strtoufix16_r, (rptr, nptr, endptr),
__uint16_t
_DEFUN (strtoufix16, (s, ptr, base),
- _CONST char *s _AND
+ _CONST char *s,
char **ptr)
{
return _strtoufix16_r (_REENT, s, ptr);
@@ -14,8 +14,8 @@
*/
__uint32_t
_DEFUN (_strtoufix32_r, (rptr, nptr, endptr),
- struct _reent *rptr _AND
- _CONST char *nptr _AND
+ struct _reent *rptr,
+ _CONST char *nptr,
char **endptr)
{
union double_union dbl;
@@ -90,7 +90,7 @@ _DEFUN (_strtoufix32_r, (rptr, nptr, endptr),
__uint32_t
_DEFUN (strtoufix32, (s, ptr, base),
- _CONST char *s _AND
+ _CONST char *s,
char **ptr)
{
return _strtoufix32_r (_REENT, s, ptr);
@@ -14,8 +14,8 @@
*/
__uint64_t
_DEFUN (_strtoufix64_r, (rptr, nptr, endptr),
- struct _reent *rptr _AND
- _CONST char *nptr _AND
+ struct _reent *rptr,
+ _CONST char *nptr,
char **endptr)
{
union long_double_union ldbl;
@@ -105,7 +105,7 @@ _DEFUN (_strtoufix64_r, (rptr, nptr, endptr),
__uint64_t
_DEFUN (strtoufix64, (s, ptr, base),
- _CONST char *s _AND
+ _CONST char *s,
char **ptr)
{
return _strtoufix64_r (_REENT, s, ptr);
@@ -26,12 +26,12 @@ extern char *_simdldtoa_r _PARAMS((struct _reent *, LONG_DOUBLE_UNION *, int,
char *
_DEFUN (_ufix64toa_r, (rptr, value, mode, ndigits, decpt, sign, rve),
- struct _reent *rptr _AND
- __uint64_t value _AND
- int mode _AND
- int ndigits _AND
- int *decpt _AND
- int *sign _AND
+ struct _reent *rptr,
+ __uint64_t value,
+ int mode,
+ int ndigits,
+ int *decpt,
+ int *sign,
char **rve)
{
union long_double_union ldbl;
@@ -45,7 +45,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
_PTR
_DEFUN (vec_calloc, (n, size),
- size_t n _AND
+ size_t n,
size_t size)
{
return _vec_calloc_r (_REENT, n, size);
@@ -8,7 +8,7 @@
_PTR
_DEFUN (vec_realloc, (ap, nbytes),
- _PTR ap _AND
+ _PTR ap,
size_t nbytes)
{
return _vec_realloc_r (_REENT, ap, nbytes);
@@ -272,8 +272,8 @@ static char *cvt_ufix64 _PARAMS((struct _reent *, unsigned long long, int, int
int
_DEFUN (VFPRINTF, (fp, fmt0, ap),
- FILE * fp _AND
- _CONST char *fmt0 _AND
+ FILE * fp,
+ _CONST char *fmt0,
va_list ap)
{
CHECK_INIT (_REENT, fp);
@@ -282,9 +282,9 @@ _DEFUN (VFPRINTF, (fp, fmt0, ap),
int
_DEFUN (_VFPRINTF_R, (data, fp, fmt0, ap),
- struct _reent *data _AND
- FILE * fp _AND
- _CONST char *fmt0 _AND
+ struct _reent *data,
+ FILE * fp,
+ _CONST char *fmt0,
va_list ap)
{
register char *fmt; /* format string */
@@ -183,8 +183,8 @@ typedef union
int
_DEFUN (vfscanf, (fp, fmt, ap),
- register FILE *__restrict fp _AND
- _CONST char *__restrict fmt _AND
+ register FILE *__restrict fp,
+ _CONST char *__restrict fmt,
va_list ap)
{
CHECK_INIT(_REENT, fp);
@@ -204,9 +204,9 @@ __svfscanf (fp, fmt0, ap)
int
_DEFUN (_vfscanf_r, (data, fp, fmt, ap),
- struct _reent *data _AND
- register FILE *__restrict fp _AND
- _CONST char *__restrict fmt _AND
+ struct _reent *data,
+ register FILE *__restrict fp,
+ _CONST char *__restrict fmt,
va_list ap)
{
return __svfscanf_r (data, fp, fmt, ap);
@@ -11,9 +11,9 @@
/* func can be NULL, in which case no function information is given. */
void
_DEFUN (__assert_func, (file, line, func, failedexpr),
- const char *file _AND
- int line _AND
- const char *func _AND
+ const char *file,
+ int line,
+ const char *func,
const char *failedexpr)
{
fprintf(stderr,
@@ -32,8 +32,8 @@ _DEFUN (__assert_func, (file, line, func, failedexpr),
void
_DEFUN (__assert, (file, line, failedexpr),
- const char *file _AND
- int line _AND
+ const char *file,
+ int line,
const char *failedexpr)
{
__assert_func (file, line, NULL, failedexpr);
@@ -8,7 +8,7 @@
int
_DEFUN(creat, (path, mode),
- const char *path _AND
+ const char *path,
mode_t mode)
{
return open (path, O_WRONLY | O_CREAT | O_TRUNC, mode);
@@ -35,7 +35,7 @@ POSSIBILITY OF SUCH DAMAGE.
/* Just a stub for now. */
FILE *
_DEFUN (fdopen, (fd, mode),
- int fd _AND
+ int fd,
_CONST char *mode)
{
errno = ENOSYS;
@@ -45,7 +45,7 @@ typedef struct
int
_DEFUN (fgetpos, (fp, pos),
- FILE *__restrict fp _AND
+ FILE *__restrict fp,
_fpos_t *__restrict pos)
{
c99_fgetpos_t arg;
@@ -47,8 +47,8 @@ typedef struct
char *
_DEFUN (fgets, (buf, n, fp),
- char *__restrict buf _AND
- int n _AND
+ char *__restrict buf,
+ int n,
FILE *__restrict fp)
{
c99_fgets_t args;
@@ -46,7 +46,7 @@ typedef struct
#ifndef _REENT_ONLY
FILE *
_DEFUN (fopen, (file, mode),
- _CONST char *__restrict file _AND
+ _CONST char *__restrict file,
_CONST char *__restrict mode)
{
int ret;
@@ -47,7 +47,7 @@ typedef struct
int
_DEFUN (fputs, (s, fp),
- char _CONST *__restrict s _AND
+ char _CONST *__restrict s,
FILE *__restrict fp)
{
c99_fputs_t args;
@@ -50,9 +50,9 @@ typedef struct
size_t
_DEFUN (fread, (buf, size, count, fp),
- _PTR __restrict buf _AND
- size_t size _AND
- size_t count _AND
+ _PTR __restrict buf,
+ size_t size,
+ size_t count,
FILE *__restrict fp)
{
c99_fread_t args;
@@ -48,8 +48,8 @@ typedef struct
FILE *
_DEFUN (freopen, (file, mode, fp),
- const char *__restrict file _AND
- const char *__restrict mode _AND
+ const char *__restrict file,
+ const char *__restrict mode,
FILE *__restrict fp)
{
int ret;
@@ -48,8 +48,8 @@ typedef struct
int
_DEFUN (fseek, (fp, offset, whence),
- register FILE *fp _AND
- long offset _AND
+ register FILE *fp,
+ long offset,
int whence)
{
c99_fseek_t args;
@@ -46,7 +46,7 @@ typedef struct
int
_DEFUN (fsetpos, (iop, pos),
- FILE * iop _AND
+ FILE * iop,
_CONST _fpos_t * pos)
{
c99_fsetpos_t args;
@@ -50,9 +50,9 @@ typedef struct
size_t
_DEFUN (fwrite, (buf, size, count, fp),
- _CONST _PTR __restrict buf _AND
- size_t size _AND
- size_t count _AND
+ _CONST _PTR __restrict buf,
+ size_t size,
+ size_t count,
FILE * fp)
{
c99_fwrite_t args;
@@ -47,7 +47,7 @@ typedef struct
void
_DEFUN (setbuf, (fp, buf),
- FILE *__restrict fp _AND
+ FILE *__restrict fp,
char *__restrict buf)
{
c99_setbuf_t args;
@@ -51,9 +51,9 @@ typedef struct
int
_DEFUN (setvbuf, (fp, buf, mode, size),
- FILE * fp _AND
- char *buf _AND
- int mode _AND
+ FILE * fp,
+ char *buf,
+ int mode,
size_t size)
{
c99_setvbuf_t args;
@@ -58,8 +58,8 @@ typedef struct
int
_DEFUN (vfprintf, (fp, fmt0, ap),
- FILE *__restrict fp _AND
- _CONST char *__restrict fmt0 _AND
+ FILE *__restrict fp,
+ _CONST char *__restrict fmt0,
va_list ap)
{
c99_vfprintf_t args;
@@ -58,8 +58,8 @@ typedef struct
int
_DEFUN (vfscanf, (fp, fmt, ap),
- FILE *__restrict fp _AND
- _CONST char *__restrict fmt _AND
+ FILE *__restrict fp,
+ _CONST char *__restrict fmt,
va_list ap)
{
c99_vfscanf_t args;
@@ -24,7 +24,7 @@ typedef struct
int
_DEFUN (vprintf, (fmt, ap),
- _CONST char *fmt _AND
+ _CONST char *fmt,
va_list ap)
{
c99_vprintf_t args;
@@ -56,7 +56,7 @@ typedef struct
int
_DEFUN (vscanf, (fmt, ap),
- _CONST char *fmt _AND
+ _CONST char *fmt,
va_list ap)
{
c99_vscanf_t args;
@@ -28,9 +28,9 @@ typedef struct
int
_DEFUN (vsnprintf, (str, size, fmt, ap),
- char *__restrict str _AND
- size_t size _AND
- _CONST char *__restrict fmt _AND
+ char *__restrict str,
+ size_t size,
+ _CONST char *__restrict fmt,
va_list ap)
{
c99_vsnprintf_t args;
@@ -27,8 +27,8 @@ typedef struct
int
_DEFUN (vsprintf, (str, fmt, ap),
- char *__restrict str _AND
- _CONST char *__restrict fmt _AND
+ char *__restrict str,
+ _CONST char *__restrict fmt,
va_list ap)
{
c99_vsprintf_t args;
@@ -58,8 +58,8 @@ typedef struct
int
_DEFUN (vsscanf, (str, fmt, ap),
- _CONST char *__restrict str _AND
- _CONST char *__restrict fmt _AND
+ _CONST char *__restrict str,
+ _CONST char *__restrict fmt,
va_list ap)
{
c99_vsscanf_t args;
@@ -178,8 +178,8 @@ parse_number (s, p)
static long
_DEFUN(get_number, (s, size, unsigned_p),
- char *s _AND
- long size _AND
+ char *s,
+ long size,
int unsigned_p)
{
long x;
@@ -221,8 +221,8 @@ _DEFUN(get_number, (s, size, unsigned_p),
static void
_DEFUN(print_number, (base, unsigned_p, n),
- int base _AND
- int unsigned_p _AND
+ int base,
+ int unsigned_p,
long n)
{
static char chars[16] = "0123456789abcdef";
@@ -6,7 +6,7 @@
int
_DEFUN(creat, (path, mode),
- const char *path _AND
+ const char *path,
mode_t mode)
{
return open (path, O_WRONLY | O_CREAT | O_TRUNC, mode);
@@ -19,7 +19,7 @@ static char ***p_environ = &environ;
int
_DEFUN(execl, (path, arg0, ...),
- _CONST char *path _AND
+ _CONST char *path,
_CONST char *arg0 _DOTS)
#else
@@ -28,8 +28,8 @@ _DEFUN(execl, (path, arg0, ...),
int
_DEFUN(execl, (path, arg0, va_alist),
- _CONST char *path _AND
- _CONST char *arg0 _AND
+ _CONST char *path,
+ _CONST char *arg0,
va_dcl)
#endif
@@ -14,7 +14,7 @@
int
_DEFUN(execle, (path, arg0, ...),
- _CONST char *path _AND
+ _CONST char *path,
_CONST char *arg0 _DOTS)
#else
@@ -23,8 +23,8 @@ _DEFUN(execle, (path, arg0, ...),
int
_DEFUN(execle, (path, arg0, va_alist),
- _CONST char *path _AND
- _CONST char *arg0 _AND
+ _CONST char *path,
+ _CONST char *arg0,
va_dcl)
#endif
@@ -14,7 +14,7 @@
int
_DEFUN(execlp, (path, arg0, ...),
- _CONST char *path _AND
+ _CONST char *path,
_CONST char *arg0 _DOTS)
#else
@@ -23,8 +23,8 @@ _DEFUN(execlp, (path, arg0, ...),
int
_DEFUN(execlp, (path, arg0, va_alist),
- _CONST char *path _AND
- _CONST char *arg0 _AND
+ _CONST char *path,
+ _CONST char *arg0,
va_dcl)
#endif
@@ -15,7 +15,7 @@ static char ***p_environ = &environ;
int
_DEFUN (execv, (path, argv),
- const char *path _AND
+ const char *path,
char * const argv[])
{
return _execve (path, (char * _CONST *) argv, *p_environ);
@@ -11,8 +11,8 @@
int
_DEFUN(execve, (path, argv, envp),
- const char *path _AND
- char * const argv[] _AND
+ const char *path,
+ char * const argv[],
char * const envp[])
{
return _execve (path, argv, envp);
@@ -22,8 +22,8 @@
static char *
_DEFUN (strccpy, (s1, s2, c),
- char *s1 _AND
- char *s2 _AND
+ char *s1,
+ char *s2,
char c)
{
char *dest = s1;
@@ -37,7 +37,7 @@ _DEFUN (strccpy, (s1, s2, c),
int
_DEFUN (execvp, (file, argv),
- _CONST char *file _AND
+ _CONST char *file,
char * _CONST argv[])
{
char *path = getenv ("PATH");
@@ -110,7 +110,7 @@ static struct pid {
FILE *
_DEFUN(popen, (program, type),
- const char *program _AND
+ const char *program,
const char *type)
{
struct pid *cur;
@@ -295,11 +295,11 @@ do_posix_spawn(pid_t *pid, _CONST char *path,
int
_DEFUN(posix_spawn, (pid, path, fa, sa, argv, envp),
- pid_t *pid _AND
- _CONST char *path _AND
- _CONST posix_spawn_file_actions_t *fa _AND
- _CONST posix_spawnattr_t *sa _AND
- char * _CONST argv[] _AND
+ pid_t *pid,
+ _CONST char *path,
+ _CONST posix_spawn_file_actions_t *fa,
+ _CONST posix_spawnattr_t *sa,
+ char * _CONST argv[],
char * _CONST envp[])
{
return do_posix_spawn(pid, path, fa, sa, argv, envp, 0);
@@ -307,11 +307,11 @@ _DEFUN(posix_spawn, (pid, path, fa, sa, argv, envp),
int
_DEFUN(posix_spawnp, (pid, path, fa, sa, argv, envp),
- pid_t *pid _AND
- _CONST char *path _AND
- _CONST posix_spawn_file_actions_t *fa _AND
- _CONST posix_spawnattr_t *sa _AND
- char * _CONST argv[] _AND
+ pid_t *pid,
+ _CONST char *path,
+ _CONST posix_spawn_file_actions_t *fa,
+ _CONST posix_spawnattr_t *sa,
+ char * _CONST argv[],
char * _CONST envp[])
{
return do_posix_spawn(pid, path, fa, sa, argv, envp, 1);
@@ -358,10 +358,10 @@ _DEFUN(posix_spawn_file_actions_destroy, (fa),
int
_DEFUN(posix_spawn_file_actions_addopen, (fa, fildes, path, oflag, mode),
- posix_spawn_file_actions_t * __restrict fa _AND
- int fildes _AND
- _CONST char * __restrict path _AND
- int oflag _AND
+ posix_spawn_file_actions_t * __restrict fa,
+ int fildes,
+ _CONST char * __restrict path,
+ int oflag,
mode_t mode)
{
posix_spawn_file_actions_entry_t *fae;
@@ -393,8 +393,8 @@ _DEFUN(posix_spawn_file_actions_addopen, (fa, fildes, path, oflag, mode),
int
_DEFUN(posix_spawn_file_actions_adddup2, (fa, fildes, newfildes),
- posix_spawn_file_actions_t *fa _AND
- int fildes _AND
+ posix_spawn_file_actions_t *fa,
+ int fildes,
int newfildes)
{
posix_spawn_file_actions_entry_t *fae;
@@ -418,7 +418,7 @@ _DEFUN(posix_spawn_file_actions_adddup2, (fa, fildes, newfildes),
int
_DEFUN(posix_spawn_file_actions_addclose, (fa, fildes),
- posix_spawn_file_actions_t *fa _AND
+ posix_spawn_file_actions_t *fa,
int fildes)
{
posix_spawn_file_actions_entry_t *fae;
@@ -468,7 +468,7 @@ _DEFUN(posix_spawnattr_destroy, (sa),
int
_DEFUN(posix_spawnattr_getflags, (sa, flags),
- _CONST posix_spawnattr_t * __restrict sa _AND
+ _CONST posix_spawnattr_t * __restrict sa,
short * __restrict flags)
{
*flags = (*sa)->sa_flags;
@@ -477,7 +477,7 @@ _DEFUN(posix_spawnattr_getflags, (sa, flags),
int
_DEFUN(posix_spawnattr_getpgroup, (sa, pgroup),
- _CONST posix_spawnattr_t * __restrict sa _AND
+ _CONST posix_spawnattr_t * __restrict sa,
pid_t * __restrict pgroup)
{
*pgroup = (*sa)->sa_pgroup;
@@ -486,7 +486,7 @@ _DEFUN(posix_spawnattr_getpgroup, (sa, pgroup),
int
_DEFUN(posix_spawnattr_getschedparam, (sa, schedparam),
- _CONST posix_spawnattr_t * __restrict sa _AND
+ _CONST posix_spawnattr_t * __restrict sa,
struct sched_param * __restrict schedparam)
{
*schedparam = (*sa)->sa_schedparam;
@@ -495,7 +495,7 @@ _DEFUN(posix_spawnattr_getschedparam, (sa, schedparam),
int
_DEFUN(posix_spawnattr_getschedpolicy, (sa, schedpolicy),
- _CONST posix_spawnattr_t * __restrict sa _AND
+ _CONST posix_spawnattr_t * __restrict sa,
int * __restrict schedpolicy)
{
*schedpolicy = (*sa)->sa_schedpolicy;
@@ -504,7 +504,7 @@ _DEFUN(posix_spawnattr_getschedpolicy, (sa, schedpolicy),
int
_DEFUN(posix_spawnattr_getsigdefault, (sa, sigdefault),
- _CONST posix_spawnattr_t * __restrict sa _AND
+ _CONST posix_spawnattr_t * __restrict sa,
sigset_t * __restrict sigdefault)
{
*sigdefault = (*sa)->sa_sigdefault;
@@ -513,7 +513,7 @@ _DEFUN(posix_spawnattr_getsigdefault, (sa, sigdefault),
int
_DEFUN(posix_spawnattr_getsigmask, (sa, sigmask),
- _CONST posix_spawnattr_t * __restrict sa _AND
+ _CONST posix_spawnattr_t * __restrict sa,
sigset_t * __restrict sigmask)
{
*sigmask = (*sa)->sa_sigmask;
@@ -522,7 +522,7 @@ _DEFUN(posix_spawnattr_getsigmask, (sa, sigmask),
int
_DEFUN(posix_spawnattr_setflags, (sa, flags),
- posix_spawnattr_t *sa _AND
+ posix_spawnattr_t *sa,
short flags)
{
(*sa)->sa_flags = flags;
@@ -531,7 +531,7 @@ _DEFUN(posix_spawnattr_setflags, (sa, flags),
int
_DEFUN(posix_spawnattr_setpgroup, (sa, pgroup),
- posix_spawnattr_t *sa _AND
+ posix_spawnattr_t *sa,
pid_t pgroup)
{
(*sa)->sa_pgroup = pgroup;
@@ -540,7 +540,7 @@ _DEFUN(posix_spawnattr_setpgroup, (sa, pgroup),
int
_DEFUN(posix_spawnattr_setschedparam, (sa, schedparam),
- posix_spawnattr_t * __restrict sa _AND
+ posix_spawnattr_t * __restrict sa,
_CONST struct sched_param * __restrict schedparam)
{
(*sa)->sa_schedparam = *schedparam;
@@ -549,7 +549,7 @@ _DEFUN(posix_spawnattr_setschedparam, (sa, schedparam),
int
_DEFUN(posix_spawnattr_setschedpolicy, (sa, schedpolicy),
- posix_spawnattr_t *sa _AND
+ posix_spawnattr_t *sa,
int schedpolicy)
{
(*sa)->sa_schedpolicy = schedpolicy;
@@ -558,7 +558,7 @@ _DEFUN(posix_spawnattr_setschedpolicy, (sa, schedpolicy),
int
_DEFUN(posix_spawnattr_setsigdefault, (sa, sigdefault),
- posix_spawnattr_t * __restrict sa _AND
+ posix_spawnattr_t * __restrict sa,
_CONST sigset_t * __restrict sigdefault)
{
(*sa)->sa_sigdefault = *sigdefault;
@@ -567,7 +567,7 @@ _DEFUN(posix_spawnattr_setsigdefault, (sa, sigdefault),
int
_DEFUN(posix_spawnattr_setsigmask, (sa, sigmask),
- posix_spawnattr_t * __restrict sa _AND
+ posix_spawnattr_t * __restrict sa,
_CONST sigset_t * __restrict sigmask)
{
(*sa)->sa_sigmask = *sigmask;
@@ -51,8 +51,8 @@ extern int getdents (int fd, void *dp, int count);
*/
int
_DEFUN(readdir_r, (dirp, dp, dpp),
- register DIR *__restrict dirp _AND
- struct dirent *__restrict dp _AND
+ register DIR *__restrict dirp,
+ struct dirent *__restrict dp,
struct dirent **__restrict dpp) {
struct dirent *tmpdp;
@@ -69,9 +69,9 @@ static char sccsid[] = "@(#)scandir.c 5.10 (Berkeley) 2/23/91";
int
_DEFUN(scandir, (dirname, namelist, select, dcomp),
- const char *dirname _AND
- struct dirent ***namelist _AND
- int (*select) __P((const struct dirent *)) _AND
+ const char *dirname,
+ struct dirent ***namelist,
+ int (*select) __P((const struct dirent *)),
int (*dcomp) __P((const struct dirent **, const struct dirent **)))
{
register struct dirent *d, *p, **names;
@@ -170,7 +170,7 @@ cleanup:
*/
int
_DEFUN(alphasort, (d1, d2),
- const struct dirent **d1 _AND
+ const struct dirent **d1,
const struct dirent **d2)
{
return(strcmp((*d1)->d_name, (*d2)->d_name));
@@ -47,7 +47,7 @@ static char sccsid[] = "@(#)seekdir.c 5.7 (Berkeley) 6/1/90";
*/
void
_DEFUN(seekdir, (dirp, loc),
- DIR *dirp _AND
+ DIR *dirp,
long loc)
{
#ifdef HAVE_DD_LOCK
@@ -120,7 +120,7 @@ _DEFUN(telldir, (dirp),
*/
void
_DEFUN(_seekdir, (dirp, loc),
- register DIR *dirp _AND
+ register DIR *dirp,
long loc)
{
register struct ddloc *lp;
@@ -46,9 +46,9 @@ DESCRIPTION
int
_DEFUN (_execve_r, (ptr, name, argv, env),
- struct _reent *ptr _AND
- _CONST char *name _AND
- char *_CONST argv[] _AND
+ struct _reent *ptr,
+ _CONST char *name,
+ char *_CONST argv[],
char *_CONST env[])
{
int ret;
@@ -114,7 +114,7 @@ DESCRIPTION
int
_DEFUN (_wait_r, (ptr, status),
- struct _reent *ptr _AND
+ struct _reent *ptr,
int *status)
{
int ret;
@@ -41,9 +41,9 @@ DESCRIPTION
int
_DEFUN (_fcntl_r, (ptr, fd, cmd, arg),
- struct _reent *ptr _AND
- int fd _AND
- int cmd _AND
+ struct _reent *ptr,
+ int fd,
+ int cmd,
int arg)
{
int ret;
@@ -48,8 +48,8 @@ DESCRIPTION
int
_DEFUN (_fstat64_r, (ptr, fd, pstat),
- struct _reent *ptr _AND
- int fd _AND
+ struct _reent *ptr,
+ int fd,
struct stat64 *pstat)
{
int ret;
@@ -53,8 +53,8 @@ DESCRIPTION
int
_DEFUN (_gettimeofday_r, (ptr, ptimeval, ptimezone),
- struct _reent *ptr _AND
- struct timeval *ptimeval _AND
+ struct _reent *ptr,
+ struct timeval *ptimeval,
void *ptimezone)
{
int ret;
@@ -44,8 +44,8 @@ DESCRIPTION
int
_DEFUN (_link_r, (ptr, old, new),
- struct _reent *ptr _AND
- _CONST char *old _AND
+ struct _reent *ptr,
+ _CONST char *old,
_CONST char *new)
{
int ret;
@@ -42,9 +42,9 @@ DESCRIPTION
_off64_t
_DEFUN (_lseek64_r, (ptr, fd, pos, whence),
- struct _reent *ptr _AND
- int fd _AND
- _off64_t pos _AND
+ struct _reent *ptr,
+ int fd,
+ _off64_t pos,
int whence)
{
_off64_t ret;
@@ -39,9 +39,9 @@ DESCRIPTION
_off_t
_DEFUN (_lseek_r, (ptr, fd, pos, whence),
- struct _reent *ptr _AND
- int fd _AND
- _off_t pos _AND
+ struct _reent *ptr,
+ int fd,
+ _off_t pos,
int whence)
{
_off_t ret;
@@ -41,8 +41,8 @@ DESCRIPTION
int
_DEFUN (_mkdir_r, (ptr, path, mode),
- struct _reent *ptr _AND
- _CONST char *path _AND
+ struct _reent *ptr,
+ _CONST char *path,
int mode)
{
int ret;
@@ -40,9 +40,9 @@ DESCRIPTION
int
_DEFUN (_open_r, (ptr, file, flags, mode),
- struct _reent *ptr _AND
- _CONST char *file _AND
- int flags _AND
+ struct _reent *ptr,
+ _CONST char *file,
+ int flags,
int mode)
{
int ret;
@@ -39,9 +39,9 @@ DESCRIPTION
_ssize_t
_DEFUN (_read_r, (ptr, fd, buf, cnt),
- struct _reent *ptr _AND
- int fd _AND
- _PTR buf _AND
+ struct _reent *ptr,
+ int fd,
+ _PTR buf,
size_t cnt)
{
_ssize_t ret;
@@ -31,7 +31,7 @@ int errno;
void
_DEFUN (cleanup_glue, (ptr, glue),
- struct _reent *ptr _AND
+ struct _reent *ptr,
struct _glue *glue)
{
/* Have to reclaim these in reverse order: */
@@ -41,8 +41,8 @@ DESCRIPTION
int
_DEFUN (_rename_r, (ptr, old, new),
- struct _reent *ptr _AND
- _CONST char *old _AND
+ struct _reent *ptr,
+ _CONST char *old,
_CONST char *new)
{
int ret = 0;
@@ -42,7 +42,7 @@ DESCRIPTION
void *
_DEFUN (_sbrk_r, (ptr, incr),
- struct _reent *ptr _AND
+ struct _reent *ptr,
ptrdiff_t incr)
{
char *ret;
@@ -44,8 +44,8 @@ DESCRIPTION
int
_DEFUN (_kill_r, (ptr, pid, sig),
- struct _reent *ptr _AND
- int pid _AND
+ struct _reent *ptr,
+ int pid,
int sig)
{
int ret;
@@ -46,8 +46,8 @@ DESCRIPTION
int
_DEFUN (_stat64_r, (ptr, file, pstat),
- struct _reent *ptr _AND
- _CONST char *file _AND
+ struct _reent *ptr,
+ _CONST char *file,
struct stat64 *pstat)
{
int ret;
@@ -46,8 +46,8 @@ DESCRIPTION
int
_DEFUN (_stat_r, (ptr, file, pstat),
- struct _reent *ptr _AND
- _CONST char *file _AND
+ struct _reent *ptr,
+ _CONST char *file,
struct stat *pstat)
{
int ret;
@@ -45,7 +45,7 @@ DESCRIPTION
clock_t
_DEFUN (_times_r, (ptr, ptms),
- struct _reent *ptr _AND
+ struct _reent *ptr,
struct tms *ptms)
{
clock_t ret;
@@ -39,7 +39,7 @@ DESCRIPTION
int
_DEFUN (_unlink_r, (ptr, file),
- struct _reent *ptr _AND
+ struct _reent *ptr,
_CONST char *file)
{
int ret;
@@ -39,9 +39,9 @@ DESCRIPTION
_ssize_t
_DEFUN (_write_r, (ptr, fd, buf, cnt),
- struct _reent *ptr _AND
- int fd _AND
- _CONST _PTR buf _AND
+ struct _reent *ptr,
+ int fd,
+ _CONST _PTR buf,
size_t cnt)
{
_ssize_t ret;
@@ -57,10 +57,10 @@ No supporting OS subroutines are required.
_PTR
_DEFUN (bsearch, (key, base, nmemb, size, compar),
- _CONST _PTR key _AND
- _CONST _PTR base _AND
- size_t nmemb _AND
- size_t size _AND
+ _CONST _PTR key,
+ _CONST _PTR base,
+ size_t nmemb,
+ size_t size,
int _EXFNPTR(compar, (const _PTR, const _PTR)))
{
_PTR current;
@@ -105,10 +105,10 @@ int hash_accesses, hash_collisions, hash_expansions, hash_overflows;
extern DB *
_DEFUN(__hash_open, (file, flags, mode, info, dflags),
- const char *file _AND
- int flags _AND
- int mode _AND
- int dflags _AND
+ const char *file,
+ int flags,
+ int mode,
+ int dflags,
const HASHINFO *info) /* Special directives for create */
{
HTAB *hashp;
@@ -70,7 +70,7 @@ _DEFUN_VOID (hdestroy)
ENTRY *
_DEFUN(hsearch, (item, action),
- ENTRY item _AND
+ ENTRY item,
ACTION action)
{
ENTRY *retval;
@@ -101,9 +101,9 @@ static inline void swapfunc _PARAMS((char *, char *, int, int));
static inline void
_DEFUN(swapfunc, (a, b, n, swaptype),
- char *a _AND
- char *b _AND
- int n _AND
+ char *a,
+ char *b,
+ int n,
int swaptype)
{
if(swaptype <= 1)
@@ -132,10 +132,10 @@ _DEFUN(swapfunc, (a, b, n, swaptype),
static inline char *
_DEFUN(med3, (a, b, c, cmp, thunk),
- char *a _AND
- char *b _AND
- char *c _AND
- cmp_t *cmp _AND
+ char *a,
+ char *b,
+ char *c,
+ cmp_t *cmp,
void *thunk
#if !defined(I_AM_QSORT_R) && !defined(I_AM_GNU_QSORT_R)
__unused
@@ -150,26 +150,26 @@ __unused
#if defined(I_AM_QSORT_R)
void
_DEFUN(__bsd_qsort_r, (a, n, es, thunk, cmp),
- void *a _AND
- size_t n _AND
- size_t es _AND
- void *thunk _AND
+ void *a,
+ size_t n,
+ size_t es,
+ void *thunk,
cmp_t *cmp)
#elif defined(I_AM_GNU_QSORT_R)
void
_DEFUN(qsort_r, (a, n, es, cmp, thunk),
- void *a _AND
- size_t n _AND
- size_t es _AND
- cmp_t *cmp _AND
+ void *a,
+ size_t n,
+ size_t es,
+ cmp_t *cmp,
void *thunk)
#else
#define thunk NULL
void
_DEFUN(qsort, (a, n, es, cmp),
- void *a _AND
- size_t n _AND
- size_t es _AND
+ void *a,
+ size_t n,
+ size_t es,
cmp_t *cmp)
#endif
{
@@ -27,8 +27,8 @@ __RCSID("$NetBSD: tdelete.c,v 1.2 1999/09/16 11:45:37 lukem Exp $");
/* delete node with given key */
void *
_DEFUN(tdelete, (vkey, vrootp, compar),
- const void *__restrict vkey _AND /* key to be deleted */
- void **__restrict vrootp _AND /* address of the root of tree */
+ const void *__restrict vkey, /* key to be deleted */
+ void **__restrict vrootp, /* address of the root of tree */
int (*compar)(const void *, const void *))
{
node_t **rootp = (node_t **)vrootp;
@@ -41,7 +41,7 @@ trecurse(root, free_action)
void
_DEFUN(tdestroy, (vrootp, freefct),
- void *vrootp _AND
+ void *vrootp,
void (*freefct)(void *))
{
node_t *root = (node_t *) vrootp;
@@ -26,8 +26,8 @@ __RCSID("$NetBSD: tfind.c,v 1.2 1999/09/16 11:45:37 lukem Exp $");
/* find a node, or return 0 */
void *
_DEFUN(tfind, (vkey, vrootp, compar),
- const void *vkey _AND /* key to be found */
- void **vrootp _AND /* address of the tree root */
+ const void *vkey, /* key to be found */
+ void **vrootp, /* address of the tree root */
int (*compar)(const void *, const void *))
{
node_t **rootp = (node_t **)vrootp;
@@ -26,8 +26,8 @@ __RCSID("$NetBSD: tsearch.c,v 1.3 1999/09/16 11:45:37 lukem Exp $");
/* find or insert datum into search tree */
void *
_DEFUN(tsearch, (vkey, vrootp, compar),
- const void *vkey _AND /* key to be located */
- void **vrootp _AND /* address of tree root */
+ const void *vkey, /* key to be located */
+ void **vrootp, /* address of tree root */
int (*compar)(const void *, const void *))
{
node_t *q;
@@ -50,7 +50,7 @@ trecurse(root, action, level)
/* Walk the nodes of a tree */
void
_DEFUN(twalk, (vroot, action),
- const void *vroot _AND /* Root of the tree to be walked */
+ const void *vroot, /* Root of the tree to be walked */
void (*action)(const void *, VISIT, int))
{
if (vroot != NULL && action != NULL)
@@ -35,7 +35,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
_VOID
_DEFUN(psignal, (sig, s),
- int sig _AND
+ int sig,
_CONST char *s)
{
if (s != NULL && *s != '\0')
@@ -62,7 +62,7 @@ _DEFUN (raise, (sig),
int
_DEFUN (_raise_r, (reent, sig),
- struct _reent *reent _AND
+ struct _reent *reent,
int sig)
{
return _kill_r (reent, _getpid_r (reent), sig);
@@ -109,8 +109,8 @@ _DEFUN (_init_signal_r, (ptr),
_sig_func_ptr
_DEFUN (_signal_r, (ptr, sig, func),
- struct _reent *ptr _AND
- int sig _AND
+ struct _reent *ptr,
+ int sig,
_sig_func_ptr func)
{
_sig_func_ptr old_func;
@@ -132,7 +132,7 @@ _DEFUN (_signal_r, (ptr, sig, func),
int
_DEFUN (_raise_r, (ptr, sig),
- struct _reent *ptr _AND
+ struct _reent *ptr,
int sig)
{
_sig_func_ptr func;
@@ -167,7 +167,7 @@ _DEFUN (_raise_r, (ptr, sig),
int
_DEFUN (__sigtramp_r, (ptr, sig),
- struct _reent *ptr _AND
+ struct _reent *ptr,
int sig)
{
_sig_func_ptr func;
@@ -206,7 +206,7 @@ _DEFUN (raise, (sig),
_sig_func_ptr
_DEFUN (signal, (sig, func),
- int sig _AND
+ int sig,
_sig_func_ptr func)
{
return _signal_r (_REENT, sig, func);
@@ -26,8 +26,8 @@
int
_DEFUN(_asiprintf_r, (ptr, strp, fmt),
- struct _reent *ptr _AND
- char **strp _AND
+ struct _reent *ptr,
+ char **strp,
const char *fmt _DOTS)
{
int ret;
@@ -54,7 +54,7 @@ _DEFUN(_asiprintf_r, (ptr, strp, fmt),
int
_DEFUN(asiprintf, (strp, fmt),
- char **strp _AND
+ char **strp,
const char *fmt _DOTS)
{
int ret;
@@ -15,9 +15,9 @@
char *
_DEFUN(_asniprintf_r, (ptr, buf, lenp, fmt),
- struct _reent *ptr _AND
- char *buf _AND
- size_t *lenp _AND
+ struct _reent *ptr,
+ char *buf,
+ size_t *lenp,
const char *fmt _DOTS)
{
int ret;
@@ -62,8 +62,8 @@ _DEFUN(_asniprintf_r, (ptr, buf, lenp, fmt),
char *
_DEFUN(asniprintf, (buf, lenp, fmt),
- char *buf _AND
- size_t *lenp _AND
+ char *buf,
+ size_t *lenp,
const char *fmt _DOTS)
{
int ret;
@@ -15,9 +15,9 @@
char *
_DEFUN(_asnprintf_r, (ptr, buf, lenp, fmt),
- struct _reent *__restrict ptr _AND
- char *buf _AND
- size_t *lenp _AND
+ struct _reent *__restrict ptr,
+ char *buf,
+ size_t *lenp,
const char *__restrict fmt _DOTS)
{
int ret;
@@ -68,8 +68,8 @@ _EXFUN(_asniprintf_r, (struct _reent *, char *, size_t *, const char *, ...)
char *
_DEFUN(asnprintf, (buf, lenp, fmt),
- char *__restrict buf _AND
- size_t *__restrict lenp _AND
+ char *__restrict buf,
+ size_t *__restrict lenp,
const char *__restrict fmt _DOTS)
{
int ret;
@@ -26,8 +26,8 @@
int
_DEFUN(_asprintf_r, (ptr, strp, fmt),
- struct _reent *ptr _AND
- char **__restrict strp _AND
+ struct _reent *ptr,
+ char **__restrict strp,
const char *__restrict fmt _DOTS)
{
int ret;
@@ -60,7 +60,7 @@ _EXFUN(_asiprintf_r, (struct _reent *, char **, const char *, ...)
int
_DEFUN(asprintf, (strp, fmt),
- char **__restrict strp _AND
+ char **__restrict strp,
const char *__restrict fmt _DOTS)
{
int ret;
@@ -50,8 +50,8 @@ Supporting OS subroutines required: <<sbrk>>, <<write>>.
int
_DEFUN(_diprintf_r, (ptr, fd, format),
- struct _reent *ptr _AND
- int fd _AND
+ struct _reent *ptr,
+ int fd,
const char *format _DOTS)
{
va_list ap;
@@ -67,7 +67,7 @@ _DEFUN(_diprintf_r, (ptr, fd, format),
int
_DEFUN(diprintf, (fd, format),
- int fd _AND
+ int fd,
const char *format _DOTS)
{
va_list ap;
@@ -54,8 +54,8 @@ Supporting OS subroutines required: <<sbrk>>, <<write>>.
int
_DEFUN(_dprintf_r, (ptr, fd, format),
- struct _reent *ptr _AND
- int fd _AND
+ struct _reent *ptr,
+ int fd,
const char *__restrict format _DOTS)
{
va_list ap;
@@ -77,7 +77,7 @@ _EXFUN(_diprintf_r, (struct _reent *, int, const char *, ...)
int
_DEFUN(dprintf, (fd, format),
- int fd _AND
+ int fd,
const char *__restrict format _DOTS)
{
va_list ap;
@@ -57,7 +57,7 @@ Required OS subroutines: <<close>>, <<fstat>>, <<isatty>>, <<lseek>>,
int
_DEFUN(_fclose_r, (rptr, fp),
- struct _reent *rptr _AND
+ struct _reent *rptr,
register FILE * fp)
{
int r;
@@ -54,8 +54,8 @@ PORTABILITY
FILE *
_DEFUN(_fdopen_r, (ptr, fd, mode),
- struct _reent *ptr _AND
- int fd _AND
+ struct _reent *ptr,
+ int fd,
_CONST char *mode)
{
register FILE *fp;
@@ -124,7 +124,7 @@ _DEFUN(_fdopen_r, (ptr, fd, mode),
FILE *
_DEFUN(fdopen, (fd, mode),
- int fd _AND
+ int fd,
_CONST char *mode)
{
return _fdopen_r (_REENT, fd, mode);
@@ -101,7 +101,7 @@ No supporting OS subroutines are required.
directly from __srefill. */
int
_DEFUN(__sflush_r, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register FILE * fp)
{
register unsigned char *p;
@@ -240,7 +240,7 @@ _DEFUN(__sflush_r, (ptr, fp),
writing. */
int
_DEFUN(__sflushw_r, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register FILE *fp)
{
return (fp->_flags & __SWR) ? __sflush_r (ptr, fp) : 0;
@@ -251,7 +251,7 @@ _DEFUN(__sflushw_r, (ptr, fp),
int
_DEFUN(_fflush_r, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register FILE * fp)
{
int ret;
@@ -86,7 +86,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
int
_DEFUN(_fgetc_r, (ptr, fp),
- struct _reent * ptr _AND
+ struct _reent * ptr,
FILE * fp)
{
int result;
@@ -30,7 +30,7 @@
int
_DEFUN(_fgetc_unlocked_r, (ptr, fp),
- struct _reent * ptr _AND
+ struct _reent * ptr,
FILE * fp)
{
CHECK_INIT(ptr, fp);
@@ -66,8 +66,8 @@ No supporting OS subroutines are required.
int
_DEFUN(_fgetpos_r, (ptr, fp, pos),
- struct _reent * ptr _AND
- FILE *__restrict fp _AND
+ struct _reent * ptr,
+ FILE *__restrict fp,
_fpos_t *__restrict pos)
{
*pos = _ftell_r (ptr, fp);
@@ -83,7 +83,7 @@ _DEFUN(_fgetpos_r, (ptr, fp, pos),
int
_DEFUN(fgetpos, (fp, pos),
- FILE *__restrict fp _AND
+ FILE *__restrict fp,
_fpos_t *__restrict pos)
{
return _fgetpos_r (_REENT, fp, pos);
@@ -95,9 +95,9 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
char *
_DEFUN(_fgets_r, (ptr, buf, n, fp),
- struct _reent * ptr _AND
- char *__restrict buf _AND
- int n _AND
+ struct _reent * ptr,
+ char *__restrict buf,
+ int n,
FILE *__restrict fp)
{
size_t len;
@@ -190,8 +190,8 @@ _DEFUN(_fgets_r, (ptr, buf, n, fp),
char *
_DEFUN(fgets, (buf, n, fp),
- char *__restrict buf _AND
- int n _AND
+ char *__restrict buf,
+ int n,
FILE *__restrict fp)
{
return _fgets_r (_REENT, buf, n, fp);
@@ -126,7 +126,7 @@ PORTABILITY
wint_t
_DEFUN(__fgetwc, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register FILE *fp)
{
wchar_t wc;
@@ -173,7 +173,7 @@ _DEFUN(__fgetwc, (ptr, fp),
wint_t
_DEFUN(_fgetwc_r, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register FILE *fp)
{
wint_t r;
@@ -31,7 +31,7 @@
wint_t
_DEFUN(_fgetwc_unlocked_r, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register FILE *fp)
{
ORIENT(fp, 1);
@@ -100,9 +100,9 @@ PORTABILITY
wchar_t *
_DEFUN(_fgetws_r, (ptr, ws, n, fp),
- struct _reent *ptr _AND
- wchar_t * ws _AND
- int n _AND
+ struct _reent *ptr,
+ wchar_t * ws,
+ int n,
FILE * fp)
{
wchar_t *wsp;
@@ -173,8 +173,8 @@ error:
wchar_t *
_DEFUN(fgetws, (ws, n, fp),
- wchar_t *__restrict ws _AND
- int n _AND
+ wchar_t *__restrict ws,
+ int n,
FILE *__restrict fp)
{
struct _reent *reent = _REENT;
@@ -45,8 +45,8 @@ _NOINLINE_STATIC _VOID
static _VOID
#endif
_DEFUN(std, (ptr, flags, file),
- FILE *ptr _AND
- int flags _AND
+ FILE *ptr,
+ int flags,
int file)
{
ptr->_p = 0;
@@ -125,7 +125,7 @@ struct glue_with_file {
struct _glue *
_DEFUN(__sfmoreglue, (d, n),
- struct _reent *d _AND
+ struct _reent *d,
register int n)
{
struct glue_with_file *g;
@@ -23,8 +23,8 @@
int
_DEFUN(_fiprintf_r, (ptr, fp, fmt),
- struct _reent *ptr _AND
- FILE * fp _AND
+ struct _reent *ptr,
+ FILE * fp,
const char *fmt _DOTS)
{
int ret;
@@ -40,7 +40,7 @@ _DEFUN(_fiprintf_r, (ptr, fp, fmt),
int
_DEFUN(fiprintf, (fp, fmt),
- FILE * fp _AND
+ FILE * fp,
const char *fmt _DOTS)
{
int ret;
@@ -31,8 +31,8 @@
int
_DEFUN(__sflags, (ptr, mode, optr),
- struct _reent *ptr _AND
- register char *mode _AND
+ struct _reent *ptr,
+ register char *mode,
int *optr)
{
register int ret, m, o;
@@ -84,9 +84,9 @@ typedef struct fmemcookie {
COOKIE; return number of bytes read (0 on EOF). */
static _READ_WRITE_RETURN_TYPE
_DEFUN(fmemreader, (ptr, cookie, buf, n),
- struct _reent *ptr _AND
- void *cookie _AND
- char *buf _AND
+ struct _reent *ptr,
+ void *cookie,
+ char *buf,
_READ_WRITE_BUFSIZE_TYPE n)
{
fmemcookie *c = (fmemcookie *) cookie;
@@ -104,9 +104,9 @@ _DEFUN(fmemreader, (ptr, cookie, buf, n),
returning the number of bytes written or EOF on failure. */
static _READ_WRITE_RETURN_TYPE
_DEFUN(fmemwriter, (ptr, cookie, buf, n),
- struct _reent *ptr _AND
- void *cookie _AND
- const char *buf _AND
+ struct _reent *ptr,
+ void *cookie,
+ const char *buf,
_READ_WRITE_BUFSIZE_TYPE n)
{
fmemcookie *c = (fmemcookie *) cookie;
@@ -160,9 +160,9 @@ _DEFUN(fmemwriter, (ptr, cookie, buf, n),
COOKIE; return resulting position or fail with EOF. */
static _fpos_t
_DEFUN(fmemseeker, (ptr, cookie, pos, whence),
- struct _reent *ptr _AND
- void *cookie _AND
- _fpos_t pos _AND
+ struct _reent *ptr,
+ void *cookie,
+ _fpos_t pos,
int whence)
{
fmemcookie *c = (fmemcookie *) cookie;
@@ -215,9 +215,9 @@ _DEFUN(fmemseeker, (ptr, cookie, pos, whence),
#ifdef __LARGE64_FILES
static _fpos64_t
_DEFUN(fmemseeker64, (ptr, cookie, pos, whence),
- struct _reent *ptr _AND
- void *cookie _AND
- _fpos64_t pos _AND
+ struct _reent *ptr,
+ void *cookie,
+ _fpos64_t pos,
int whence)
{
_off64_t offset = (_off64_t) pos;
@@ -257,7 +257,7 @@ _DEFUN(fmemseeker64, (ptr, cookie, pos, whence),
/* Reclaim resources used by stream described by COOKIE. */
static int
_DEFUN(fmemcloser, (ptr, cookie),
- struct _reent *ptr _AND
+ struct _reent *ptr,
void *cookie)
{
fmemcookie *c = (fmemcookie *) cookie;
@@ -269,9 +269,9 @@ _DEFUN(fmemcloser, (ptr, cookie),
Return the new stream, or fail with NULL. */
FILE *
_DEFUN(_fmemopen_r, (ptr, buf, size, mode),
- struct _reent *ptr _AND
- void *__restrict buf _AND
- size_t size _AND
+ struct _reent *ptr,
+ void *__restrict buf,
+ size_t size,
const char *__restrict mode)
{
FILE *fp;
@@ -362,8 +362,8 @@ _DEFUN(_fmemopen_r, (ptr, buf, size, mode),
#ifndef _REENT_ONLY
FILE *
_DEFUN(fmemopen, (buf, size, mode),
- void *__restrict buf _AND
- size_t size _AND
+ void *__restrict buf,
+ size_t size,
const char *__restrict mode)
{
return _fmemopen_r (_REENT, buf, size, mode);
@@ -114,8 +114,8 @@ static char sccsid[] = "%W% (Berkeley) %G%";
FILE *
_DEFUN(_fopen_r, (ptr, file, mode),
- struct _reent *ptr _AND
- _CONST char *__restrict file _AND
+ struct _reent *ptr,
+ _CONST char *__restrict file,
_CONST char *__restrict mode)
{
register FILE *fp;
@@ -164,7 +164,7 @@ _DEFUN(_fopen_r, (ptr, file, mode),
FILE *
_DEFUN(fopen, (file, mode),
- _CONST char *file _AND
+ _CONST char *file,
_CONST char *mode)
{
return _fopen_r (_REENT, file, mode);
@@ -99,9 +99,9 @@ typedef struct fccookie {
static _READ_WRITE_RETURN_TYPE
_DEFUN(fcreader, (ptr, cookie, buf, n),
- struct _reent *ptr _AND
- void *cookie _AND
- char *buf _AND
+ struct _reent *ptr,
+ void *cookie,
+ char *buf,
_READ_WRITE_BUFSIZE_TYPE n)
{
int result;
@@ -114,9 +114,9 @@ _DEFUN(fcreader, (ptr, cookie, buf, n),
static _READ_WRITE_RETURN_TYPE
_DEFUN(fcwriter, (ptr, cookie, buf, n),
- struct _reent *ptr _AND
- void *cookie _AND
- const char *buf _AND
+ struct _reent *ptr,
+ void *cookie,
+ const char *buf,
_READ_WRITE_BUFSIZE_TYPE n)
{
int result;
@@ -137,9 +137,9 @@ _DEFUN(fcwriter, (ptr, cookie, buf, n),
static _fpos_t
_DEFUN(fcseeker, (ptr, cookie, pos, whence),
- struct _reent *ptr _AND
- void *cookie _AND
- _fpos_t pos _AND
+ struct _reent *ptr,
+ void *cookie,
+ _fpos_t pos,
int whence)
{
fccookie *c = (fccookie *) cookie;
@@ -165,9 +165,9 @@ _DEFUN(fcseeker, (ptr, cookie, pos, whence),
#ifdef __LARGE64_FILES
static _fpos64_t
_DEFUN(fcseeker64, (ptr, cookie, pos, whence),
- struct _reent *ptr _AND
- void *cookie _AND
- _fpos64_t pos _AND
+ struct _reent *ptr,
+ void *cookie,
+ _fpos64_t pos,
int whence)
{
_off64_t offset;
@@ -181,7 +181,7 @@ _DEFUN(fcseeker64, (ptr, cookie, pos, whence),
static int
_DEFUN(fccloser, (ptr, cookie),
- struct _reent *ptr _AND
+ struct _reent *ptr,
void *cookie)
{
int result = 0;
@@ -198,9 +198,9 @@ _DEFUN(fccloser, (ptr, cookie),
FILE *
_DEFUN(_fopencookie_r, (ptr, cookie, mode, functions),
- struct _reent *ptr _AND
- void *cookie _AND
- const char *mode _AND
+ struct _reent *ptr,
+ void *cookie,
+ const char *mode,
cookie_io_functions_t functions)
{
FILE *fp;
@@ -254,8 +254,8 @@ _DEFUN(_fopencookie_r, (ptr, cookie, mode, functions),
#ifndef _REENT_ONLY
FILE *
_DEFUN(fopencookie, (cookie, mode, functions),
- void *cookie _AND
- const char *mode _AND
+ void *cookie,
+ const char *mode,
cookie_io_functions_t functions)
{
return _fopencookie_r (_REENT, cookie, mode, functions);
@@ -23,8 +23,8 @@
int
_DEFUN(_fprintf_r, (ptr, fp, fmt),
- struct _reent *ptr _AND
- FILE *__restrict fp _AND
+ struct _reent *ptr,
+ FILE *__restrict fp,
const char *__restrict fmt _DOTS)
{
int ret;
@@ -46,7 +46,7 @@ _EXFUN(_fiprintf_r, (struct _reent *, FILE *, const char *, ...)
int
_DEFUN(fprintf, (fp, fmt),
- FILE *__restrict fp _AND
+ FILE *__restrict fp,
const char *__restrict fmt _DOTS)
{
int ret;
@@ -61,7 +61,7 @@ No supporting OS subroutines are required.
int
_DEFUN(_fpurge_r, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register FILE * fp)
{
int t;
@@ -88,8 +88,8 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
int
_DEFUN(_fputc_r, (ptr, ch, file),
- struct _reent *ptr _AND
- int ch _AND
+ struct _reent *ptr,
+ int ch,
FILE * file)
{
int result;
@@ -103,7 +103,7 @@ _DEFUN(_fputc_r, (ptr, ch, file),
#ifndef _REENT_ONLY
int
_DEFUN(fputc, (ch, file),
- int ch _AND
+ int ch,
FILE * file)
{
#if !defined(__OPTIMIZE_SIZE__) && !defined(PREFER_SIZE_OVER_SPEED)
@@ -30,8 +30,8 @@
int
_DEFUN(_fputc_unlocked_r, (ptr, ch, file),
- struct _reent *ptr _AND
- int ch _AND
+ struct _reent *ptr,
+ int ch,
FILE * file)
{
CHECK_INIT(ptr, file);
@@ -41,7 +41,7 @@ _DEFUN(_fputc_unlocked_r, (ptr, ch, file),
#ifndef _REENT_ONLY
int
_DEFUN(fputc_unlocked, (ch, file),
- int ch _AND
+ int ch,
FILE * file)
{
#if !defined(__OPTIMIZE_SIZE__) && !defined(PREFER_SIZE_OVER_SPEED)
@@ -87,8 +87,8 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
*/
int
_DEFUN(_fputs_r, (ptr, s, fp),
- struct _reent * ptr _AND
- char _CONST *__restrict s _AND
+ struct _reent * ptr,
+ char _CONST *__restrict s,
FILE *__restrict fp)
{
#ifdef _FVWRITE_IN_STREAMIO
@@ -136,7 +136,7 @@ error:
#ifndef _REENT_ONLY
int
_DEFUN(fputs, (s, fp),
- char _CONST *__restrict s _AND
+ char _CONST *__restrict s,
FILE *__restrict fp)
{
return _fputs_r (_REENT, s, fp);
@@ -129,8 +129,8 @@ PORTABILITY
wint_t
_DEFUN(__fputwc, (ptr, wc, fp),
- struct _reent *ptr _AND
- wchar_t wc _AND
+ struct _reent *ptr,
+ wchar_t wc,
FILE *fp)
{
char buf[MB_LEN_MAX];
@@ -164,8 +164,8 @@ _DEFUN(__fputwc, (ptr, wc, fp),
wint_t
_DEFUN(_fputwc_r, (ptr, wc, fp),
- struct _reent *ptr _AND
- wchar_t wc _AND
+ struct _reent *ptr,
+ wchar_t wc,
FILE *fp)
{
wint_t r;
@@ -179,7 +179,7 @@ _DEFUN(_fputwc_r, (ptr, wc, fp),
wint_t
_DEFUN(fputwc, (wc, fp),
- wchar_t wc _AND
+ wchar_t wc,
FILE *fp)
{
struct _reent *reent = _REENT;
@@ -31,8 +31,8 @@
wint_t
_DEFUN(_fputwc_unlocked_r, (ptr, wc, fp),
- struct _reent *ptr _AND
- wchar_t wc _AND
+ struct _reent *ptr,
+ wchar_t wc,
FILE *fp)
{
ORIENT(fp, 1);
@@ -41,7 +41,7 @@ _DEFUN(_fputwc_unlocked_r, (ptr, wc, fp),
wint_t
_DEFUN(fputwc_unlocked, (wc, fp),
- wchar_t wc _AND
+ wchar_t wc,
FILE *fp)
{
struct _reent *reent = _REENT;
@@ -95,8 +95,8 @@ PORTABILITY
int
_DEFUN(_fputws_r, (ptr, ws, fp),
- struct _reent *ptr _AND
- const wchar_t *ws _AND
+ struct _reent *ptr,
+ const wchar_t *ws,
FILE *fp)
{
size_t nbytes;
@@ -159,7 +159,7 @@ error:
int
_DEFUN(fputws, (ws, fp),
- const wchar_t *__restrict ws _AND
+ const wchar_t *__restrict ws,
FILE *__restrict fp)
{
struct _reent *reent = _REENT;
@@ -94,10 +94,10 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
#ifdef __SCLE
static size_t
_DEFUN(crlf_r, (ptr, fp, buf, count, eof),
- struct _reent * ptr _AND
- FILE * fp _AND
- char * buf _AND
- size_t count _AND
+ struct _reent * ptr,
+ FILE * fp,
+ char * buf,
+ size_t count,
int eof)
{
int r;
@@ -143,10 +143,10 @@ _DEFUN(crlf_r, (ptr, fp, buf, count, eof),
size_t
_DEFUN(_fread_r, (ptr, buf, size, count, fp),
- struct _reent * ptr _AND
- _PTR __restrict buf _AND
- size_t size _AND
- size_t count _AND
+ struct _reent * ptr,
+ _PTR __restrict buf,
+ size_t size,
+ size_t count,
FILE * __restrict fp)
{
register size_t resid;
@@ -261,9 +261,9 @@ _DEFUN(_fread_r, (ptr, buf, size, count, fp),
#ifndef _REENT_ONLY
size_t
_DEFUN(fread, (buf, size, count, fp),
- _PTR __restrict buf _AND
- size_t size _AND
- size_t count _AND
+ _PTR __restrict buf,
+ size_t size,
+ size_t count,
FILE *__restrict fp)
{
return _fread_r (_REENT, buf, size, count, fp);
@@ -76,9 +76,9 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
FILE *
_DEFUN(_freopen_r, (ptr, file, mode, fp),
- struct _reent *ptr _AND
- const char *__restrict file _AND
- const char *__restrict mode _AND
+ struct _reent *ptr,
+ const char *__restrict file,
+ const char *__restrict mode,
register FILE *__restrict fp)
{
register int f;
@@ -244,8 +244,8 @@ _DEFUN(_freopen_r, (ptr, file, mode, fp),
FILE *
_DEFUN(freopen, (file, mode, fp),
- _CONST char *__restrict file _AND
- _CONST char *__restrict mode _AND
+ _CONST char *__restrict file,
+ _CONST char *__restrict mode,
register FILE *__restrict fp)
{
return _freopen_r (_REENT, file, mode, fp);
@@ -82,9 +82,9 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
int
_DEFUN(_fseek_r, (ptr, fp, offset, whence),
- struct _reent *ptr _AND
- register FILE *fp _AND
- long offset _AND
+ struct _reent *ptr,
+ register FILE *fp,
+ long offset,
int whence)
{
return _fseeko_r (ptr, fp, offset, whence);
@@ -94,8 +94,8 @@ _DEFUN(_fseek_r, (ptr, fp, offset, whence),
int
_DEFUN(fseek, (fp, offset, whence),
- register FILE *fp _AND
- long offset _AND
+ register FILE *fp,
+ long offset,
int whence)
{
return _fseek_r (_REENT, fp, offset, whence);
@@ -94,9 +94,9 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
int
_DEFUN(_fseeko_r, (ptr, fp, offset, whence),
- struct _reent *ptr _AND
- register FILE *fp _AND
- _off_t offset _AND
+ struct _reent *ptr,
+ register FILE *fp,
+ _off_t offset,
int whence)
{
_fpos_t _EXFNPTR(seekfn, (struct _reent *, _PTR, _fpos_t, int));
@@ -360,8 +360,8 @@ dumb:
int
_DEFUN(fseeko, (fp, offset, whence),
- register FILE *fp _AND
- _off_t offset _AND
+ register FILE *fp,
+ _off_t offset,
int whence)
{
return _fseeko_r (_REENT, fp, offset, whence);
@@ -66,7 +66,7 @@ No supporting OS subroutines are required.
int
_DEFUN(__fsetlocking, (fp, type),
- FILE * fp _AND
+ FILE * fp,
int type)
{
int result;
@@ -60,8 +60,8 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
int
_DEFUN(_fsetpos_r, (ptr, iop, pos),
- struct _reent * ptr _AND
- FILE * iop _AND
+ struct _reent * ptr,
+ FILE * iop,
_CONST _fpos_t * pos)
{
int x = _fseek_r (ptr, iop, *pos, SEEK_SET);
@@ -75,7 +75,7 @@ _DEFUN(_fsetpos_r, (ptr, iop, pos),
int
_DEFUN(fsetpos, (iop, pos),
- FILE * iop _AND
+ FILE * iop,
_CONST _fpos_t * pos)
{
return _fsetpos_r (_REENT, iop, pos);
@@ -84,7 +84,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
long
_DEFUN(_ftell_r, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register FILE * fp)
{
_fpos_t pos;
@@ -84,7 +84,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
_off_t
_DEFUN(_ftello_r, (ptr, fp),
- struct _reent * ptr _AND
+ struct _reent * ptr,
register FILE * fp)
{
_fpos_t pos;
@@ -105,9 +105,9 @@ typedef struct funcookie {
static _READ_WRITE_RETURN_TYPE
_DEFUN(funreader, (ptr, cookie, buf, n),
- struct _reent *ptr _AND
- void *cookie _AND
- char *buf _AND
+ struct _reent *ptr,
+ void *cookie,
+ char *buf,
_READ_WRITE_BUFSIZE_TYPE n)
{
int result;
@@ -120,9 +120,9 @@ _DEFUN(funreader, (ptr, cookie, buf, n),
static _READ_WRITE_RETURN_TYPE
_DEFUN(funwriter, (ptr, cookie, buf, n),
- struct _reent *ptr _AND
- void *cookie _AND
- const char *buf _AND
+ struct _reent *ptr,
+ void *cookie,
+ const char *buf,
_READ_WRITE_BUFSIZE_TYPE n)
{
int result;
@@ -135,9 +135,9 @@ _DEFUN(funwriter, (ptr, cookie, buf, n),
static _fpos_t
_DEFUN(funseeker, (ptr, cookie, off, whence),
- struct _reent *ptr _AND
- void *cookie _AND
- _fpos_t off _AND
+ struct _reent *ptr,
+ void *cookie,
+ _fpos_t off,
int whence)
{
funcookie *c = (funcookie *) cookie;
@@ -163,9 +163,9 @@ _DEFUN(funseeker, (ptr, cookie, off, whence),
#ifdef __LARGE64_FILES
static _fpos64_t
_DEFUN(funseeker64, (ptr, cookie, off, whence),
- struct _reent *ptr _AND
- void *cookie _AND
- _fpos64_t off _AND
+ struct _reent *ptr,
+ void *cookie,
+ _fpos64_t off,
int whence)
{
_fpos64_t result;
@@ -179,7 +179,7 @@ _DEFUN(funseeker64, (ptr, cookie, off, whence),
static int
_DEFUN(funcloser, (ptr, cookie),
- struct _reent *ptr _AND
+ struct _reent *ptr,
void *cookie)
{
int result = 0;
@@ -196,11 +196,11 @@ _DEFUN(funcloser, (ptr, cookie),
FILE *
_DEFUN(_funopen_r, (ptr, cookie, readfn, writefn, seekfn, closefn),
- struct _reent *ptr _AND
- const void *cookie _AND
- funread readfn _AND
- funwrite writefn _AND
- funseek seekfn _AND
+ struct _reent *ptr,
+ const void *cookie,
+ funread readfn,
+ funwrite writefn,
+ funseek seekfn,
funclose closefn)
{
FILE *fp;
@@ -268,10 +268,10 @@ _DEFUN(_funopen_r, (ptr, cookie, readfn, writefn, seekfn, closefn),
#ifndef _REENT_ONLY
FILE *
_DEFUN(funopen, (cookie, readfn, writefn, seekfn, closefn),
- const void *cookie _AND
- funread readfn _AND
- funwrite writefn _AND
- funseek seekfn _AND
+ const void *cookie,
+ funread readfn,
+ funwrite writefn,
+ funseek seekfn,
funclose closefn)
{
return _funopen_r (_REENT, cookie, readfn, writefn, seekfn, closefn);
@@ -46,8 +46,8 @@
int
_DEFUN(__sfvwrite_r, (ptr, fp, uio),
- struct _reent *ptr _AND
- register FILE *fp _AND
+ struct _reent *ptr,
+ register FILE *fp,
register struct __suio *uio)
{
register size_t len;
@@ -29,7 +29,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(_fwalk, (ptr, function),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register int (*function) (FILE *))
{
register FILE *fp;
@@ -56,7 +56,7 @@ _DEFUN(_fwalk, (ptr, function),
I/O function (e.g. _fclose_r). */
int
_DEFUN(_fwalk_reent, (ptr, reent_function),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register int (*reent_function) (struct _reent *, FILE *))
{
register FILE *fp;
@@ -49,8 +49,8 @@ C99, POSIX.1-2001.
int
_DEFUN(_fwide_r, (ptr, fp, mode),
- struct _reent *ptr _AND
- FILE *fp _AND
+ struct _reent *ptr,
+ FILE *fp,
int mode)
{
int ret;
@@ -71,7 +71,7 @@ _DEFUN(_fwide_r, (ptr, fp, mode),
int
_DEFUN(fwide, (fp, mode),
- FILE *fp _AND
+ FILE *fp,
int mode)
{
return _fwide_r (_REENT, fp, mode);
@@ -24,8 +24,8 @@
int
_DEFUN(_fwprintf_r, (ptr, fp, fmt),
- struct _reent *ptr _AND
- FILE *fp _AND
+ struct _reent *ptr,
+ FILE *fp,
const wchar_t *fmt _DOTS)
{
int ret;
@@ -41,7 +41,7 @@ _DEFUN(_fwprintf_r, (ptr, fp, fmt),
int
_DEFUN(fwprintf, (fp, fmt),
- FILE *__restrict fp _AND
+ FILE *__restrict fp,
const wchar_t *__restrict fmt _DOTS)
{
int ret;
@@ -109,10 +109,10 @@ static char sccsid[] = "%W% (Berkeley) %G%";
size_t
_DEFUN(_fwrite_r, (ptr, buf, size, count, fp),
- struct _reent * ptr _AND
- _CONST _PTR __restrict buf _AND
- size_t size _AND
- size_t count _AND
+ struct _reent * ptr,
+ _CONST _PTR __restrict buf,
+ size_t size,
+ size_t count,
FILE * __restrict fp)
{
size_t n;
@@ -171,9 +171,9 @@ ret:
#ifndef _REENT_ONLY
size_t
_DEFUN(fwrite, (buf, size, count, fp),
- _CONST _PTR __restrict buf _AND
- size_t size _AND
- size_t count _AND
+ _CONST _PTR __restrict buf,
+ size_t size,
+ size_t count,
FILE * fp)
{
return _fwrite_r (_REENT, buf, size, count, fp);
@@ -77,7 +77,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(_getc_r, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register FILE *fp)
{
int result;
@@ -70,7 +70,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(_getc_unlocked_r, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register FILE *fp)
{
/* CHECK_INIT is called (eventually) by __srefill_r. */
@@ -41,9 +41,9 @@ No supporting OS subroutines are directly required.
ssize_t
_DEFUN(__getdelim, (bufptr, n, delim, fp),
- char **bufptr _AND
- size_t *n _AND
- int delim _AND
+ char **bufptr,
+ size_t *n,
+ int delim,
FILE *fp)
{
char *buf;
@@ -38,8 +38,8 @@ extern ssize_t _EXFUN(__getdelim, (char **, size_t *, int, FILE *));
ssize_t
_DEFUN(__getline, (lptr, n, fp),
- char **lptr _AND
- size_t *n _AND
+ char **lptr,
+ size_t *n,
FILE *fp)
{
return __getdelim (lptr, n, '\n', fp);
@@ -64,7 +64,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
char *
_DEFUN(_gets_r, (ptr, buf),
- struct _reent *ptr _AND
+ struct _reent *ptr,
char *buf)
{
register int c;
@@ -34,7 +34,7 @@
wint_t
_DEFUN(_getwc_r, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
FILE *fp)
{
return _fgetwc_r (ptr, fp);
@@ -35,7 +35,7 @@
wint_t
_DEFUN(_getwc_unlocked_r, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
FILE *fp)
{
return _fgetwc_unlocked_r (ptr, fp);
@@ -43,7 +43,7 @@ _DEFUN(iprintf, (fmt),
int
_DEFUN(_iprintf_r, (ptr, fmt),
- struct _reent *ptr _AND
+ struct _reent *ptr,
const char *fmt _DOTS)
{
int ret;
@@ -36,7 +36,7 @@
_VOID
_DEFUN(__smakebuf_r, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register FILE *fp)
{
register _PTR p;
@@ -77,9 +77,9 @@ _DEFUN(__smakebuf_r, (ptr, fp),
*/
int
_DEFUN(__swhatbuf_r, (ptr, fp, bufsize, couldbetty),
- struct _reent *ptr _AND
- FILE *fp _AND
- size_t *bufsize _AND
+ struct _reent *ptr,
+ FILE *fp,
+ size_t *bufsize,
int *couldbetty)
{
#ifdef _FSEEK_OPTIMIZATION
@@ -140,11 +140,11 @@ Supporting OS subroutines required: <<getpid>>, <<mkdir>>, <<open>>, <<stat>>.
static int
_DEFUN(_gettemp, (ptr, path, doopen, domkdir, suffixlen, flags),
- struct _reent *ptr _AND
- char *path _AND
- register int *doopen _AND
- int domkdir _AND
- size_t suffixlen _AND
+ struct _reent *ptr,
+ char *path,
+ register int *doopen,
+ int domkdir,
+ size_t suffixlen,
int flags)
{
register char *start, *trv;
@@ -264,7 +264,7 @@ _DEFUN(_gettemp, (ptr, path, doopen, domkdir, suffixlen, flags),
int
_DEFUN(_mkstemp_r, (ptr, path),
- struct _reent *ptr _AND
+ struct _reent *ptr,
char *path)
{
int fd;
@@ -275,7 +275,7 @@ _DEFUN(_mkstemp_r, (ptr, path),
#if !defined _ELIX_LEVEL || _ELIX_LEVEL >= 4
char *
_DEFUN(_mkdtemp_r, (ptr, path),
- struct _reent *ptr _AND
+ struct _reent *ptr,
char *path)
{
return (_gettemp (ptr, path, (int *) NULL, 1, 0, 0) ? path : NULL);
@@ -283,8 +283,8 @@ _DEFUN(_mkdtemp_r, (ptr, path),
int
_DEFUN(_mkstemps_r, (ptr, path, len),
- struct _reent *ptr _AND
- char *path _AND
+ struct _reent *ptr,
+ char *path,
int len)
{
int fd;
@@ -294,8 +294,8 @@ _DEFUN(_mkstemps_r, (ptr, path, len),
int
_DEFUN(_mkostemp_r, (ptr, path, flags),
- struct _reent *ptr _AND
- char *path _AND
+ struct _reent *ptr,
+ char *path,
int flags)
{
int fd;
@@ -305,9 +305,9 @@ _DEFUN(_mkostemp_r, (ptr, path, flags),
int
_DEFUN(_mkostemps_r, (ptr, path, len, flags),
- struct _reent *ptr _AND
- char *path _AND
- int len _AND
+ struct _reent *ptr,
+ char *path,
+ int len,
int flags)
{
int fd;
@@ -318,7 +318,7 @@ _DEFUN(_mkostemps_r, (ptr, path, len, flags),
char *
_DEFUN(_mktemp_r, (ptr, path),
- struct _reent *ptr _AND
+ struct _reent *ptr,
char *path)
{
return (_gettemp (ptr, path, (int *) NULL, 0, 0, 0) ? path : (char *) NULL);
@@ -345,7 +345,7 @@ _DEFUN(mkdtemp, (path),
int
_DEFUN(mkstemps, (path, len),
- char *path _AND
+ char *path,
int len)
{
int fd;
@@ -355,7 +355,7 @@ _DEFUN(mkstemps, (path, len),
int
_DEFUN(mkostemp, (path, flags),
- char *path _AND
+ char *path,
int flags)
{
int fd;
@@ -365,8 +365,8 @@ _DEFUN(mkostemp, (path, flags),
int
_DEFUN(mkostemps, (path, len, flags),
- char *path _AND
- int len _AND
+ char *path,
+ int len,
int flags)
{
int fd;
@@ -173,9 +173,9 @@ static char *rcsid = "$Id$";
#ifdef STRING_ONLY
int
_DEFUN(__ssputs_r, (ptr, fp, buf, len),
- struct _reent *ptr _AND
- FILE *fp _AND
- _CONST char *buf _AND
+ struct _reent *ptr,
+ FILE *fp,
+ _CONST char *buf,
size_t len)
{
register int w;
@@ -244,8 +244,8 @@ err:
by a serial of functions like svfwprintf for wide char output. */
int
_DEFUN(__ssprint_r, (ptr, fp, uio),
- struct _reent *ptr _AND
- FILE *fp _AND
+ struct _reent *ptr,
+ FILE *fp,
register struct __suio *uio)
{
register size_t len;
@@ -348,8 +348,8 @@ err:
then reset it so that it can be reused. */
int
_DEFUN(__sprint_r, (ptr, fp, uio),
- struct _reent *ptr _AND
- FILE *fp _AND
+ struct _reent *ptr,
+ FILE *fp,
register struct __suio *uio)
{
register int err = 0;
@@ -393,8 +393,8 @@ out:
_NOINLINE_STATIC int
_DEFUN(__sfputc_r, (ptr, c, fp),
- struct _reent *ptr _AND
- int c _AND
+ struct _reent *ptr,
+ int c,
FILE *fp)
{
if (--fp->_w >= 0 || (fp->_w >= fp->_lbfsize && (char)c != '\n'))
@@ -405,9 +405,9 @@ _DEFUN(__sfputc_r, (ptr, c, fp),
int
_DEFUN(__sfputs_r, (ptr, fp, buf, len),
- struct _reent *ptr _AND
- FILE *fp _AND
- _CONST char *buf _AND
+ struct _reent *ptr,
+ FILE *fp,
+ _CONST char *buf,
size_t len)
{
register int i;
@@ -443,8 +443,8 @@ int _EXFUN(_VFPRINTF_R, (struct _reent *, FILE *, _CONST char *, va_list));
#ifndef STRING_ONLY
int
_DEFUN(VFPRINTF, (fp, fmt0, ap),
- FILE * fp _AND
- _CONST char *fmt0 _AND
+ FILE * fp,
+ _CONST char *fmt0,
va_list ap)
{
int result;
@@ -472,9 +472,9 @@ _EXFUN(vfiprintf, (FILE *, const char *, __VALIST)
int
_DEFUN(_VFPRINTF_R, (data, fp, fmt0, ap),
- struct _reent *data _AND
- FILE * fp _AND
- _CONST char *fmt0 _AND
+ struct _reent *data,
+ FILE * fp,
+ _CONST char *fmt0,
va_list ap)
{
register char *fmt; /* Format string. */
@@ -136,8 +136,8 @@ Supporting OS subroutines required:
int
_DEFUN(VFSCANF, (fp, fmt, ap),
- register FILE *fp _AND
- _CONST char *fmt _AND
+ register FILE *fp,
+ _CONST char *fmt,
va_list ap)
{
CHECK_INIT(_REENT, fp);
@@ -150,8 +150,8 @@ _EXFUN(vfiscanf, (FILE *, const char *, __VALIST)
int
_DEFUN(__SVFSCANF, (fp, fmt0, ap),
- register FILE *fp _AND
- char _CONST *fmt0 _AND
+ register FILE *fp,
+ char _CONST *fmt0,
va_list ap)
{
return __SVFSCANF_R (_REENT, fp, fmt0, ap);
@@ -161,9 +161,9 @@ _DEFUN(__SVFSCANF, (fp, fmt0, ap),
int
_DEFUN(_VFSCANF_R, (data, fp, fmt, ap),
- struct _reent *data _AND
- register FILE *fp _AND
- _CONST char *fmt _AND
+ struct _reent *data,
+ register FILE *fp,
+ _CONST char *fmt,
va_list ap)
{
CHECK_INIT(data, fp);
@@ -181,8 +181,8 @@ _EXFUN(_vfiscanf_r, (struct _reent *, FILE *, const char *, __VALIST)
So, we create our own trimmed-down version. */
int
_DEFUN(_sungetc_r, (data, fp, ch),
- struct _reent *data _AND
- int c _AND
+ struct _reent *data,
+ int c,
register FILE *fp)
{
if (c == EOF)
@@ -230,7 +230,7 @@ _DEFUN(_sungetc_r, (data, fp, ch),
/* String only version of __srefill_r for sscanf family. */
int
_DEFUN(__ssrefill_r, (ptr, fp),
- struct _reent * ptr _AND
+ struct _reent * ptr,
register FILE * fp)
{
/* Our only hope of further input is the ungetc buffer.
@@ -260,9 +260,9 @@ size_t _EXFUN (_sfread_r, (struct _reent *, _PTR buf, size_t, size_t, FILE *));
int
_DEFUN(__SVFSCANF_R, (rptr, fp, fmt0, ap),
- struct _reent *rptr _AND
- register FILE *fp _AND
- char _CONST *fmt0 _AND
+ struct _reent *rptr,
+ register FILE *fp,
+ char _CONST *fmt0,
va_list ap)
{
register u_char *fmt = (u_char *) fmt0;
@@ -94,9 +94,9 @@ typedef struct memstream {
returning the number of bytes written or EOF on failure. */
static _READ_WRITE_RETURN_TYPE
_DEFUN(memwriter, (ptr, cookie, buf, n),
- struct _reent *ptr _AND
- void *cookie _AND
- const char *buf _AND
+ struct _reent *ptr,
+ void *cookie,
+ const char *buf,
_READ_WRITE_BUFSIZE_TYPE n)
{
memstream *c = (memstream *) cookie;
@@ -148,9 +148,9 @@ _DEFUN(memwriter, (ptr, cookie, buf, n),
COOKIE; return resulting position or fail with EOF. */
static _fpos_t
_DEFUN(memseeker, (ptr, cookie, pos, whence),
- struct _reent *ptr _AND
- void *cookie _AND
- _fpos_t pos _AND
+ struct _reent *ptr,
+ void *cookie,
+ _fpos_t pos,
int whence)
{
memstream *c = (memstream *) cookie;
@@ -216,9 +216,9 @@ _DEFUN(memseeker, (ptr, cookie, pos, whence),
#ifdef __LARGE64_FILES
static _fpos64_t
_DEFUN(memseeker64, (ptr, cookie, pos, whence),
- struct _reent *ptr _AND
- void *cookie _AND
- _fpos64_t pos _AND
+ struct _reent *ptr,
+ void *cookie,
+ _fpos64_t pos,
int whence)
{
_off64_t offset = (_off64_t) pos;
@@ -276,7 +276,7 @@ _DEFUN(memseeker64, (ptr, cookie, pos, whence),
/* Reclaim resources used by stream described by COOKIE. */
static int
_DEFUN(memcloser, (ptr, cookie),
- struct _reent *ptr _AND
+ struct _reent *ptr,
void *cookie)
{
memstream *c = (memstream *) cookie;
@@ -296,9 +296,9 @@ _DEFUN(memcloser, (ptr, cookie),
Return the new stream, or fail with NULL. */
static FILE *
_DEFUN(internal_open_memstream_r, (ptr, buf, size, wide),
- struct _reent *ptr _AND
- char **buf _AND
- size_t *size _AND
+ struct _reent *ptr,
+ char **buf,
+ size_t *size,
int wide)
{
FILE *fp;
@@ -379,8 +379,8 @@ _DEFUN(internal_open_memstream_r, (ptr, buf, size, wide),
FILE *
_DEFUN(_open_memstream_r, (ptr, buf, size),
- struct _reent *ptr _AND
- char **buf _AND
+ struct _reent *ptr,
+ char **buf,
size_t *size)
{
return internal_open_memstream_r (ptr, buf, size, -1);
@@ -388,8 +388,8 @@ _DEFUN(_open_memstream_r, (ptr, buf, size),
FILE *
_DEFUN(_open_wmemstream_r, (ptr, buf, size),
- struct _reent *ptr _AND
- wchar_t **buf _AND
+ struct _reent *ptr,
+ wchar_t **buf,
size_t *size)
{
return internal_open_memstream_r (ptr, (char **)buf, size, 1);
@@ -398,7 +398,7 @@ _DEFUN(_open_wmemstream_r, (ptr, buf, size),
#ifndef _REENT_ONLY
FILE *
_DEFUN(open_memstream, (buf, size),
- char **buf _AND
+ char **buf,
size_t *size)
{
return _open_memstream_r (_REENT, buf, size);
@@ -406,7 +406,7 @@ _DEFUN(open_memstream, (buf, size),
FILE *
_DEFUN(open_wmemstream, (buf, size),
- wchar_t **buf _AND
+ wchar_t **buf,
size_t *size)
{
return _open_wmemstream_r (_REENT, buf, size);
@@ -60,7 +60,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
_VOID
_DEFUN(_perror_r, (ptr, s),
- struct _reent *ptr _AND
+ struct _reent *ptr,
_CONST char *s)
{
char *error;
@@ -24,7 +24,7 @@
int
_DEFUN(_printf_r, (ptr, fmt),
- struct _reent *ptr _AND
+ struct _reent *ptr,
const char *__restrict fmt _DOTS)
{
int ret;
@@ -79,8 +79,8 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(_putc_r, (ptr, c, fp),
- struct _reent *ptr _AND
- int c _AND
+ struct _reent *ptr,
+ int c,
register FILE *fp)
{
int result;
@@ -94,7 +94,7 @@ _DEFUN(_putc_r, (ptr, c, fp),
#ifndef _REENT_ONLY
int
_DEFUN(putc, (c, fp),
- int c _AND
+ int c,
register FILE *fp)
{
#if !defined(PREFER_SIZE_OVER_SPEED) && !defined(__OPTIMIZE_SIZE__)
@@ -71,8 +71,8 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(_putc_unlocked_r, (ptr, c, fp),
- struct _reent *ptr _AND
- int c _AND
+ struct _reent *ptr,
+ int c,
register FILE *fp)
{
/* CHECK_INIT is (eventually) called by __swbuf. */
@@ -83,7 +83,7 @@ _DEFUN(_putc_unlocked_r, (ptr, c, fp),
#ifndef _REENT_ONLY
int
_DEFUN(putc_unlocked, (c, fp),
- int c _AND
+ int c,
register FILE *fp)
{
/* CHECK_INIT is (eventually) called by __swbuf. */
@@ -68,7 +68,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(_putchar_r, (ptr, c),
- struct _reent *ptr _AND
+ struct _reent *ptr,
int c)
{
_REENT_SMALL_CHECK_INIT (ptr);
@@ -62,7 +62,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(_putchar_unlocked_r, (ptr, c),
- struct _reent *ptr _AND
+ struct _reent *ptr,
int c)
{
return putc_unlocked (c, _stdout_r (ptr));
@@ -66,7 +66,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(_puts_r, (ptr, s),
- struct _reent *ptr _AND
+ struct _reent *ptr,
_CONST char * s)
{
#ifdef _FVWRITE_IN_STREAMIO
@@ -50,7 +50,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(putw, (w, fp),
- int w _AND
+ int w,
register FILE *fp)
{
if (fwrite ((_CONST char*)&w, sizeof (w), 1, fp) != 1)
@@ -34,8 +34,8 @@
wint_t
_DEFUN(_putwc_r, (ptr, wc, fp),
- struct _reent *ptr _AND
- wchar_t wc _AND
+ struct _reent *ptr,
+ wchar_t wc,
FILE *fp)
{
return _fputwc_r (ptr, wc, fp);
@@ -46,7 +46,7 @@ _DEFUN(_putwc_r, (ptr, wc, fp),
*/
wint_t
_DEFUN(putwc, (wc, fp),
- wchar_t wc _AND
+ wchar_t wc,
FILE *fp)
{
return fputwc (wc, fp);
@@ -35,8 +35,8 @@
wint_t
_DEFUN(_putwc_unlocked_r, (ptr, wc, fp),
- struct _reent *ptr _AND
- wchar_t wc _AND
+ struct _reent *ptr,
+ wchar_t wc,
FILE *fp)
{
return _fputwc_unlocked_r (ptr, wc, fp);
@@ -47,7 +47,7 @@ _DEFUN(_putwc_unlocked_r, (ptr, wc, fp),
*/
wint_t
_DEFUN(putwc_unlocked, (wc, fp),
- wchar_t wc _AND
+ wchar_t wc,
FILE *fp)
{
return fputwc_unlocked (wc, fp);
@@ -88,7 +88,7 @@ PORTABILITY
wint_t
_DEFUN(_putwchar_r, (ptr, wc),
- struct _reent *ptr _AND
+ struct _reent *ptr,
wchar_t wc)
{
return _fputwc_r (ptr, wc, stdout);
@@ -35,7 +35,7 @@
wint_t
_DEFUN(_putwchar_unlocked_r, (ptr, wc),
- struct _reent *ptr _AND
+ struct _reent *ptr,
wchar_t wc)
{
return _fputwc_unlocked_r (ptr, wc, stdout);
@@ -38,7 +38,7 @@ _DEFUN(lflush, (fp),
int
_DEFUN(__srefill_r, (ptr, fp),
- struct _reent * ptr _AND
+ struct _reent * ptr,
register FILE * fp)
{
/* make sure stdio is set up */
@@ -60,7 +60,7 @@ Supporting OS subroutine required: <<unlink>>.
int
_DEFUN(_remove_r, (ptr, filename),
- struct _reent *ptr _AND
+ struct _reent *ptr,
_CONST char *filename)
{
if (_unlink_r (ptr, filename) == -1)
@@ -55,7 +55,7 @@ Supporting OS subroutines required: <<link>>, <<unlink>>, or <<rename>>.
int
_DEFUN(rename, (old, new),
- _CONST char *old _AND
+ _CONST char *old,
_CONST char *new)
{
return _rename_r (_REENT, old, new);
@@ -53,7 +53,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
_VOID
_DEFUN(_rewind_r, (ptr, fp),
- struct _reent * ptr _AND
+ struct _reent * ptr,
register FILE * fp)
{
_CAST_VOID _fseek_r (ptr, fp, 0L, SEEK_SET);
@@ -33,7 +33,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(__srget_r, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register FILE *fp)
{
/* Ensure that any fake std stream is resolved before
@@ -32,7 +32,7 @@
u_char *
_DEFUN(__sccl, (tab, fmt),
- register char *tab _AND
+ register char *tab,
register u_char *fmt)
{
register int c, n, v;
@@ -66,7 +66,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
_VOID
_DEFUN(setbuf, (fp, buf),
- FILE *__restrict fp _AND
+ FILE *__restrict fp,
char *__restrict buf)
{
_CAST_VOID setvbuf (fp, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
@@ -66,8 +66,8 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
_VOID
_DEFUN(setbuffer, (fp, buf, size),
- FILE * fp _AND
- char *buf _AND
+ FILE * fp,
+ char *buf,
int size)
{
_CAST_VOID setvbuf (fp, buf, buf ? _IOFBF : _IONBF, (size_t) size);
@@ -89,9 +89,9 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
int
_DEFUN(setvbuf, (fp, buf, mode, size),
- register FILE * fp _AND
- char *buf _AND
- register int mode _AND
+ register FILE * fp,
+ char *buf,
+ register int mode,
register size_t size)
{
int ret = 0;
@@ -105,8 +105,8 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
int
#ifdef _HAVE_STDC
_DEFUN(_siprintf_r, (ptr, str, fmt),
- struct _reent *ptr _AND
- char *str _AND
+ struct _reent *ptr,
+ char *str,
_CONST char *fmt _DOTS)
#else
_siprintf_r(ptr, str, fmt, va_alist)
@@ -140,7 +140,7 @@ _siprintf_r(ptr, str, fmt, va_alist)
int
#ifdef _HAVE_STDC
_DEFUN(siprintf, (str, fmt),
- char *str _AND
+ char *str,
_CONST char *fmt _DOTS)
#else
siprintf(str, fmt, va_alist)
@@ -88,7 +88,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
#ifdef _HAVE_STDC
int
_DEFUN(siscanf, (str, fmt),
- _CONST char *str _AND
+ _CONST char *str,
_CONST char *fmt _DOTS)
#else
int
@@ -124,8 +124,8 @@ siscanf(str, fmt, va_alist)
#ifdef _HAVE_STDC
int
_DEFUN(_siscanf_r, (ptr, str, fmt),
- struct _reent *ptr _AND
- _CONST char *str _AND
+ struct _reent *ptr,
+ _CONST char *str,
_CONST char *fmt _DOTS)
#else
int
@@ -33,9 +33,9 @@
int
#ifdef _HAVE_STDC
_DEFUN (_sniprintf_r, (ptr, str, size, fmt),
- struct _reent *ptr _AND
- char *str _AND
- size_t size _AND
+ struct _reent *ptr,
+ char *str,
+ size_t size,
_CONST char *fmt _DOTS)
#else
_sniprintf_r (ptr, str, size, fmt, va_alist)
@@ -78,8 +78,8 @@ _sniprintf_r (ptr, str, size, fmt, va_alist)
int
#ifdef _HAVE_STDC
_DEFUN (sniprintf, (str, size, fmt),
- char *str _AND
- size_t size _AND
+ char *str,
+ size_t size,
_CONST char *fmt _DOTS)
#else
sniprintf (str, size, fmt, va_alist)
@@ -32,9 +32,9 @@
int
#ifdef _HAVE_STDC
_DEFUN(_snprintf_r, (ptr, str, size, fmt),
- struct _reent *ptr _AND
- char *__restrict str _AND
- size_t size _AND
+ struct _reent *ptr,
+ char *__restrict str,
+ size_t size,
_CONST char *__restrict fmt _DOTS)
#else
_snprintf_r(ptr, str, size, fmt, va_alist)
@@ -83,8 +83,8 @@ _EXFUN(_sniprintf_r, (struct _reent *, char *, size_t, const char *, ...)
int
#ifdef _HAVE_STDC
_DEFUN(snprintf, (str, size, fmt),
- char *__restrict str _AND
- size_t size _AND
+ char *__restrict str,
+ size_t size,
_CONST char *__restrict fmt _DOTS)
#else
snprintf(str, size, fmt, va_alist)
@@ -581,8 +581,8 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
int
#ifdef _HAVE_STDC
_DEFUN(_sprintf_r, (ptr, str, fmt),
- struct _reent *ptr _AND
- char *__restrict str _AND
+ struct _reent *ptr,
+ char *__restrict str,
_CONST char *__restrict fmt _DOTS)
#else
_sprintf_r(ptr, str, fmt, va_alist)
@@ -622,7 +622,7 @@ _EXFUN(_siprintf_r, (struct _reent *, char *, const char *, ...)
int
#ifdef _HAVE_STDC
_DEFUN(sprintf, (str, fmt),
- char *__restrict str _AND
+ char *__restrict str,
_CONST char *__restrict fmt _DOTS)
#else
sprintf(str, fmt, va_alist)
@@ -427,7 +427,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
#ifdef _HAVE_STDC
int
_DEFUN(sscanf, (str, fmt),
- _CONST char *__restrict str _AND
+ _CONST char *__restrict str,
_CONST char * fmt _DOTS)
#else
int
@@ -469,8 +469,8 @@ _EXFUN(siscanf, (const char *, const char *, ...)
#ifdef _HAVE_STDC
int
_DEFUN(_sscanf_r, (ptr, str, fmt),
- struct _reent *ptr _AND
- _CONST char *__restrict str _AND
+ struct _reent *ptr,
+ _CONST char *__restrict str,
_CONST char *__restrict fmt _DOTS)
#else
int
@@ -31,9 +31,9 @@
_READ_WRITE_RETURN_TYPE
_DEFUN(__sread, (ptr, cookie, buf, n),
- struct _reent *ptr _AND
- void *cookie _AND
- char *buf _AND
+ struct _reent *ptr,
+ void *cookie,
+ char *buf,
_READ_WRITE_BUFSIZE_TYPE n)
{
register FILE *fp = (FILE *) cookie;
@@ -64,9 +64,9 @@ _DEFUN(__sread, (ptr, cookie, buf, n),
/* Dummy function used in sscanf/swscanf. */
_READ_WRITE_RETURN_TYPE
_DEFUN(__seofread, (ptr, cookie, buf, len),
- struct _reent *_ptr _AND
- _PTR cookie _AND
- char *buf _AND
+ struct _reent *_ptr,
+ _PTR cookie,
+ char *buf,
_READ_WRITE_BUFSIZE_TYPE len)
{
return 0;
@@ -74,9 +74,9 @@ _DEFUN(__seofread, (ptr, cookie, buf, len),
_READ_WRITE_RETURN_TYPE
_DEFUN(__swrite, (ptr, cookie, buf, n),
- struct _reent *ptr _AND
- void *cookie _AND
- char const *buf _AND
+ struct _reent *ptr,
+ void *cookie,
+ char const *buf,
_READ_WRITE_BUFSIZE_TYPE n)
{
register FILE *fp = (FILE *) cookie;
@@ -106,9 +106,9 @@ _DEFUN(__swrite, (ptr, cookie, buf, n),
_fpos_t
_DEFUN(__sseek, (ptr, cookie, offset, whence),
- struct _reent *ptr _AND
- void *cookie _AND
- _fpos_t offset _AND
+ struct _reent *ptr,
+ void *cookie,
+ _fpos_t offset,
int whence)
{
register FILE *fp = (FILE *) cookie;
@@ -127,7 +127,7 @@ _DEFUN(__sseek, (ptr, cookie, offset, whence),
int
_DEFUN(__sclose, (ptr, cookie),
- struct _reent *ptr _AND
+ struct _reent *ptr,
void *cookie)
{
FILE *fp = (FILE *) cookie;
@@ -554,9 +554,9 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
int
_DEFUN(_swprintf_r, (ptr, str, size, fmt),
- struct _reent *ptr _AND
- wchar_t *str _AND
- size_t size _AND
+ struct _reent *ptr,
+ wchar_t *str,
+ size_t size,
_CONST wchar_t *fmt _DOTS)
{
int ret;
@@ -595,8 +595,8 @@ _DEFUN(_swprintf_r, (ptr, str, size, fmt),
int
_DEFUN(swprintf, (str, size, fmt),
- wchar_t *__restrict str _AND
- size_t size _AND
+ wchar_t *__restrict str,
+ size_t size,
_CONST wchar_t *__restrict fmt _DOTS)
{
int ret;
@@ -87,11 +87,11 @@ The global pointer <<environ>> is also required.
static int
_DEFUN(worker, (ptr, result, part1, part2, part3, part4),
- struct _reent *ptr _AND
- char *result _AND
- _CONST char *part1 _AND
- _CONST char *part2 _AND
- int part3 _AND
+ struct _reent *ptr,
+ char *result,
+ _CONST char *part1,
+ _CONST char *part2,
+ int part3,
int *part4)
{
/* Generate the filename and make sure that there isn't one called
@@ -119,7 +119,7 @@ _DEFUN(worker, (ptr, result, part1, part2, part3, part4),
char *
_DEFUN(_tmpnam_r, (p, s),
- struct _reent *p _AND
+ struct _reent *p,
char *s)
{
char *result;
@@ -148,8 +148,8 @@ _DEFUN(_tmpnam_r, (p, s),
char *
_DEFUN(_tempnam_r, (p, dir, pfx),
- struct _reent *p _AND
- _CONST char *dir _AND
+ struct _reent *p,
+ _CONST char *dir,
_CONST char *pfx)
{
char *filename;
@@ -175,7 +175,7 @@ _DEFUN(_tempnam_r, (p, dir, pfx),
char *
_DEFUN(tempnam, (dir, pfx),
- _CONST char *dir _AND
+ _CONST char *dir,
_CONST char *pfx)
{
return _tempnam_r (_REENT, dir, pfx);
@@ -78,7 +78,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
/*static*/
int
_DEFUN(__submore, (rptr, fp),
- struct _reent *rptr _AND
+ struct _reent *rptr,
register FILE *fp)
{
register int i;
@@ -112,8 +112,8 @@ _DEFUN(__submore, (rptr, fp),
int
_DEFUN(_ungetc_r, (rptr, c, fp),
- struct _reent *rptr _AND
- int c _AND
+ struct _reent *rptr,
+ int c,
register FILE *fp)
{
if (c == EOF)
@@ -209,7 +209,7 @@ _DEFUN(_ungetc_r, (rptr, c, fp),
#ifndef _REENT_ONLY
int
_DEFUN(ungetc, (c, fp),
- int c _AND
+ int c,
register FILE *fp)
{
return _ungetc_r (_REENT, c, fp);
@@ -75,8 +75,8 @@ C99
wint_t
_DEFUN(_ungetwc_r, (ptr, wc, fp),
- struct _reent *ptr _AND
- wint_t wc _AND
+ struct _reent *ptr,
+ wint_t wc,
register FILE *fp)
{
char buf[MB_LEN_MAX];
@@ -107,7 +107,7 @@ _DEFUN(_ungetwc_r, (ptr, wc, fp),
*/
wint_t
_DEFUN(ungetwc, (wint_t wc, FILE *fp),
- wint_t wc _AND
+ wint_t wc,
FILE *fp)
{
struct _reent *reent = _REENT;
@@ -32,8 +32,8 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(vasiprintf, (strp, fmt, ap),
- char **strp _AND
- const char *fmt _AND
+ char **strp,
+ const char *fmt,
va_list ap)
{
return _vasiprintf_r (_REENT, strp, fmt, ap);
@@ -43,9 +43,9 @@ _DEFUN(vasiprintf, (strp, fmt, ap),
int
_DEFUN(_vasiprintf_r, (ptr, strp, fmt, ap),
- struct _reent *ptr _AND
- char **strp _AND
- const char *fmt _AND
+ struct _reent *ptr,
+ char **strp,
+ const char *fmt,
va_list ap)
{
int ret;
@@ -15,10 +15,10 @@
char *
_DEFUN(_vasniprintf_r, (ptr, buf, lenp, fmt, ap),
- struct _reent *ptr _AND
- char *buf _AND
- size_t *lenp _AND
- const char *fmt _AND
+ struct _reent *ptr,
+ char *buf,
+ size_t *lenp,
+ const char *fmt,
va_list ap)
{
int ret;
@@ -60,9 +60,9 @@ _DEFUN(_vasniprintf_r, (ptr, buf, lenp, fmt, ap),
char *
_DEFUN(vasniprintf, (buf, lenp, fmt, ap),
- char *buf _AND
- size_t *lenp _AND
- const char *fmt _AND
+ char *buf,
+ size_t *lenp,
+ const char *fmt,
va_list ap)
{
return _vasniprintf_r (_REENT, buf, lenp, fmt, ap);
@@ -15,10 +15,10 @@
char *
_DEFUN(_vasnprintf_r, (ptr, buf, lenp, fmt, ap),
- struct _reent *ptr _AND
- char *buf _AND
- size_t *lenp _AND
- const char *fmt _AND
+ struct _reent *ptr,
+ char *buf,
+ size_t *lenp,
+ const char *fmt,
va_list ap)
{
int ret;
@@ -67,9 +67,9 @@ _EXFUN(_vasniprintf_r, (struct _reent*, char *, size_t *,
char *
_DEFUN(vasnprintf, (buf, lenp, fmt, ap),
- char *buf _AND
- size_t *lenp _AND
- const char *fmt _AND
+ char *buf,
+ size_t *lenp,
+ const char *fmt,
va_list ap)
{
return _vasnprintf_r (_REENT, buf, lenp, fmt, ap);
@@ -32,8 +32,8 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(vasprintf, (strp, fmt, ap),
- char **strp _AND
- const char *fmt _AND
+ char **strp,
+ const char *fmt,
va_list ap)
{
return _vasprintf_r (_REENT, strp, fmt, ap);
@@ -49,9 +49,9 @@ _EXFUN(vasiprintf, (char **, const char *, __VALIST)
int
_DEFUN(_vasprintf_r, (ptr, strp, fmt, ap),
- struct _reent *ptr _AND
- char **strp _AND
- const char *fmt _AND
+ struct _reent *ptr,
+ char **strp,
+ const char *fmt,
va_list ap)
{
int ret;
@@ -14,9 +14,9 @@
int
_DEFUN(_vdiprintf_r, (ptr, fd, format, ap),
- struct _reent *ptr _AND
- int fd _AND
- const char *format _AND
+ struct _reent *ptr,
+ int fd,
+ const char *format,
va_list ap)
{
char *p;
@@ -37,8 +37,8 @@ _DEFUN(_vdiprintf_r, (ptr, fd, format, ap),
int
_DEFUN(vdiprintf, (fd, format, ap),
- int fd _AND
- const char *format _AND
+ int fd,
+ const char *format,
va_list ap)
{
return _vdiprintf_r (_REENT, fd, format, ap);
@@ -14,9 +14,9 @@
int
_DEFUN(_vdprintf_r, (ptr, fd, format, ap),
- struct _reent *ptr _AND
- int fd _AND
- const char *__restrict format _AND
+ struct _reent *ptr,
+ int fd,
+ const char *__restrict format,
va_list ap)
{
char *p;
@@ -43,8 +43,8 @@ _EXFUN(_vdiprintf_r, (struct _reent *, int, const char *, __VALIST)
int
_DEFUN(vdprintf, (fd, format, ap),
- int fd _AND
- const char *__restrict format _AND
+ int fd,
+ const char *__restrict format,
va_list ap)
{
return _vdprintf_r (_REENT, fd, format, ap);
@@ -199,9 +199,9 @@ static char *rcsid = "$Id$";
#ifndef _FVWRITE_IN_STREAMIO
int
_DEFUN(__ssputs_r, (ptr, fp, buf, len),
- struct _reent *ptr _AND
- FILE *fp _AND
- _CONST char *buf _AND
+ struct _reent *ptr,
+ FILE *fp,
+ _CONST char *buf,
size_t len)
{
register int w;
@@ -268,8 +268,8 @@ err:
int
_DEFUN(__ssprint_r, (ptr, fp, uio),
- struct _reent *ptr _AND
- FILE *fp _AND
+ struct _reent *ptr,
+ FILE *fp,
register struct __suio *uio)
{
register size_t len;
@@ -370,9 +370,9 @@ int __ssprint_r (struct _reent *, FILE *, register struct __suio *);
#ifndef _FVWRITE_IN_STREAMIO
int
_DEFUN(__sfputs_r, (ptr, fp, buf, len),
- struct _reent *ptr _AND
- FILE *fp _AND
- _CONST char *buf _AND
+ struct _reent *ptr,
+ FILE *fp,
+ _CONST char *buf,
size_t len)
{
register int i;
@@ -404,8 +404,8 @@ _DEFUN(__sfputs_r, (ptr, fp, buf, len),
*/
int
_DEFUN(__sprint_r, (ptr, fp, uio),
- struct _reent *ptr _AND
- FILE *fp _AND
+ struct _reent *ptr,
+ FILE *fp,
register struct __suio *uio)
{
register int err = 0;
@@ -457,9 +457,9 @@ int __sprint_r (struct _reent *, FILE *, register struct __suio *);
*/
_NOINLINE_STATIC int
_DEFUN(__sbprintf, (rptr, fp, fmt, ap),
- struct _reent *rptr _AND
- register FILE *fp _AND
- _CONST char *fmt _AND
+ struct _reent *rptr,
+ register FILE *fp,
+ _CONST char *fmt,
va_list ap)
{
int ret;
@@ -649,8 +649,8 @@ int _EXFUN(_VFPRINTF_R, (struct _reent *, FILE *, _CONST char *, va_list));
#ifndef STRING_ONLY
int
_DEFUN(VFPRINTF, (fp, fmt0, ap),
- FILE * fp _AND
- _CONST char *fmt0 _AND
+ FILE * fp,
+ _CONST char *fmt0,
va_list ap)
{
int result;
@@ -661,9 +661,9 @@ _DEFUN(VFPRINTF, (fp, fmt0, ap),
int
_DEFUN(_VFPRINTF_R, (data, fp, fmt0, ap),
- struct _reent *data _AND
- FILE * fp _AND
- _CONST char *fmt0 _AND
+ struct _reent *data,
+ FILE * fp,
+ _CONST char *fmt0,
va_list ap)
{
register char *fmt; /* format string */
@@ -2044,13 +2044,13 @@ _CONST __ACTION __action_table[MAX_STATE][MAX_CH_CLASS] = {
/* function to get positional parameter N where n = N - 1 */
static union arg_val *
_DEFUN(get_arg, (data, n, fmt, ap, numargs_p, args, arg_type, last_fmt),
- struct _reent *data _AND
- int n _AND
- char *fmt _AND
- va_list *ap _AND
- int *numargs_p _AND
- union arg_val *args _AND
- int *arg_type _AND
+ struct _reent *data,
+ int n,
+ char *fmt,
+ va_list *ap,
+ int *numargs_p,
+ union arg_val *args,
+ int *arg_type,
char **last_fmt)
{
int ch;
@@ -225,8 +225,8 @@ typedef unsigned long long u_long_long;
int
_DEFUN(VFSCANF, (fp, fmt, ap),
- register FILE *fp _AND
- _CONST char *fmt _AND
+ register FILE *fp,
+ _CONST char *fmt,
va_list ap)
{
struct _reent *reent = _REENT;
@@ -237,8 +237,8 @@ _DEFUN(VFSCANF, (fp, fmt, ap),
int
_DEFUN(__SVFSCANF, (fp, fmt0, ap),
- register FILE *fp _AND
- char _CONST *fmt0 _AND
+ register FILE *fp,
+ char _CONST *fmt0,
va_list ap)
{
return __SVFSCANF_R (_REENT, fp, fmt0, ap);
@@ -248,9 +248,9 @@ _DEFUN(__SVFSCANF, (fp, fmt0, ap),
int
_DEFUN(_VFSCANF_R, (data, fp, fmt, ap),
- struct _reent *data _AND
- register FILE *fp _AND
- _CONST char *fmt _AND
+ struct _reent *data,
+ register FILE *fp,
+ _CONST char *fmt,
va_list ap)
{
CHECK_INIT(data, fp);
@@ -264,8 +264,8 @@ _DEFUN(_VFSCANF_R, (data, fp, fmt, ap),
* So, we create our own trimmed-down version. */
int
_DEFUN(_sungetc_r, (data, fp, ch),
- struct _reent *data _AND
- int c _AND
+ struct _reent *data,
+ int c,
register FILE *fp)
{
if (c == EOF)
@@ -322,7 +322,7 @@ _DEFUN(_sungetc_r, (data, fp, ch),
/* String only version of __srefill_r for sscanf family. */
int
_DEFUN(__ssrefill_r, (ptr, fp),
- struct _reent * ptr _AND
+ struct _reent * ptr,
register FILE * fp)
{
/*
@@ -348,10 +348,10 @@ _DEFUN(__ssrefill_r, (ptr, fp),
size_t
_DEFUN(_sfread_r, (ptr, buf, size, count, fp),
- struct _reent * ptr _AND
- _PTR buf _AND
- size_t size _AND
- size_t count _AND
+ struct _reent * ptr,
+ _PTR buf,
+ size_t size,
+ size_t count,
FILE * fp)
{
register size_t resid;
@@ -403,9 +403,9 @@ __wctob (struct _reent *rptr, wint_t wc)
int
_DEFUN(__SVFSCANF_R, (rptr, fp, fmt0, ap),
- struct _reent *rptr _AND
- register FILE *fp _AND
- char _CONST *fmt0 _AND
+ struct _reent *rptr,
+ register FILE *fp,
+ char _CONST *fmt0,
va_list ap)
{
register u_char *fmt = (u_char *) fmt0;
@@ -175,9 +175,9 @@ int _EXFUN(__SPRINT, (struct _reent *, FILE *, _CONST char *, size_t));
*/
static int
_DEFUN(__sbwprintf, (rptr, fp, fmt, ap),
- struct _reent *rptr _AND
- register FILE *fp _AND
- _CONST wchar_t *fmt _AND
+ struct _reent *rptr,
+ register FILE *fp,
+ _CONST wchar_t *fmt,
va_list ap)
{
int ret;
@@ -367,8 +367,8 @@ _EXFUN(get_arg, (struct _reent *data, int n, wchar_t *fmt,
#ifndef STRING_ONLY
int
_DEFUN(VFWPRINTF, (fp, fmt0, ap),
- FILE *__restrict fp _AND
- _CONST wchar_t *__restrict fmt0 _AND
+ FILE *__restrict fp,
+ _CONST wchar_t *__restrict fmt0,
va_list ap)
{
int result;
@@ -379,9 +379,9 @@ _DEFUN(VFWPRINTF, (fp, fmt0, ap),
int
_DEFUN(_VFWPRINTF_R, (data, fp, fmt0, ap),
- struct _reent *data _AND
- FILE * fp _AND
- _CONST wchar_t *fmt0 _AND
+ struct _reent *data,
+ FILE * fp,
+ _CONST wchar_t *fmt0,
va_list ap)
{
register wchar_t *fmt; /* format string */
@@ -1735,13 +1735,13 @@ wexponent(wchar_t *p0, int exp, int fmtch)
/* function to get positional parameter N where n = N - 1 */
static union arg_val *
_DEFUN(get_arg, (data, n, fmt, ap, numargs_p, args, arg_type, last_fmt),
- struct _reent *data _AND
- int n _AND
- wchar_t *fmt _AND
- va_list *ap _AND
- int *numargs_p _AND
- union arg_val *args _AND
- int *arg_type _AND
+ struct _reent *data,
+ int n,
+ wchar_t *fmt,
+ va_list *ap,
+ int *numargs_p,
+ union arg_val *args,
+ int *arg_type,
wchar_t **last_fmt)
{
wchar_t ch;
@@ -227,8 +227,8 @@ static void * get_arg (int, va_list *, int *, void **);
int
_DEFUN(VFWSCANF, (fp, fmt, ap),
- register FILE *__restrict fp _AND
- _CONST wchar_t *__restrict fmt _AND
+ register FILE *__restrict fp,
+ _CONST wchar_t *__restrict fmt,
va_list ap)
{
struct _reent *reent = _REENT;
@@ -239,8 +239,8 @@ _DEFUN(VFWSCANF, (fp, fmt, ap),
int
_DEFUN(__SVFWSCANF, (fp, fmt0, ap),
- register FILE *fp _AND
- wchar_t _CONST *fmt0 _AND
+ register FILE *fp,
+ wchar_t _CONST *fmt0,
va_list ap)
{
return __SVFWSCANF_R (_REENT, fp, fmt0, ap);
@@ -250,9 +250,9 @@ _DEFUN(__SVFWSCANF, (fp, fmt0, ap),
int
_DEFUN(_VFWSCANF_R, (data, fp, fmt, ap),
- struct _reent *data _AND
- register FILE *fp _AND
- _CONST wchar_t *fmt _AND
+ struct _reent *data,
+ register FILE *fp,
+ _CONST wchar_t *fmt,
va_list ap)
{
CHECK_INIT(data, fp);
@@ -266,8 +266,8 @@ _DEFUN(_VFWSCANF_R, (data, fp, fmt, ap),
* So, we create our own trimmed-down version. */
static wint_t
_DEFUN(_sungetwc_r, (data, fp, ch),
- struct _reent *data _AND
- wint_t wc _AND
+ struct _reent *data,
+ wint_t wc,
register FILE *fp)
{
if (wc == WEOF)
@@ -326,7 +326,7 @@ extern int __ssrefill_r _PARAMS ((struct _reent *ptr, register FILE * fp));
static size_t
_DEFUN(_sfgetwc_r, (ptr, fp),
- struct _reent * ptr _AND
+ struct _reent * ptr,
FILE * fp)
{
wchar_t wc;
@@ -342,9 +342,9 @@ _DEFUN(_sfgetwc_r, (ptr, fp),
int
_DEFUN(__SVFWSCANF_R, (rptr, fp, fmt0, ap),
- struct _reent *rptr _AND
- register FILE *fp _AND
- wchar_t _CONST *fmt0 _AND
+ struct _reent *rptr,
+ register FILE *fp,
+ wchar_t _CONST *fmt0,
va_list ap)
{
register wchar_t *fmt = (wchar_t *) fmt0;
@@ -106,7 +106,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
int
_DEFUN(viprintf, (fmt, ap),
- _CONST char *fmt _AND
+ _CONST char *fmt,
va_list ap)
{
struct _reent *reent = _REENT;
@@ -119,8 +119,8 @@ _DEFUN(viprintf, (fmt, ap),
int
_DEFUN(_viprintf_r, (ptr, fmt, ap),
- struct _reent *ptr _AND
- _CONST char *fmt _AND
+ struct _reent *ptr,
+ _CONST char *fmt,
va_list ap)
{
_REENT_SMALL_CHECK_INIT (ptr);
@@ -90,7 +90,7 @@ Supporting OS subroutines required:
int
_DEFUN(viscanf, (fmt, ap),
- _CONST char *fmt _AND
+ _CONST char *fmt,
va_list ap)
{
struct _reent *reent = _REENT;
@@ -103,8 +103,8 @@ _DEFUN(viscanf, (fmt, ap),
int
_DEFUN(_viscanf_r, (ptr, fmt, ap),
- struct _reent *ptr _AND
- _CONST char *fmt _AND
+ struct _reent *ptr,
+ _CONST char *fmt,
va_list ap)
{
_REENT_SMALL_CHECK_INIT (ptr);
@@ -30,7 +30,7 @@
int
_DEFUN(vprintf, (fmt, ap),
- _CONST char *fmt _AND
+ _CONST char *fmt,
va_list ap)
{
struct _reent *reent = _REENT;
@@ -48,8 +48,8 @@ _EXFUN(viprintf, (const char *, __VALIST) _ATTRIBUTE ((__alias__("vprintf"))));
int
_DEFUN(_vprintf_r, (ptr, fmt, ap),
- struct _reent *ptr _AND
- _CONST char *__restrict fmt _AND
+ struct _reent *ptr,
+ _CONST char *__restrict fmt,
va_list ap)
{
_REENT_SMALL_CHECK_INIT (ptr);
@@ -31,7 +31,7 @@
int
_DEFUN(vscanf, (fmt, ap),
- _CONST char *fmt _AND
+ _CONST char *fmt,
va_list ap)
{
struct _reent *reent = _REENT;
@@ -49,8 +49,8 @@ _EXFUN(viscanf, (const char *, __VALIST) _ATTRIBUTE ((__alias__("vscanf"))));
int
_DEFUN(_vscanf_r, (ptr, fmt, ap),
- struct _reent *ptr _AND
- _CONST char *__restrict fmt _AND
+ struct _reent *ptr,
+ _CONST char *__restrict fmt,
va_list ap)
{
_REENT_SMALL_CHECK_INIT (ptr);
@@ -32,8 +32,8 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(vsiprintf, (str, fmt, ap),
- char *str _AND
- const char *fmt _AND
+ char *str,
+ const char *fmt,
va_list ap)
{
return _vsiprintf_r (_REENT, str, fmt, ap);
@@ -43,9 +43,9 @@ _DEFUN(vsiprintf, (str, fmt, ap),
int
_DEFUN(_vsiprintf_r, (ptr, str, fmt, ap),
- struct _reent *ptr _AND
- char *str _AND
- const char *fmt _AND
+ struct _reent *ptr,
+ char *str,
+ const char *fmt,
va_list ap)
{
int ret;
@@ -36,8 +36,8 @@
int
_DEFUN(vsiscanf, (str, fmt, ap),
- _CONST char *str _AND
- _CONST char *fmt _AND
+ _CONST char *str,
+ _CONST char *fmt,
va_list ap)
{
return _vsiscanf_r (_REENT, str, fmt, ap);
@@ -47,9 +47,9 @@ _DEFUN(vsiscanf, (str, fmt, ap),
int
_DEFUN(_vsiscanf_r, (ptr, str, fmt, ap),
- struct _reent *ptr _AND
- _CONST char *str _AND
- _CONST char *fmt _AND
+ struct _reent *ptr,
+ _CONST char *str,
+ _CONST char *fmt,
va_list ap)
{
FILE f;
@@ -33,9 +33,9 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(vsniprintf, (str, size, fmt, ap),
- char *str _AND
- size_t size _AND
- const char *fmt _AND
+ char *str,
+ size_t size,
+ const char *fmt,
va_list ap)
{
return _vsniprintf_r (_REENT, str, size, fmt, ap);
@@ -45,10 +45,10 @@ _DEFUN(vsniprintf, (str, size, fmt, ap),
int
_DEFUN(_vsniprintf_r, (ptr, str, size, fmt, ap),
- struct _reent *ptr _AND
- char *str _AND
- size_t size _AND
- const char *fmt _AND
+ struct _reent *ptr,
+ char *str,
+ size_t size,
+ const char *fmt,
va_list ap)
{
int ret;
@@ -33,9 +33,9 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(vsnprintf, (str, size, fmt, ap),
- char *__restrict str _AND
- size_t size _AND
- const char *__restrict fmt _AND
+ char *__restrict str,
+ size_t size,
+ const char *__restrict fmt,
va_list ap)
{
return _vsnprintf_r (_REENT, str, size, fmt, ap);
@@ -51,10 +51,10 @@ _EXFUN(vsniprintf, (char *, size_t, const char *, __VALIST)
int
_DEFUN(_vsnprintf_r, (ptr, str, size, fmt, ap),
- struct _reent *ptr _AND
- char *__restrict str _AND
- size_t size _AND
- const char *__restrict fmt _AND
+ struct _reent *ptr,
+ char *__restrict str,
+ size_t size,
+ const char *__restrict fmt,
va_list ap)
{
int ret;
@@ -32,8 +32,8 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(vsprintf, (str, fmt, ap),
- char *__restrict str _AND
- const char *__restrict fmt _AND
+ char *__restrict str,
+ const char *__restrict fmt,
va_list ap)
{
return _vsprintf_r (_REENT, str, fmt, ap);
@@ -49,9 +49,9 @@ _EXFUN(vsiprintf, (char *, const char *, __VALIST)
int
_DEFUN(_vsprintf_r, (ptr, str, fmt, ap),
- struct _reent *ptr _AND
- char *__restrict str _AND
- const char *__restrict fmt _AND
+ struct _reent *ptr,
+ char *__restrict str,
+ const char *__restrict fmt,
va_list ap)
{
int ret;
@@ -36,8 +36,8 @@
int
_DEFUN(vsscanf, (str, fmt, ap),
- _CONST char *__restrict str _AND
- _CONST char *__restrict fmt _AND
+ _CONST char *__restrict str,
+ _CONST char *__restrict fmt,
va_list ap)
{
return _vsscanf_r (_REENT, str, fmt, ap);
@@ -53,9 +53,9 @@ _EXFUN(vsiscanf, (const char *, const char *, __VALIST)
int
_DEFUN(_vsscanf_r, (ptr, str, fmt, ap),
- struct _reent *ptr _AND
- _CONST char *__restrict str _AND
- _CONST char *__restrict fmt _AND
+ struct _reent *ptr,
+ _CONST char *__restrict str,
+ _CONST char *__restrict fmt,
va_list ap)
{
FILE f;
@@ -32,10 +32,10 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(_vswprintf_r, (ptr, str, size, fmt, ap),
- struct _reent *ptr _AND
- wchar_t *str _AND
- size_t size _AND
- const wchar_t *fmt _AND
+ struct _reent *ptr,
+ wchar_t *str,
+ size_t size,
+ const wchar_t *fmt,
va_list ap)
{
int ret;
@@ -71,9 +71,9 @@ _DEFUN(_vswprintf_r, (ptr, str, size, fmt, ap),
int
_DEFUN(vswprintf, (str, size, fmt, ap),
- wchar_t *__restrict str _AND
- size_t size _AND
- const wchar_t *__restrict fmt _AND
+ wchar_t *__restrict str,
+ size_t size,
+ const wchar_t *__restrict fmt,
va_list ap)
{
return _vswprintf_r (_REENT, str, size, fmt, ap);
@@ -27,7 +27,7 @@
int
_DEFUN(vwprintf, (fmt, ap),
- _CONST wchar_t *__restrict fmt _AND
+ _CONST wchar_t *__restrict fmt,
va_list ap)
{
struct _reent *reent = _REENT;
@@ -40,8 +40,8 @@ _DEFUN(vwprintf, (fmt, ap),
int
_DEFUN(_vwprintf_r, (ptr, fmt, ap),
- struct _reent *ptr _AND
- _CONST wchar_t *fmt _AND
+ struct _reent *ptr,
+ _CONST wchar_t *fmt,
va_list ap)
{
_REENT_SMALL_CHECK_INIT (ptr);
@@ -34,8 +34,8 @@ static char sccsid[] = "%W% (Berkeley) %G%";
int
_DEFUN(__swbuf_r, (ptr, c, fp),
- struct _reent *ptr _AND
- register int c _AND
+ struct _reent *ptr,
+ register int c,
register FILE *fp)
{
register int n;
@@ -89,7 +89,7 @@ _DEFUN(__swbuf_r, (ptr, c, fp),
earlier dynamically built newlib libraries. */
int
_DEFUN(__swbuf, (c, fp),
- register int c _AND
+ register int c,
register FILE *fp)
{
return __swbuf_r (_REENT, c, fp);
@@ -25,7 +25,7 @@
int
_DEFUN(_wprintf_r, (ptr, fmt),
- struct _reent *ptr _AND
+ struct _reent *ptr,
const wchar_t *fmt _DOTS)
{
int ret;
@@ -31,7 +31,7 @@
int
_DEFUN(__swsetup_r, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register FILE * fp)
{
/* Make sure stdio is set up. */
@@ -36,8 +36,8 @@ extern int __sflags ();
FILE *
_DEFUN (_fdopen64_r, (ptr, fd, mode),
- struct _reent *ptr _AND
- int fd _AND
+ struct _reent *ptr,
+ int fd,
_CONST char *mode)
{
register FILE *fp;
@@ -109,7 +109,7 @@ _DEFUN (_fdopen64_r, (ptr, fd, mode),
FILE *
_DEFUN (fdopen64, (fd, mode),
- int fd _AND
+ int fd,
_CONST char *mode)
{
return _fdopen64_r (_REENT, fd, mode);
@@ -46,8 +46,8 @@ No supporting OS subroutines are required.
int
_DEFUN (_fgetpos64_r, (ptr, fp, pos),
- struct _reent * ptr _AND
- FILE * fp _AND
+ struct _reent * ptr,
+ FILE * fp,
_fpos64_t * pos)
{
*pos = (_fpos64_t)_ftello64_r (ptr, fp);
@@ -63,7 +63,7 @@ _DEFUN (_fgetpos64_r, (ptr, fp, pos),
int
_DEFUN (fgetpos64, (fp, pos),
- FILE * fp _AND
+ FILE * fp,
_fpos64_t * pos)
{
return _fgetpos64_r (_REENT, fp, pos);
@@ -65,8 +65,8 @@ static char sccsid[] = "%W% (Berkeley) %G%";
FILE *
_DEFUN (_fopen64_r, (ptr, file, mode),
- struct _reent *ptr _AND
- _CONST char *file _AND
+ struct _reent *ptr,
+ _CONST char *file,
_CONST char *mode)
{
register FILE *fp;
@@ -118,7 +118,7 @@ _DEFUN (_fopen64_r, (ptr, file, mode),
FILE *
_DEFUN (fopen64, (file, mode),
- _CONST char *file _AND
+ _CONST char *file,
_CONST char *mode)
{
return _fopen64_r (_REENT, file, mode);
@@ -76,9 +76,9 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
FILE *
_DEFUN (_freopen64_r, (ptr, file, mode, fp),
- struct _reent *ptr _AND
- _CONST char *file _AND
- _CONST char *mode _AND
+ struct _reent *ptr,
+ _CONST char *file,
+ _CONST char *mode,
register FILE *fp)
{
register int f;
@@ -248,8 +248,8 @@ _DEFUN (_freopen64_r, (ptr, file, mode, fp),
FILE *
_DEFUN (freopen64, (file, mode, fp),
- _CONST char *file _AND
- _CONST char *mode _AND
+ _CONST char *file,
+ _CONST char *mode,
register FILE *fp)
{
return _freopen64_r (_REENT, file, mode, fp);
@@ -86,9 +86,9 @@ Supporting OS subroutines required: <<close>>, <<fstat64>>, <<isatty>>,
_off64_t
_DEFUN (_fseeko64_r, (ptr, fp, offset, whence),
- struct _reent *ptr _AND
- register FILE *fp _AND
- _off64_t offset _AND
+ struct _reent *ptr,
+ register FILE *fp,
+ _off64_t offset,
int whence)
{
_fpos64_t _EXFNPTR(seekfn, (struct _reent *, void *, _fpos64_t, int));
@@ -343,8 +343,8 @@ dumb:
_off64_t
_DEFUN (fseeko64, (fp, offset, whence),
- register FILE *fp _AND
- _off64_t offset _AND
+ register FILE *fp,
+ _off64_t offset,
int whence)
{
return _fseeko64_r (_REENT, fp, offset, whence);
@@ -42,8 +42,8 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
int
_DEFUN (_fsetpos64_r, (ptr, iop, pos),
- struct _reent *ptr _AND
- FILE * iop _AND
+ struct _reent *ptr,
+ FILE * iop,
_CONST _fpos64_t * pos)
{
int x = _fseeko64_r (ptr, iop, (_off64_t)(*pos), SEEK_SET);
@@ -57,7 +57,7 @@ _DEFUN (_fsetpos64_r, (ptr, iop, pos),
int
_DEFUN (fsetpos64, (iop, pos),
- FILE * iop _AND
+ FILE * iop,
_CONST _fpos64_t * pos)
{
return _fsetpos64_r (_REENT, iop, pos);
@@ -77,7 +77,7 @@ static char sccsid[] = "%W% (Berkeley) %G%";
_off64_t
_DEFUN (_ftello64_r, (ptr, fp),
- struct _reent *ptr _AND
+ struct _reent *ptr,
register FILE * fp)
{
_fpos64_t pos;
@@ -27,9 +27,9 @@
#ifdef __LARGE64_FILES
_fpos64_t
_DEFUN(__sseek64, (ptr, cookie, offset, whence),
- struct _reent *ptr _AND
- void *cookie _AND
- _fpos64_t offset _AND
+ struct _reent *ptr,
+ void *cookie,
+ _fpos64_t offset,
int whence)
{
register FILE *fp = (FILE *) cookie;
@@ -48,9 +48,9 @@ _DEFUN(__sseek64, (ptr, cookie, offset, whence),
_READ_WRITE_RETURN_TYPE
_DEFUN(__swrite64, (ptr, cookie, buf, n),
- struct _reent *ptr _AND
- void *cookie _AND
- char const *buf _AND
+ struct _reent *ptr,
+ void *cookie,
+ char const *buf,
_READ_WRITE_BUFSIZE_TYPE n)
{
register FILE *fp = (FILE *) cookie;
@@ -10,9 +10,9 @@
double
_DEFUN (__adjust, (ptr, acc, dexp, sign),
- struct _reent *ptr _AND
- double *acc _AND
- int dexp _AND
+ struct _reent *ptr,
+ double *acc,
+ int dexp,
int sign)
/* *acc the 64 bit accumulator */
/* dexp decimal exponent */
@@ -65,9 +65,9 @@ static struct _atexit _global_atexit0 = _ATEXIT_INIT;
int
_DEFUN (__register_exitproc,
(type, fn, arg, d),
- int type _AND
- void (*fn) (void) _AND
- void *arg _AND
+ int type,
+ void (*fn) (void),
+ void *arg,
void *d)
{
struct _on_exit_args * args;
@@ -66,7 +66,7 @@ register_fini(void)
void
_DEFUN (__call_exitprocs, (code, d),
- int code _AND _PTR d)
+ int code, _PTR d)
{
register struct _atexit *p;
struct _atexit **lastp;
@@ -10,7 +10,7 @@
int
_DEFUN (__ten_mul, (acc, digit),
- double *acc _AND
+ double *acc,
int digit)
{
/*
@@ -51,9 +51,9 @@ Supporting OS subroutines required (only if enabled): <<close>>, <<fstat>>,
/* func can be NULL, in which case no function information is given. */
void
_DEFUN (__assert_func, (file, line, func, failedexpr),
- const char *file _AND
- int line _AND
- const char *func _AND
+ const char *file,
+ int line,
+ const char *func,
const char *failedexpr)
{
fiprintf(stderr,
@@ -67,8 +67,8 @@ _DEFUN (__assert_func, (file, line, func, failedexpr),
void
_DEFUN (__assert, (file, line, failedexpr),
- const char *file _AND
- int line _AND
+ const char *file,
+ int line,
const char *failedexpr)
{
__assert_func (file, line, NULL, failedexpr);
@@ -56,7 +56,7 @@ _DEFUN (atoi, (s),
int
_DEFUN (_atoi_r, (s),
- struct _reent *ptr _AND
+ struct _reent *ptr,
_CONST char *s)
{
return (int) _strtol_r (ptr, s, NULL, 10);
@@ -14,7 +14,7 @@ _DEFUN (atol, (s), _CONST char *s)
#endif /* !_REENT_ONLY */
long
-_DEFUN (_atol_r, (ptr, s), struct _reent *ptr _AND _CONST char *s)
+_DEFUN (_atol_r, (ptr, s), struct _reent *ptr, _CONST char *s)
{
return _strtol_r (ptr, s, NULL, 10);
}
@@ -78,7 +78,7 @@ _DEFUN(atoll, (str),
long long
_DEFUN(_atoll_r, (ptr, str),
- struct _reent *ptr _AND
+ struct _reent *ptr,
_CONST char *str)
{
return _strtoll_r(ptr, str, (char **)NULL, 10);
@@ -47,7 +47,7 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
_PTR
_DEFUN (calloc, (n, size),
- size_t n _AND
+ size_t n,
size_t size)
{
return _calloc_r (_REENT, n, size);
@@ -24,8 +24,8 @@ const void * const __cxa_atexit_dummy = &__on_exit_args;
int
_DEFUN (__cxa_atexit,
(fn, arg, d),
- void (*fn) (void *) _AND
- void *arg _AND
+ void (*fn) (void *),
+ void *arg,
void *d)
{
#ifdef _LITE_EXIT
@@ -82,7 +82,7 @@ No supporting OS subroutines are required.
div_t
_DEFUN (div, (num, denom),
- int num _AND
+ int num,
int denom)
{
div_t r;
@@ -35,7 +35,7 @@
static int
_DEFUN (quorem,
(b, S),
- _Bigint * b _AND _Bigint * S)
+ _Bigint * b, _Bigint * S)
{
int n;
__Long borrow, y;
@@ -179,12 +179,12 @@ _DEFUN (quorem,
char *
_DEFUN (_dtoa_r,
(ptr, _d, mode, ndigits, decpt, sign, rve),
- struct _reent *ptr _AND
- double _d _AND
- int mode _AND
- int ndigits _AND
- int *decpt _AND
- int *sign _AND
+ struct _reent *ptr,
+ double _d,
+ int mode,
+ int ndigits,
+ int *decpt,
+ int *sign,
char **rve)
{
/* Arguments ndigits, decpt, sign are similar to those
@@ -10,11 +10,11 @@
char *
_DEFUN (__dtoa,
(d, mode, ndigits, decpt, sign, rve),
- double d _AND
- int mode _AND
- int ndigits _AND
- int *decpt _AND
- int *sign _AND
+ double d,
+ int mode,
+ int ndigits,
+ int *decpt,
+ int *sign,
char **rve)
{
return _dtoa_r (_REENT, d, mode, ndigits, decpt, sign, rve);
@@ -59,12 +59,12 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
static void
_DEFUN (print_f, (ptr, buf, invalue, ndigit, type, dot, mode),
- struct _reent *ptr _AND
- char *buf _AND
- double invalue _AND
- int ndigit _AND
- char type _AND
- int dot _AND
+ struct _reent *ptr,
+ char *buf,
+ double invalue,
+ int ndigit,
+ char type,
+ int dot,
int mode)
{
int decpt;
@@ -127,11 +127,11 @@ _DEFUN (print_f, (ptr, buf, invalue, ndigit, type, dot, mode),
static void
_DEFUN (print_e, (ptr, buf, invalue, width, type, dot),
- struct _reent *ptr _AND
- char *buf _AND
- double invalue _AND
- int width _AND
- char type _AND
+ struct _reent *ptr,
+ char *buf,
+ double invalue,
+ int width,
+ char type,
int dot)
{
int sign;
@@ -210,10 +210,10 @@ _DEFUN (print_e, (ptr, buf, invalue, width, type, dot),
char *
_DEFUN (fcvtbuf, (invalue, ndigit, decpt, sign, fcvt_buf),
- double invalue _AND
- int ndigit _AND
- int *decpt _AND
- int *sign _AND
+ double invalue,
+ int ndigit,
+ int *decpt,
+ int *sign,
char *fcvt_buf)
{
struct _reent *reent = _REENT;
@@ -267,10 +267,10 @@ _DEFUN (fcvtbuf, (invalue, ndigit, decpt, sign, fcvt_buf),
char *
_DEFUN (ecvtbuf, (invalue, ndigit, decpt, sign, fcvt_buf),
- double invalue _AND
- int ndigit _AND
- int *decpt _AND
- int *sign _AND
+ double invalue,
+ int ndigit,
+ int *decpt,
+ int *sign,
char *fcvt_buf)
{
struct _reent *reent = _REENT;
@@ -318,11 +318,11 @@ _DEFUN (ecvtbuf, (invalue, ndigit, decpt, sign, fcvt_buf),
char *
_DEFUN (_gcvt, (ptr, invalue, ndigit, buf, type, dot),
- struct _reent *ptr _AND
- double invalue _AND
- int ndigit _AND
- char *buf _AND
- char type _AND
+ struct _reent *ptr,
+ double invalue,
+ int ndigit,
+ char *buf,
+ char type,
int dot)
{
char *save = buf;
@@ -426,12 +426,12 @@ _DEFUN (_gcvt, (ptr, invalue, ndigit, buf, type, dot),
char *
_DEFUN (_dcvt, (ptr, buffer, invalue, precision, width, type, dot),
- struct _reent *ptr _AND
- char *buffer _AND
- double invalue _AND
- int precision _AND
- int width _AND
- char type _AND
+ struct _reent *ptr,
+ char *buffer,
+ double invalue,
+ int precision,
+ int width,
+ char type,
int dot)
{
switch (type)
@@ -104,9 +104,9 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
char *
_DEFUN (fcvt, (d, ndigit, decpt, sign),
- double d _AND
- int ndigit _AND
- int *decpt _AND
+ double d,
+ int ndigit,
+ int *decpt,
int *sign)
{
return fcvtbuf (d, ndigit, decpt, sign, NULL);
@@ -114,9 +114,9 @@ _DEFUN (fcvt, (d, ndigit, decpt, sign),
char *
_DEFUN (fcvtf, (d, ndigit, decpt, sign),
- float d _AND
- int ndigit _AND
- int *decpt _AND
+ float d,
+ int ndigit,
+ int *decpt,
int *sign)
{
return fcvt ((float) d, ndigit, decpt, sign);
@@ -125,8 +125,8 @@ _DEFUN (fcvtf, (d, ndigit, decpt, sign),
char *
_DEFUN (gcvtf, (d, ndigit, buf),
- float d _AND
- int ndigit _AND
+ float d,
+ int ndigit,
char *buf)
{
double asd = d;
@@ -136,9 +136,9 @@ _DEFUN (gcvtf, (d, ndigit, buf),
char *
_DEFUN (ecvt, (d, ndigit, decpt, sign),
- double d _AND
- int ndigit _AND
- int *decpt _AND
+ double d,
+ int ndigit,
+ int *decpt,
int *sign)
{
return ecvtbuf (d, ndigit, decpt, sign, NULL);
@@ -146,9 +146,9 @@ _DEFUN (ecvt, (d, ndigit, decpt, sign),
char *
_DEFUN (ecvtf, (d, ndigit, decpt, sign),
- float d _AND
- int ndigit _AND
- int *decpt _AND
+ float d,
+ int ndigit,
+ int *decpt,
int *sign)
{
return ecvt ((double) d, ndigit, decpt, sign);
@@ -157,8 +157,8 @@ _DEFUN (ecvtf, (d, ndigit, decpt, sign),
char *
_DEFUN (gcvt, (d, ndigit, buf),
- double d _AND
- int ndigit _AND
+ double d,
+ int ndigit,
char *buf)
{
char *tbuf = buf;
@@ -15,7 +15,7 @@
double
_DEFUN (_erand48_r, (r, xseed),
- struct _reent *r _AND
+ struct _reent *r,
unsigned short xseed[3])
{
__dorand48(r, xseed);
@@ -71,7 +71,7 @@ _DEFUN (__hexdig_fun, (c),
static void
_DEFUN(rshift, (b, k),
- _Bigint *b _AND
+ _Bigint *b,
int k)
{
__ULong *x, *x1, *xe, y;
@@ -102,7 +102,7 @@ _DEFUN(rshift, (b, k),
static _Bigint *
_DEFUN (increment, (ptr, b),
- struct _reent *ptr _AND
+ struct _reent *ptr,
_Bigint *b)
{
__ULong *x, *xe;
@@ -46,7 +46,7 @@ THIS SOFTWARE.
#ifdef INFNAN_CHECK
int
_DEFUN (match, (sp, t),
- _CONST char **sp _AND
+ _CONST char **sp,
char *t)
{
int c, d;
@@ -64,8 +64,8 @@ _DEFUN (match, (sp, t),
static void
_DEFUN (L_shift, (x, x1, i),
- __ULong *x _AND
- __ULong *x1 _AND
+ __ULong *x,
+ __ULong *x1,
int i)
{
int j;
@@ -81,8 +81,8 @@ _DEFUN (L_shift, (x, x1, i),
int
_DEFUN (hexnan, (sp, fpi, x0),
- _CONST char **sp _AND
- _CONST FPI *fpi _AND
+ _CONST char **sp,
+ _CONST FPI *fpi,
__ULong *x0)
{
__ULong c, h, *x, *x1, *xe;
@@ -65,7 +65,7 @@ variables vary from one system to another.
char *
_DEFUN (_findenv, (name, offset),
- register _CONST char *name _AND
+ register _CONST char *name,
int *offset)
{
return _findenv_r (_REENT, name, offset);
@@ -75,8 +75,8 @@ static char ***p_environ = &environ;
char *
_DEFUN (_findenv_r, (reent_ptr, name, offset),
- struct _reent *reent_ptr _AND
- register _CONST char *name _AND
+ struct _reent *reent_ptr,
+ register _CONST char *name,
int *offset)
{
register int len;
@@ -120,7 +120,7 @@ _DEFUN (_findenv_r, (reent_ptr, name, offset),
char *
_DEFUN (_getenv_r, (reent_ptr, name),
- struct _reent *reent_ptr _AND
+ struct _reent *reent_ptr,
_CONST char *name)
{
int offset;
@@ -31,8 +31,8 @@ No supporting OS subroutine calls are required.
char *
_DEFUN (__itoa, (value, str, base),
- int value _AND
- char *str _AND
+ int value,
+ char *str,
int base)
{
unsigned uvalue;
@@ -61,8 +61,8 @@ _DEFUN (__itoa, (value, str, base),
char *
_DEFUN (itoa, (value, str, base),
- int value _AND
- char *str _AND
+ int value,
+ char *str,
int base)
{
return __itoa (value, str, base);
@@ -15,7 +15,7 @@
long
_DEFUN (_jrand48_r, (r, xseed),
- struct _reent *r _AND
+ struct _reent *r,
unsigned short xseed[3])
{
__dorand48(r, xseed);
@@ -35,7 +35,7 @@ _DEFUN (l64a, (value),
char *
_DEFUN (_l64a_r, (rptr, value),
- struct _reent *rptr _AND
+ struct _reent *rptr,
long value)
{
char *ptr;
@@ -15,7 +15,7 @@
_VOID
_DEFUN (_lcong48_r, (r, p),
- struct _reent *r _AND
+ struct _reent *r,
unsigned short p[7])
{
_REENT_CHECK_RAND48(r);
@@ -83,7 +83,7 @@ No supporting OS subroutines are required.
ldiv_t
_DEFUN (ldiv, (num, denom),
- long num _AND
+ long num,
long denom)
{
ldiv_t r;
@@ -95,7 +95,7 @@ No supporting OS subroutines are required.
*/
lldiv_t
_DEFUN (lldiv, (number, denom),
- long long numer _AND long long denom)
+ long long numer, long long denom)
{
lldiv_t retval;
@@ -10,7 +10,7 @@
_PTR
_DEFUN (memalign, (align, nbytes),
- size_t align _AND
+ size_t align,
size_t nbytes)
{
return _memalign_r (_REENT, align, nbytes);
@@ -44,7 +44,7 @@ effects vary with the locale.
int
_DEFUN (mblen, (s, n),
- const char *s _AND
+ const char *s,
size_t n)
{
#ifdef _MB_CAPABLE
@@ -42,9 +42,9 @@ effects vary with the locale.
int
_DEFUN (_mblen_r, (r, s, n, state),
- struct _reent *r _AND
- const char *s _AND
- size_t n _AND
+ struct _reent *r,
+ const char *s,
+ size_t n,
mbstate_t *state)
{
#ifdef _MB_CAPABLE
@@ -9,10 +9,10 @@
size_t
_DEFUN (_mbrtowc_r, (ptr, pwc, s, n, ps),
- struct _reent *ptr _AND
- wchar_t *pwc _AND
- const char *s _AND
- size_t n _AND
+ struct _reent *ptr,
+ wchar_t *pwc,
+ const char *s,
+ size_t n,
mbstate_t *ps)
{
int retval = 0;
@@ -43,9 +43,9 @@ _DEFUN (_mbrtowc_r, (ptr, pwc, s, n, ps),
#ifndef _REENT_ONLY
size_t
_DEFUN (mbrtowc, (pwc, s, n, ps),
- wchar_t *__restrict pwc _AND
- const char *__restrict s _AND
- size_t n _AND
+ wchar_t *__restrict pwc,
+ const char *__restrict s,
+ size_t n,
mbstate_t *__restrict ps)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
@@ -72,11 +72,11 @@ PORTABILITY
size_t
_DEFUN (_mbsnrtowcs_r, (r, dst, src, nms, len, ps),
- struct _reent *r _AND
- wchar_t *dst _AND
- const char **src _AND
- size_t nms _AND
- size_t len _AND
+ struct _reent *r,
+ wchar_t *dst,
+ const char **src,
+ size_t nms,
+ size_t len,
mbstate_t *ps)
{
wchar_t *ptr = dst;
@@ -138,10 +138,10 @@ _DEFUN (_mbsnrtowcs_r, (r, dst, src, nms, len, ps),
#ifndef _REENT_ONLY
size_t
_DEFUN (mbsnrtowcs, (dst, src, nms, len, ps),
- wchar_t *__restrict dst _AND
- const char **__restrict src _AND
- size_t nms _AND
- size_t len _AND
+ wchar_t *__restrict dst,
+ const char **__restrict src,
+ size_t nms,
+ size_t len,
mbstate_t *__restrict ps)
{
return _mbsnrtowcs_r (_REENT, dst, src, nms, len, ps);
@@ -9,10 +9,10 @@
size_t
_DEFUN (_mbsrtowcs_r, (r, dst, src, len, ps),
- struct _reent *r _AND
- wchar_t *dst _AND
- const char **src _AND
- size_t len _AND
+ struct _reent *r,
+ wchar_t *dst,
+ const char **src,
+ size_t len,
mbstate_t *ps)
{
return _mbsnrtowcs_r (r, dst, src, (size_t) -1, len, ps);
@@ -21,9 +21,9 @@ _DEFUN (_mbsrtowcs_r, (r, dst, src, len, ps),
#ifndef _REENT_ONLY
size_t
_DEFUN (mbsrtowcs, (dst, src, len, ps),
- wchar_t *__restrict dst _AND
- const char **__restrict src _AND
- size_t len _AND
+ wchar_t *__restrict dst,
+ const char **__restrict src,
+ size_t len,
mbstate_t *__restrict ps)
{
return _mbsnrtowcs_r (_REENT, dst, src, (size_t) -1, len, ps);
@@ -48,8 +48,8 @@ effects vary with the locale.
size_t
_DEFUN (mbstowcs, (pwcs, s, n),
- wchar_t *__restrict pwcs _AND
- const char *__restrict s _AND
+ wchar_t *__restrict pwcs,
+ const char *__restrict s,
size_t n)
{
#ifdef _MB_CAPABLE
@@ -4,10 +4,10 @@
size_t
_DEFUN (_mbstowcs_r, (reent, pwcs, s, n, state),
- struct _reent *r _AND
- wchar_t *__restrict pwcs _AND
- const char *__restrict s _AND
- size_t n _AND
+ struct _reent *r,
+ wchar_t *__restrict pwcs,
+ const char *__restrict s,
+ size_t n,
mbstate_t *state)
{
size_t ret = 0;
@@ -51,8 +51,8 @@ effects vary with the locale.
int
_DEFUN (mbtowc, (pwc, s, n),
- wchar_t *__restrict pwc _AND
- const char *__restrict s _AND
+ wchar_t *__restrict pwc,
+ const char *__restrict s,
size_t n)
{
#ifdef _MB_CAPABLE
@@ -9,10 +9,10 @@
int
_DEFUN (_mbtowc_r, (r, pwc, s, n, state),
- struct _reent *r _AND
- wchar_t *__restrict pwc _AND
- const char *__restrict s _AND
- size_t n _AND
+ struct _reent *r,
+ wchar_t *__restrict pwc,
+ const char *__restrict s,
+ size_t n,
mbstate_t *state)
{
return __MBTOWC (r, pwc, s, n, state);
@@ -20,10 +20,10 @@ _DEFUN (_mbtowc_r, (r, pwc, s, n, state),
int
_DEFUN (__ascii_mbtowc, (r, pwc, s, n, state),
- struct _reent *r _AND
- wchar_t *pwc _AND
- const char *s _AND
- size_t n _AND
+ struct _reent *r,
+ wchar_t *pwc,
+ const char *s,
+ size_t n,
mbstate_t *state)
{
wchar_t dummy;
@@ -529,10 +529,10 @@ __cp_mbtowc (int val)
int
_DEFUN (__utf8_mbtowc, (r, pwc, s, n, state),
- struct _reent *r _AND
- wchar_t *pwc _AND
- const char *s _AND
- size_t n _AND
+ struct _reent *r,
+ wchar_t *pwc,
+ const char *s,
+ size_t n,
mbstate_t *state)
{
wchar_t dummy;
@@ -731,10 +731,10 @@ _DEFUN (__utf8_mbtowc, (r, pwc, s, n, state),
#ifndef __CYGWIN__
int
_DEFUN (__sjis_mbtowc, (r, pwc, s, n, state),
- struct _reent *r _AND
- wchar_t *pwc _AND
- const char *s _AND
- size_t n _AND
+ struct _reent *r,
+ wchar_t *pwc,
+ const char *s,
+ size_t n,
mbstate_t *state)
{
wchar_t dummy;
@@ -788,10 +788,10 @@ _DEFUN (__sjis_mbtowc, (r, pwc, s, n, state),
int
_DEFUN (__eucjp_mbtowc, (r, pwc, s, n, state),
- struct _reent *r _AND
- wchar_t *pwc _AND
- const char *s _AND
- size_t n _AND
+ struct _reent *r,
+ wchar_t *pwc,
+ const char *s,
+ size_t n,
mbstate_t *state)
{
wchar_t dummy;
@@ -871,10 +871,10 @@ _DEFUN (__eucjp_mbtowc, (r, pwc, s, n, state),
int
_DEFUN (__jis_mbtowc, (r, pwc, s, n, state),
- struct _reent *r _AND
- wchar_t *pwc _AND
- const char *s _AND
- size_t n _AND
+ struct _reent *r,
+ wchar_t *pwc,
+ const char *s,
+ size_t n,
mbstate_t *state)
{
wchar_t dummy;
@@ -94,7 +94,7 @@
*/
_Bigint *
-_DEFUN (Balloc, (ptr, k), struct _reent *ptr _AND int k)
+_DEFUN (Balloc, (ptr, k), struct _reent *ptr, int k)
{
int x;
_Bigint *rv ;
@@ -133,7 +133,7 @@ _DEFUN (Balloc, (ptr, k), struct _reent *ptr _AND int k)
}
void
-_DEFUN (Bfree, (ptr, v), struct _reent *ptr _AND _Bigint * v)
+_DEFUN (Bfree, (ptr, v), struct _reent *ptr, _Bigint * v)
{
_REENT_CHECK_MP(ptr);
if (v)
@@ -145,9 +145,9 @@ _DEFUN (Bfree, (ptr, v), struct _reent *ptr _AND _Bigint * v)
_Bigint *
_DEFUN (multadd, (ptr, b, m, a),
- struct _reent *ptr _AND
- _Bigint * b _AND
- int m _AND
+ struct _reent *ptr,
+ _Bigint * b,
+ int m,
int a)
{
int i, wds;
@@ -192,10 +192,10 @@ _DEFUN (multadd, (ptr, b, m, a),
_Bigint *
_DEFUN (s2b, (ptr, s, nd0, nd, y9),
- struct _reent * ptr _AND
- _CONST char *s _AND
- int nd0 _AND
- int nd _AND
+ struct _reent * ptr,
+ _CONST char *s,
+ int nd0,
+ int nd,
__ULong y9)
{
_Bigint *b;
@@ -316,7 +316,7 @@ _DEFUN (lo0bits, (y), __ULong *y)
}
_Bigint *
-_DEFUN (i2b, (ptr, i), struct _reent * ptr _AND int i)
+_DEFUN (i2b, (ptr, i), struct _reent * ptr, int i)
{
_Bigint *b;
@@ -327,7 +327,7 @@ _DEFUN (i2b, (ptr, i), struct _reent * ptr _AND int i)
}
_Bigint *
-_DEFUN (mult, (ptr, a, b), struct _reent * ptr _AND _Bigint * a _AND _Bigint * b)
+_DEFUN (mult, (ptr, a, b), struct _reent * ptr, _Bigint * a, _Bigint * b)
{
_Bigint *c;
int k, wa, wb, wc;
@@ -420,7 +420,7 @@ _DEFUN (mult, (ptr, a, b), struct _reent * ptr _AND _Bigint * a _AND _Bigint * b
_Bigint *
_DEFUN (pow5mult,
- (ptr, b, k), struct _reent * ptr _AND _Bigint * b _AND int k)
+ (ptr, b, k), struct _reent * ptr, _Bigint * b, int k)
{
_Bigint *b1, *p5, *p51;
int i;
@@ -459,7 +459,7 @@ _DEFUN (pow5mult,
}
_Bigint *
-_DEFUN (lshift, (ptr, b, k), struct _reent * ptr _AND _Bigint * b _AND int k)
+_DEFUN (lshift, (ptr, b, k), struct _reent * ptr, _Bigint * b, int k)
{
int i, k1, n, n1;
_Bigint *b1;
@@ -519,7 +519,7 @@ _DEFUN (lshift, (ptr, b, k), struct _reent * ptr _AND _Bigint * b _AND int k)
}
int
-_DEFUN (cmp, (a, b), _Bigint * a _AND _Bigint * b)
+_DEFUN (cmp, (a, b), _Bigint * a, _Bigint * b)
{
__ULong *xa, *xa0, *xb, *xb0;
int i, j;
@@ -549,8 +549,8 @@ _DEFUN (cmp, (a, b), _Bigint * a _AND _Bigint * b)
}
_Bigint *
-_DEFUN (diff, (ptr, a, b), struct _reent * ptr _AND
- _Bigint * a _AND _Bigint * b)
+_DEFUN (diff, (ptr, a, b), struct _reent * ptr,
+ _Bigint * a, _Bigint * b)
{
_Bigint *c;
int i, wa, wb;
@@ -680,7 +680,7 @@ _DEFUN (ulp, (_x), double _x)
double
_DEFUN (b2d, (a, e),
- _Bigint * a _AND int *e)
+ _Bigint * a, int *e)
{
__ULong *xa, *xa0, w, y, z;
int k;
@@ -758,9 +758,9 @@ ret_d:
_Bigint *
_DEFUN (d2b,
(ptr, _d, e, bits),
- struct _reent * ptr _AND
- double _d _AND
- int *e _AND
+ struct _reent * ptr,
+ double _d,
+ int *e,
int *bits)
{
@@ -911,7 +911,7 @@ _DEFUN (d2b,
#undef d1
double
-_DEFUN (ratio, (a, b), _Bigint * a _AND _Bigint * b)
+_DEFUN (ratio, (a, b), _Bigint * a, _Bigint * b)
{
union double_union da, db;
@@ -992,8 +992,8 @@ _DEFUN (_mprec_log10, (dig),
void
_DEFUN (copybits, (c, n, b),
- __ULong *c _AND
- int n _AND
+ __ULong *c,
+ int n,
_Bigint *b)
{
__ULong *ce, *x, *xe;
@@ -1021,7 +1021,7 @@ _DEFUN (copybits, (c, n, b),
__ULong
_DEFUN (any_on, (b, k),
- _Bigint *b _AND
+ _Bigint *b,
int k)
{
int n, nwds;
@@ -98,7 +98,7 @@ _DEFUN_VOID (malloc_stats)
int
_DEFUN (mallopt, (p, v),
- int p _AND
+ int p,
int v)
{
return _mallopt_r (_REENT, p, v);
@@ -116,7 +116,7 @@ _DEFUN (mallopt, (p, v),
void
_DEFUN (_mstats_r, (ptr, s),
- struct _reent *ptr _AND
+ struct _reent *ptr,
char *s)
{
_REENT_SMALL_CHECK_INIT(ptr);
@@ -15,7 +15,7 @@
long
_DEFUN (_nrand48_r, (r, xseed),
- struct _reent *r _AND
+ struct _reent *r,
unsigned short xseed[3])
{
__dorand48 (r, xseed);
@@ -68,7 +68,7 @@ const void * const __on_exit_dummy = &__on_exit_args;
int
_DEFUN (on_exit,
(fn, arg),
- _VOID _EXFNPTR(fn, (int, _PTR)) _AND
+ _VOID _EXFNPTR(fn, (int, _PTR)),
_PTR arg)
{
return __register_exitproc (__et_onexit, (void (*)(void)) fn, arg, NULL);
@@ -32,7 +32,7 @@
with "value" which is specified by str as "name=value". */
int
_DEFUN (_putenv_r, (reent_ptr, str),
- struct _reent *reent_ptr _AND
+ struct _reent *reent_ptr,
char *str)
{
register char *p, *equal;
@@ -131,7 +131,7 @@ No supporting OS subroutines are required.
void
_DEFUN (__dorand48, (r, xseed),
- struct _reent *r _AND
+ struct _reent *r,
unsigned short xseed[3])
{
unsigned long accu;
@@ -12,7 +12,7 @@ int _dummy_realloc = 1;
_PTR
_DEFUN (realloc, (ap, nbytes),
- _PTR ap _AND
+ _PTR ap,
size_t nbytes)
{
return _realloc_r (_REENT, ap, nbytes);
@@ -32,8 +32,8 @@
_PTR
_DEFUN (_reallocf_r, (reentptr, ptr, size),
- struct _reent *reentptr _AND
- _PTR ptr _AND
+ struct _reent *reentptr,
+ _PTR ptr,
size_t size)
{
void *nptr;
@@ -47,7 +47,7 @@ _DEFUN (_reallocf_r, (reentptr, ptr, size),
#ifndef _REENT_ONLY
_PTR
_DEFUN (reallocf, (ptr, size),
- _PTR ptr _AND
+ _PTR ptr,
size_t size)
{
return _reallocf_r(_REENT, ptr, size);
@@ -15,7 +15,7 @@
unsigned short *
_DEFUN (_seed48_r, (r, xseed),
- struct _reent *r _AND
+ struct _reent *r,
unsigned short xseed[3])
{
static unsigned short sseed[3];
@@ -33,8 +33,8 @@ extern int _unsetenv_r _PARAMS ((struct _reent *, const char *));
int
_DEFUN (setenv, (name, value, rewrite),
- _CONST char *name _AND
- _CONST char *value _AND
+ _CONST char *name,
+ _CONST char *value,
int rewrite)
{
return _setenv_r (_REENT, name, value, rewrite);
@@ -50,9 +50,9 @@ extern char *_findenv_r _PARAMS ((struct _reent *, const char *, int *));
int
_DEFUN (_setenv_r, (reent_ptr, name, value, rewrite),
- struct _reent *reent_ptr _AND
- _CONST char *name _AND
- _CONST char *value _AND
+ struct _reent *reent_ptr,
+ _CONST char *name,
+ _CONST char *value,
int rewrite)
{
static int alloced; /* if allocated space before */
@@ -134,7 +134,7 @@ _DEFUN (_setenv_r, (reent_ptr, name, value, rewrite),
*/
int
_DEFUN (_unsetenv_r, (reent_ptr, name),
- struct _reent *reent_ptr _AND
+ struct _reent *reent_ptr,
_CONST char *name)
{
register char **P;
@@ -15,7 +15,7 @@
_VOID
_DEFUN (_srand48_r, (r, seed),
- struct _reent *r _AND
+ struct _reent *r,
long seed)
{
_REENT_CHECK_RAND48(r);
@@ -175,7 +175,7 @@ static _CONST double tinytens[] = { 1e-16, 1e-32,
#ifdef Avoid_Underflow /*{*/
static double
_DEFUN (sulp, (x, scale),
- U x _AND
+ U x,
int scale)
{
U u;
@@ -198,9 +198,9 @@ _DEFUN (sulp, (x, scale),
static void
_DEFUN (ULtod, (L, bits, exp, k),
- __ULong *L _AND
- __ULong *bits _AND
- Long exp _AND
+ __ULong *L,
+ __ULong *bits,
+ Long exp,
int k)
{
switch(k & STRTOG_Retmask) {
@@ -1253,8 +1253,8 @@ _strtod_l (struct _reent *ptr, const char *__restrict s00, char **__restrict se,
double
_DEFUN (_strtod_r, (ptr, s00, se),
- struct _reent *ptr _AND
- _CONST char *__restrict s00 _AND
+ struct _reent *ptr,
+ _CONST char *__restrict s00,
char **__restrict se)
{
return _strtod_l (ptr, s00, se, __get_current_locale ());
@@ -1270,7 +1270,7 @@ strtod_l (const char *__restrict s00, char **__restrict se, locale_t loc)
double
_DEFUN (strtod, (s00, se),
- _CONST char *__restrict s00 _AND char **__restrict se)
+ _CONST char *__restrict s00, char **__restrict se)
{
return _strtod_l (_REENT, s00, se, __get_current_locale ());
}
@@ -1291,7 +1291,7 @@ strtof_l (const char *__restrict s00, char **__restrict se, locale_t loc)
float
_DEFUN (strtof, (s00, se),
- _CONST char *__restrict s00 _AND
+ _CONST char *__restrict s00,
char **__restrict se)
{
double val = _strtod_l (_REENT, s00, se, __get_current_locale ());
@@ -213,9 +213,9 @@ _strtol_l (struct _reent *rptr, const char *__restrict nptr,
long
_DEFUN (_strtol_r, (rptr, nptr, endptr, base),
- struct _reent *rptr _AND
- _CONST char *__restrict nptr _AND
- char **__restrict endptr _AND
+ struct _reent *rptr,
+ _CONST char *__restrict nptr,
+ char **__restrict endptr,
int base)
{
return _strtol_l (rptr, nptr, endptr, base, __get_current_locale ());
@@ -232,8 +232,8 @@ strtol_l (const char *__restrict s, char **__restrict ptr, int base,
long
_DEFUN (strtol, (s, ptr, base),
- _CONST char *__restrict s _AND
- char **__restrict ptr _AND
+ _CONST char *__restrict s,
+ char **__restrict ptr,
int base)
{
return _strtol_l (_REENT, s, ptr, base, __get_current_locale ());
@@ -215,9 +215,9 @@ _strtoll_l (struct _reent *rptr, _CONST char *__restrict nptr,
long long
_DEFUN (_strtoll_r, (rptr, nptr, endptr, base),
- struct _reent *rptr _AND
- _CONST char *__restrict nptr _AND
- char **__restrict endptr _AND
+ struct _reent *rptr,
+ _CONST char *__restrict nptr,
+ char **__restrict endptr,
int base)
{
return _strtoll_l (rptr, nptr, endptr, base, __get_current_locale ());
@@ -234,8 +234,8 @@ strtoll_l (const char *__restrict s, char **__restrict ptr, int base,
long long
_DEFUN (strtoll, (s, ptr, base),
- _CONST char *__restrict s _AND
- char **__restrict ptr _AND
+ _CONST char *__restrict s,
+ char **__restrict ptr,
int base)
{
return _strtoll_l (_REENT, s, ptr, base, __get_current_locale ());
@@ -192,9 +192,9 @@ _strtoul_l (struct _reent *rptr, const char *__restrict nptr,
unsigned long
_DEFUN (_strtoul_r, (rptr, nptr, endptr, base),
- struct _reent *rptr _AND
- _CONST char *__restrict nptr _AND
- char **__restrict endptr _AND
+ struct _reent *rptr,
+ _CONST char *__restrict nptr,
+ char **__restrict endptr,
int base)
{
return _strtoul_l (rptr, nptr, endptr, base, __get_current_locale ());
@@ -211,8 +211,8 @@ strtoul_l (const char *__restrict s, char **__restrict ptr, int base,
unsigned long
_DEFUN (strtoul, (s, ptr, base),
- _CONST char *__restrict s _AND
- char **__restrict ptr _AND
+ _CONST char *__restrict s,
+ char **__restrict ptr,
int base)
{
return _strtoul_l (_REENT, s, ptr, base, __get_current_locale ());
@@ -190,9 +190,9 @@ _strtoull_l (struct _reent *rptr, const char *__restrict nptr,
unsigned long long
_DEFUN (_strtoull_r, (rptr, nptr, endptr, base),
- struct _reent *rptr _AND
- _CONST char *__restrict nptr _AND
- char **__restrict endptr _AND
+ struct _reent *rptr,
+ _CONST char *__restrict nptr,
+ char **__restrict endptr,
int base)
{
return _strtoull_l (rptr, nptr, endptr, base, __get_current_locale ());
@@ -209,8 +209,8 @@ strtoull_l (const char *__restrict s, char **__restrict ptr, int base,
unsigned long long
_DEFUN (strtoull, (s, ptr, base),
- _CONST char *__restrict s _AND
- char **__restrict ptr _AND
+ _CONST char *__restrict s,
+ char **__restrict ptr,
int base)
{
return _strtoull_l (_REENT, s, ptr, base, __get_current_locale ());
@@ -53,12 +53,12 @@ Supporting OS subroutines required: <<_exit>>, <<_execve>>, <<_fork_r>>,
#include <reent.h>
#if defined (unix) || defined (__CYGWIN__)
-static int _EXFUN(do_system, (struct _reent *ptr _AND _CONST char *s));
+static int _EXFUN(do_system, (struct _reent *ptr, _CONST char *s));
#endif
int
_DEFUN(_system_r, (ptr, s),
- struct _reent *ptr _AND
+ struct _reent *ptr,
_CONST char *s)
{
#if defined(HAVE_SYSTEM)
@@ -111,7 +111,7 @@ static char ***p_environ = &environ;
static int
_DEFUN(do_system, (ptr, s),
- struct _reent *ptr _AND
+ struct _reent *ptr,
_CONST char *s)
{
char *argv[4];
@@ -143,7 +143,7 @@ _DEFUN(do_system, (ptr, s),
#if defined (__CYGWIN__)
static int
_DEFUN(do_system, (ptr, s),
- struct _reent *ptr _AND
+ struct _reent *ptr,
_CONST char *s)
{
char *argv[4];
@@ -29,8 +29,8 @@ No supporting OS subroutine calls are required.
char *
_DEFUN (__utoa, (value, str, base),
- unsigned value _AND
- char *str _AND
+ unsigned value,
+ char *str,
int base)
{
const char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz";
@@ -68,8 +68,8 @@ _DEFUN (__utoa, (value, str, base),
char *
_DEFUN (utoa, (value, str, base),
- unsigned value _AND
- char *str _AND
+ unsigned value,
+ char *str,
int base)
{
return __utoa (value, str, base);
@@ -8,9 +8,9 @@
size_t
_DEFUN (_wcrtomb_r, (ptr, s, wc, ps),
- struct _reent *ptr _AND
- char *s _AND
- wchar_t wc _AND
+ struct _reent *ptr,
+ char *s,
+ wchar_t wc,
mbstate_t *ps)
{
int retval = 0;
@@ -42,8 +42,8 @@ _DEFUN (_wcrtomb_r, (ptr, s, wc, ps),
#ifndef _REENT_ONLY
size_t
_DEFUN (wcrtomb, (s, wc, ps),
- char *__restrict s _AND
- wchar_t wc _AND
+ char *__restrict s,
+ wchar_t wc,
mbstate_t *__restrict ps)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
@@ -139,11 +139,11 @@ _wcsnrtombs_l (struct _reent *r, char *dst, const wchar_t **src, size_t nwc,
size_t
_DEFUN (_wcsnrtombs_r, (r, dst, src, nwc, len, ps),
- struct _reent *r _AND
- char *dst _AND
- const wchar_t **src _AND
- size_t nwc _AND
- size_t len _AND
+ struct _reent *r,
+ char *dst,
+ const wchar_t **src,
+ size_t nwc,
+ size_t len,
mbstate_t *ps)
{
return _wcsnrtombs_l (_REENT, dst, src, nwc, len, ps,
@@ -153,10 +153,10 @@ _DEFUN (_wcsnrtombs_r, (r, dst, src, nwc, len, ps),
#ifndef _REENT_ONLY
size_t
_DEFUN (wcsnrtombs, (dst, src, nwc, len, ps),
- char *__restrict dst _AND
- const wchar_t **__restrict src _AND
- size_t nwc _AND
- size_t len _AND
+ char *__restrict dst,
+ const wchar_t **__restrict src,
+ size_t nwc,
+ size_t len,
mbstate_t *__restrict ps)
{
return _wcsnrtombs_l (_REENT, dst, src, nwc, len, ps,
@@ -6,10 +6,10 @@
size_t
_DEFUN (_wcsrtombs_r, (r, dst, src, len, ps),
- struct _reent *r _AND
- char *dst _AND
- const wchar_t **src _AND
- size_t len _AND
+ struct _reent *r,
+ char *dst,
+ const wchar_t **src,
+ size_t len,
mbstate_t *ps)
{
return _wcsnrtombs_r (r, dst, src, (size_t) -1, len, ps);
@@ -18,9 +18,9 @@ _DEFUN (_wcsrtombs_r, (r, dst, src, len, ps),
#ifndef _REENT_ONLY
size_t
_DEFUN (wcsrtombs, (dst, src, len, ps),
- char *__restrict dst _AND
- const wchar_t **__restrict src _AND
- size_t len _AND
+ char *__restrict dst,
+ const wchar_t **__restrict src,
+ size_t len,
mbstate_t *__restrict ps)
{
return _wcsnrtombs_r (_REENT, dst, src, (size_t) -1, len, ps);
@@ -215,8 +215,8 @@ _wcstod_l (struct _reent *ptr, const wchar_t *nptr, wchar_t **endptr,
double
_DEFUN (_wcstod_r, (ptr, nptr, endptr),
- struct _reent *ptr _AND
- _CONST wchar_t *nptr _AND
+ struct _reent *ptr,
+ _CONST wchar_t *nptr,
wchar_t **endptr)
{
return _wcstod_l (ptr, nptr, endptr, __get_current_locale ());
@@ -224,8 +224,8 @@ _DEFUN (_wcstod_r, (ptr, nptr, endptr),
float
_DEFUN (_wcstof_r, (ptr, nptr, endptr),
- struct _reent *ptr _AND
- _CONST wchar_t *nptr _AND
+ struct _reent *ptr,
+ _CONST wchar_t *nptr,
wchar_t **endptr)
{
double retval = _wcstod_l (ptr, nptr, endptr, __get_current_locale ());
@@ -245,7 +245,7 @@ wcstod_l (const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
double
_DEFUN (wcstod, (nptr, endptr),
- _CONST wchar_t *__restrict nptr _AND wchar_t **__restrict endptr)
+ _CONST wchar_t *__restrict nptr, wchar_t **__restrict endptr)
{
return _wcstod_l (_REENT, nptr, endptr, __get_current_locale ());
}
@@ -267,7 +267,7 @@ wcstof_l (const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
float
_DEFUN (wcstof, (nptr, endptr),
- _CONST wchar_t *__restrict nptr _AND
+ _CONST wchar_t *__restrict nptr,
wchar_t **__restrict endptr)
{
double val = _wcstod_l (_REENT, nptr, endptr, __get_current_locale ());
@@ -214,9 +214,9 @@ _wcstol_l (struct _reent *rptr, const wchar_t *nptr, wchar_t **endptr,
long
_DEFUN (_wcstol_r, (rptr, nptr, endptr, base),
- struct _reent *rptr _AND
- _CONST wchar_t *nptr _AND
- wchar_t **endptr _AND
+ struct _reent *rptr,
+ _CONST wchar_t *nptr,
+ wchar_t **endptr,
int base)
{
return _wcstol_l (rptr, nptr, endptr, base, __get_current_locale ());
@@ -233,8 +233,8 @@ wcstol_l (const wchar_t *__restrict s, wchar_t **__restrict ptr, int base,
long
_DEFUN (wcstol, (s, ptr, base),
- _CONST wchar_t *__restrict s _AND
- wchar_t **__restrict ptr _AND
+ _CONST wchar_t *__restrict s,
+ wchar_t **__restrict ptr,
int base)
{
return _wcstol_l (_REENT, s, ptr, base, __get_current_locale ());
@@ -214,9 +214,9 @@ _wcstoll_l (struct _reent *rptr, const wchar_t *nptr, wchar_t **endptr,
long long
_DEFUN (_wcstoll_r, (rptr, nptr, endptr, base),
- struct _reent *rptr _AND
- _CONST wchar_t *nptr _AND
- wchar_t **endptr _AND
+ struct _reent *rptr,
+ _CONST wchar_t *nptr,
+ wchar_t **endptr,
int base)
{
return _wcstoll_l (rptr, nptr, endptr, base, __get_current_locale ());
@@ -233,8 +233,8 @@ wcstoll_l (const wchar_t *__restrict s, wchar_t **__restrict ptr, int base,
long long
_DEFUN (wcstoll, (s, ptr, base),
- _CONST wchar_t *__restrict s _AND
- wchar_t **__restrict ptr _AND
+ _CONST wchar_t *__restrict s,
+ wchar_t **__restrict ptr,
int base)
{
return _wcstoll_l (_REENT, s, ptr, base, __get_current_locale ());
@@ -49,8 +49,8 @@ effects vary with the locale.
size_t
_DEFUN (wcstombs, (s, pwcs, n),
- char *__restrict s _AND
- const wchar_t *__restrict pwcs _AND
+ char *__restrict s,
+ const wchar_t *__restrict pwcs,
size_t n)
{
#ifdef _MB_CAPABLE
@@ -4,10 +4,10 @@
size_t
_DEFUN (_wcstombs_r, (reent, s, pwcs, n, state),
- struct _reent *r _AND
- char *__restrict s _AND
- const wchar_t *__restrict pwcs _AND
- size_t n _AND
+ struct _reent *r,
+ char *__restrict s,
+ const wchar_t *__restrict pwcs,
+ size_t n,
mbstate_t *state)
{
char *ptr = s;
@@ -193,9 +193,9 @@ _wcstoul_l (struct _reent *rptr, const wchar_t *nptr, wchar_t **endptr,
unsigned long
_DEFUN (_wcstoul_r, (rptr, nptr, endptr, base),
- struct _reent *rptr _AND
- _CONST wchar_t *nptr _AND
- wchar_t **endptr _AND
+ struct _reent *rptr,
+ _CONST wchar_t *nptr,
+ wchar_t **endptr,
int base)
{
return _wcstoul_l (rptr, nptr, endptr, base, __get_current_locale ());
@@ -212,8 +212,8 @@ wcstoul_l (const wchar_t *__restrict s, wchar_t **__restrict ptr, int base,
unsigned long
_DEFUN (wcstoul, (s, ptr, base),
- _CONST wchar_t *__restrict s _AND
- wchar_t **__restrict ptr _AND
+ _CONST wchar_t *__restrict s,
+ wchar_t **__restrict ptr,
int base)
{
return _wcstoul_l (_REENT, s, ptr, base, __get_current_locale ());
@@ -209,9 +209,9 @@ _wcstoull_l (struct _reent *rptr, const wchar_t *nptr, wchar_t **endptr,
unsigned long long
_DEFUN (_wcstoull_r, (rptr, nptr, endptr, base),
- struct _reent *rptr _AND
- _CONST wchar_t *nptr _AND
- wchar_t **endptr _AND
+ struct _reent *rptr,
+ _CONST wchar_t *nptr,
+ wchar_t **endptr,
int base)
{
return _wcstoull_l (rptr, nptr, endptr, base, __get_current_locale ());
@@ -228,8 +228,8 @@ wcstoull_l (const wchar_t *__restrict s, wchar_t **__restrict ptr, int base,
unsigned long long
_DEFUN (wcstoull, (s, ptr, base),
- _CONST wchar_t *__restrict s _AND
- wchar_t **__restrict ptr _AND
+ _CONST wchar_t *__restrict s,
+ wchar_t **__restrict ptr,
int base)
{
return _wcstoull_l (_REENT, s, ptr, base, __get_current_locale ());
@@ -47,7 +47,7 @@ effects vary with the locale.
int
_DEFUN (wctomb, (s, wchar),
- char *s _AND
+ char *s,
wchar_t wchar)
{
#ifdef _MB_CAPABLE
@@ -8,9 +8,9 @@
int
_DEFUN (_wctomb_r, (r, s, wchar, state),
- struct _reent *r _AND
- char *s _AND
- wchar_t _wchar _AND
+ struct _reent *r,
+ char *s,
+ wchar_t _wchar,
mbstate_t *state)
{
return __WCTOMB (r, s, _wchar, state);
@@ -18,9 +18,9 @@ _DEFUN (_wctomb_r, (r, s, wchar, state),
int
_DEFUN (__ascii_wctomb, (r, s, wchar, state),
- struct _reent *r _AND
- char *s _AND
- wchar_t _wchar _AND
+ struct _reent *r,
+ char *s,
+ wchar_t _wchar,
mbstate_t *state)
{
/* Avoids compiler warnings about comparisons that are always false
@@ -51,9 +51,9 @@ _DEFUN (__ascii_wctomb, (r, s, wchar, state),
int
_DEFUN (__utf8_wctomb, (r, s, wchar, state),
- struct _reent *r _AND
- char *s _AND
- wchar_t _wchar _AND
+ struct _reent *r,
+ char *s,
+ wchar_t _wchar,
mbstate_t *state)
{
wint_t wchar = _wchar;
@@ -145,9 +145,9 @@ _DEFUN (__utf8_wctomb, (r, s, wchar, state),
#ifndef __CYGWIN__
int
_DEFUN (__sjis_wctomb, (r, s, wchar, state),
- struct _reent *r _AND
- char *s _AND
- wchar_t _wchar _AND
+ struct _reent *r,
+ char *s,
+ wchar_t _wchar,
mbstate_t *state)
{
wint_t wchar = _wchar;
@@ -179,9 +179,9 @@ _DEFUN (__sjis_wctomb, (r, s, wchar, state),
int
_DEFUN (__eucjp_wctomb, (r, s, wchar, state),
- struct _reent *r _AND
- char *s _AND
- wchar_t _wchar _AND
+ struct _reent *r,
+ char *s,
+ wchar_t _wchar,
mbstate_t *state)
{
wint_t wchar = _wchar;
@@ -219,9 +219,9 @@ _DEFUN (__eucjp_wctomb, (r, s, wchar, state),
int
_DEFUN (__jis_wctomb, (r, s, wchar, state),
- struct _reent *r _AND
- char *s _AND
- wchar_t _wchar _AND
+ struct _reent *r,
+ char *s,
+ wchar_t _wchar,
mbstate_t *state)
{
wint_t wchar = _wchar;
@@ -33,8 +33,8 @@ QUICKREF
int
_DEFUN (bcmp, (m1, m2, n),
- _CONST void *m1 _AND
- _CONST void *m2 _AND
+ _CONST void *m1,
+ _CONST void *m2,
size_t n)
{
@@ -25,8 +25,8 @@ QUICKREF
void
_DEFUN (bcopy, (b1, b2, length),
- _CONST void *b1 _AND
- void *b2 _AND
+ _CONST void *b1,
+ void *b2,
size_t length)
{
memmove (b2, b1, length);
@@ -32,7 +32,7 @@ QUICKREF
char *
_DEFUN (index, (s, c),
- _CONST char *s _AND
+ _CONST char *s,
int c)
{
return strchr (s, c);
@@ -57,9 +57,9 @@ PORTABILITY
_PTR
_DEFUN (memccpy, (dst0, src0, endchar, len0),
- _PTR __restrict dst0 _AND
- _CONST _PTR __restrict src0 _AND
- int endchar0 _AND
+ _PTR __restrict dst0,
+ _CONST _PTR __restrict src0,
+ int endchar0,
size_t len0)
{
@@ -63,8 +63,8 @@ QUICKREF
_PTR
_DEFUN (memchr, (src_void, c, length),
- _CONST _PTR src_void _AND
- int c _AND
+ _CONST _PTR src_void,
+ int c,
size_t length)
{
_CONST unsigned char *src = (_CONST unsigned char *) src_void;
@@ -44,8 +44,8 @@ QUICKREF
int
_DEFUN (memcmp, (m1, m2, n),
- _CONST _PTR m1 _AND
- _CONST _PTR m2 _AND
+ _CONST _PTR m1,
+ _CONST _PTR m2,
size_t n)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
@@ -45,8 +45,8 @@ QUICKREF
_PTR
_DEFUN (memcpy, (dst0, src0, len0),
- _PTR __restrict dst0 _AND
- _CONST _PTR __restrict src0 _AND
+ _PTR __restrict dst0,
+ _CONST _PTR __restrict src0,
size_t len0)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
@@ -47,9 +47,9 @@ QUICKREF
void *
_DEFUN (memmem, (haystack_start, haystack_len, needle_start, needle_len),
- const void *haystack_start _AND
- size_t haystack_len _AND
- const void *needle_start _AND
+ const void *haystack_start,
+ size_t haystack_len,
+ const void *needle_start,
size_t needle_len)
{
/* Abstract memory is considered to be an array of 'unsigned char' values,
@@ -51,8 +51,8 @@ QUICKREF
_PTR
__inhibit_loop_to_libcall
_DEFUN (memmove, (dst_void, src_void, length),
- _PTR dst_void _AND
- _CONST _PTR src_void _AND
+ _PTR dst_void,
+ _CONST _PTR src_void,
size_t length)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
@@ -44,8 +44,8 @@ PORTABILITY
_PTR
_DEFUN (mempcpy, (dst0, src0, len0),
- _PTR dst0 _AND
- _CONST _PTR src0 _AND
+ _PTR dst0,
+ _CONST _PTR src0,
size_t len0)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
@@ -63,8 +63,8 @@ QUICKREF
_PTR
_DEFUN (memrchr, (src_void, c, length),
- _CONST _PTR src_void _AND
- int c _AND
+ _CONST _PTR src_void,
+ int c,
size_t length)
{
_CONST unsigned char *src = (_CONST unsigned char *) src_void + length - 1;
@@ -36,8 +36,8 @@ QUICKREF
_PTR
__inhibit_loop_to_libcall
_DEFUN (memset, (m, c, n),
- _PTR m _AND
- int c _AND
+ _PTR m,
+ int c,
size_t n)
{
char *s = (char *) m;
@@ -62,7 +62,7 @@ QUICKREF
_PTR
_DEFUN (rawmemchr, (src_void, c),
- _CONST _PTR src_void _AND
+ _CONST _PTR src_void,
int c)
{
_CONST unsigned char *src = (_CONST unsigned char *) src_void;
@@ -32,7 +32,7 @@ QUICKREF
char *
_DEFUN (rindex, (s, c),
- _CONST char *s _AND
+ _CONST char *s,
int c)
{
return strrchr (s, c);
@@ -54,7 +54,7 @@ QUICKREF
char*
_DEFUN (stpcpy, (dst, src),
- char *__restrict dst _AND
+ char *__restrict dst,
_CONST char *__restrict src)
{
#if !defined(PREFER_SIZE_OVER_SPEED) && !defined(__OPTIMIZE_SIZE__)
@@ -62,8 +62,8 @@ QUICKREF
char *
_DEFUN (stpncpy, (dst, src),
- char *__restrict dst _AND
- _CONST char *__restrict src _AND
+ char *__restrict dst,
+ _CONST char *__restrict src,
size_t count)
{
char *ret = NULL;
@@ -37,7 +37,7 @@ QUICKREF
int
_DEFUN (strcasecmp, (s1, s2),
- _CONST char *s1 _AND
+ _CONST char *s1,
_CONST char *s2)
{
int d = 0;
@@ -91,7 +91,7 @@ QUICKREF
*/
char *
_DEFUN (strcasestr, (s, find),
- _CONST char *s _AND
+ _CONST char *s,
_CONST char *find)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
@@ -55,7 +55,7 @@ QUICKREF
char *
_DEFUN (strcat, (s1, s2),
- char *__restrict s1 _AND
+ char *__restrict s1,
_CONST char *__restrict s2)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
@@ -53,7 +53,7 @@ QUICKREF
char *
_DEFUN (strchr, (s1, i),
- _CONST char *s1 _AND
+ _CONST char *s1,
int i)
{
_CONST unsigned char *s = (_CONST unsigned char *)s1;
@@ -32,7 +32,7 @@ QUICKREF
char *
_DEFUN (strchrnul, (s1, i),
- _CONST char *s1 _AND
+ _CONST char *s1,
int i)
{
char *s = strchr(s1, i);
@@ -53,7 +53,7 @@ QUICKREF
int
_DEFUN (strcmp, (s1, s2),
- _CONST char *s1 _AND
+ _CONST char *s1,
_CONST char *s2)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
@@ -37,7 +37,7 @@ QUICKREF
int
_DEFUN (strcoll, (a, b),
- _CONST char *a _AND
+ _CONST char *a,
_CONST char *b)
{
@@ -53,7 +53,7 @@ QUICKREF
char*
_DEFUN (strcpy, (dst0, src0),
- char *dst0 _AND
+ char *dst0,
_CONST char *src0)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
@@ -27,7 +27,7 @@ PORTABILITY
size_t
_DEFUN (strcspn, (s1, s2),
- _CONST char *s1 _AND
+ _CONST char *s1,
_CONST char *s2)
{
_CONST char *s = s1;
@@ -4,7 +4,7 @@
char *
_DEFUN (_strdup_r, (reent_ptr, str),
- struct _reent *reent_ptr _AND
+ struct _reent *reent_ptr,
_CONST char *str)
{
size_t len = strlen (str) + 1;
@@ -386,9 +386,9 @@ QUICKREF
char *
_DEFUN (_strerror_r, (ptr, errnum, internal, errptr),
- struct _reent *ptr _AND
- int errnum _AND
- int internal _AND
+ struct _reent *ptr,
+ int errnum,
+ int internal,
int *errptr)
{
char *error;
@@ -66,8 +66,8 @@ a non-empty alternate string without assigning into its third argument.
see xpg_strerror_r.c for the POSIX version. */
char *
_DEFUN (strerror_r, (errnum, buffer, n),
- int errnum _AND
- char *buffer _AND
+ int errnum,
+ char *buffer,
size_t n)
{
char *error = _strerror_r (_REENT, errnum, 1, NULL);
@@ -43,8 +43,8 @@ static char *rcsid = "$OpenBSD: strlcat.c,v 1.8 2001/05/13 15:40:15 deraadt Exp
*/
size_t
_DEFUN (strlcat, (dst, src, siz),
- char *dst _AND
- _CONST char *src _AND
+ char *dst,
+ _CONST char *src,
size_t siz)
{
register char *d = dst;
@@ -41,8 +41,8 @@ static char *rcsid = "$OpenBSD: strlcpy.c,v 1.5 2001/05/13 15:40:16 deraadt Exp
*/
size_t
_DEFUN (strlcpy, (dst, src, siz),
- char *dst _AND
- _CONST char *src _AND
+ char *dst,
+ _CONST char *src,
size_t siz)
{
register char *d = dst;
@@ -38,8 +38,8 @@ QUICKREF
int
_DEFUN (strncasecmp, (s1, s2, n),
- _CONST char *s1 _AND
- _CONST char *s2 _AND
+ _CONST char *s1,
+ _CONST char *s2,
size_t n)
{
int d = 0;
@@ -59,8 +59,8 @@ QUICKREF
char *
_DEFUN (strncat, (s1, s2, n),
- char *__restrict s1 _AND
- _CONST char *__restrict s2 _AND
+ char *__restrict s1,
+ _CONST char *__restrict s2,
size_t n)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
@@ -53,8 +53,8 @@ QUICKREF
int
_DEFUN (strncmp, (s1, s2, n),
- _CONST char *s1 _AND
- _CONST char *s2 _AND
+ _CONST char *s1,
+ _CONST char *s2,
size_t n)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
@@ -60,8 +60,8 @@ QUICKREF
char *
_DEFUN (strncpy, (dst0, src0),
- char *__restrict dst0 _AND
- _CONST char *__restrict src0 _AND
+ char *__restrict dst0,
+ _CONST char *__restrict src0,
size_t count)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
@@ -7,7 +7,7 @@
char *
_DEFUN (strndup, (str, n),
- _CONST char *str _AND
+ _CONST char *str,
size_t n)
{
return _strndup_r (_REENT, str, n);
@@ -4,8 +4,8 @@
char *
_DEFUN (_strndup_r, (reent_ptr, str, n),
- struct _reent *reent_ptr _AND
- _CONST char *str _AND
+ struct _reent *reent_ptr,
+ _CONST char *str,
size_t n)
{
_CONST char *ptr = str;
@@ -31,7 +31,7 @@ PORTABILITY
size_t
_DEFUN (strnlen, (str, n),
- _CONST char *str _AND
+ _CONST char *str,
size_t n)
{
_CONST char *start = str;
@@ -26,7 +26,7 @@ PORTABILITY
char *
_DEFUN (strpbrk, (s1, s2),
- _CONST char *s1 _AND
+ _CONST char *s1,
_CONST char *s2)
{
_CONST char *c = s2;
@@ -31,7 +31,7 @@ QUICKREF
char *
_DEFUN (strrchr, (s, i),
- _CONST char *s _AND
+ _CONST char *s,
int i)
{
_CONST char *last = NULL;
@@ -12,7 +12,7 @@ extern char *__strtok_r (char *, const char *, char **, int);
char *
_DEFUN (strsep, (source_ptr, delim),
- register char **source_ptr _AND
+ register char **source_ptr,
register const char *delim)
{
return __strtok_r (*source_ptr, delim, source_ptr, 0);
@@ -31,7 +31,7 @@ QUICKREF
size_t
_DEFUN (strspn, (s1, s2),
- _CONST char *s1 _AND
+ _CONST char *s1,
_CONST char *s2)
{
_CONST char *s = s1;
@@ -40,7 +40,7 @@ QUICKREF
char *
_DEFUN (strstr, (searchee, lookfor),
- _CONST char *searchee _AND
+ _CONST char *searchee,
_CONST char *lookfor)
{
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
@@ -80,7 +80,7 @@ extern char *__strtok_r (char *, const char *, char **, int);
char *
_DEFUN (strtok, (s, delim),
- register char *__restrict s _AND
+ register char *__restrict s,
register const char *__restrict delim)
{
struct _reent *reent = _REENT;
@@ -31,9 +31,9 @@
char *
_DEFUN (__strtok_r, (s, delim, lasts, skip_leading_delim),
- register char *s _AND
- register const char *delim _AND
- char **lasts _AND
+ register char *s,
+ register const char *delim,
+ char **lasts,
int skip_leading_delim)
{
register char *spanp;
@@ -91,8 +91,8 @@ cont:
char *
_DEFUN (strtok_r, (s, delim, lasts),
- register char *__restrict s _AND
- register const char *__restrict delim _AND
+ register char *__restrict s,
+ register const char *__restrict delim,
char **__restrict lasts)
{
return __strtok_r (s, delim, lasts, 1);
@@ -47,8 +47,8 @@ QUICKREF
size_t
_DEFUN (strxfrm, (s1, s2, n),
- char *__restrict s1 _AND
- _CONST char *__restrict s2 _AND
+ char *__restrict s1,
+ _CONST char *__restrict s2,
size_t n)
{
size_t res;
@@ -19,8 +19,8 @@ PORTABILITY
void
_DEFUN (swab, (b1, b2, length),
- _CONST void *b1 _AND
- void *b2 _AND
+ _CONST void *b1,
+ void *b2,
ssize_t length)
{
const char *from = b1;
@@ -2,8 +2,8 @@
char *
_DEFUN(_user_strerror, (errnum, internal, errptr),
- int errnum _AND
- int internal _AND
+ int errnum,
+ int internal,
int *errptr)
{
/* prevent warning about unused parameters */
@@ -27,7 +27,7 @@ No supporting OS subroutines are required.
wchar_t *
_DEFUN (wcpcpy, (s1, s2),
- wchar_t *__restrict s1 _AND
+ wchar_t *__restrict s1,
_CONST wchar_t *__restrict s2)
{
while ((*s1++ = *s2++))
@@ -34,8 +34,8 @@ No supporting OS subroutines are required.
wchar_t *
_DEFUN (wcpncpy, (dst, src, count),
- wchar_t *__restrict dst _AND
- _CONST wchar_t *__restrict src _AND
+ wchar_t *__restrict dst,
+ _CONST wchar_t *__restrict src,
size_t count)
{
wchar_t *ret = NULL;
@@ -37,7 +37,7 @@ QUICKREF
int
_DEFUN (wcscasecmp, (s1, s2),
- _CONST wchar_t *s1 _AND
+ _CONST wchar_t *s1,
_CONST wchar_t *s2)
{
int d = 0;
@@ -62,7 +62,7 @@ No supporting OS subroutines are required.
wchar_t *
_DEFUN (wcscat, (s1, s2),
- wchar_t *__restrict s1 _AND
+ wchar_t *__restrict s1,
_CONST wchar_t *__restrict s2)
{
wchar_t *p;
@@ -59,7 +59,7 @@ No supporting OS subroutines are required.
wchar_t *
_DEFUN (wcschr, (s, c),
- _CONST wchar_t * s _AND
+ _CONST wchar_t * s,
wchar_t c)
{
_CONST wchar_t *p;
@@ -68,7 +68,7 @@ No supporting OS subroutines are required.
*/
int
_DEFUN (wcscmp, (s1, s2),
- _CONST wchar_t * s1 _AND
+ _CONST wchar_t * s1,
_CONST wchar_t * s2)
{
@@ -34,7 +34,7 @@ PORTABILITY
int
_DEFUN (wcscoll, (a, b),
- _CONST wchar_t *a _AND
+ _CONST wchar_t *a,
_CONST wchar_t *b)
{
@@ -58,7 +58,7 @@ No supporting OS subroutines are required.
wchar_t *
_DEFUN (wcscpy, (s1, s2),
- wchar_t *__restrict s1 _AND
+ wchar_t *__restrict s1,
_CONST wchar_t *__restrict s2)
{
wchar_t *p;
@@ -57,7 +57,7 @@ No supporting OS subroutines are required.
size_t
_DEFUN (wcscspn, (s, set),
- _CONST wchar_t * s _AND
+ _CONST wchar_t * s,
_CONST wchar_t * set)
{
_CONST wchar_t *p;
@@ -69,8 +69,8 @@ No supporting OS subroutines are required.
*/
size_t
_DEFUN (wcslcat, (dst, src, siz),
- wchar_t * dst _AND
- _CONST wchar_t * src _AND
+ wchar_t * dst,
+ _CONST wchar_t * src,
size_t siz)
{
wchar_t *d = dst;
@@ -63,8 +63,8 @@ No supporting OS subroutines are required.
*/
size_t
_DEFUN (wcslcpy, (dst, src, siz),
- wchar_t * dst _AND
- _CONST wchar_t * src _AND
+ wchar_t * dst,
+ _CONST wchar_t * src,
size_t siz)
{
wchar_t *d = dst;
@@ -38,8 +38,8 @@ QUICKREF
int
_DEFUN (wcsncasecmp, (s1, s2, n),
- _CONST wchar_t *s1 _AND
- _CONST wchar_t *s2 _AND
+ _CONST wchar_t *s1,
+ _CONST wchar_t *s2,
size_t n)
{
int d = 0;
@@ -63,8 +63,8 @@ No supporting OS subroutines are required.
wchar_t *
_DEFUN (wcsncat, (s1, s2, n),
- wchar_t *__restrict s1 _AND
- _CONST wchar_t *__restrict s2 _AND
+ wchar_t *__restrict s1,
+ _CONST wchar_t *__restrict s2,
size_t n)
{
wchar_t *p;
@@ -64,8 +64,8 @@ No supporting OS subroutines are required.
int
_DEFUN (wcsncmp, (s1, s2, n),
- _CONST wchar_t * s1 _AND
- _CONST wchar_t * s2 _AND
+ _CONST wchar_t * s1,
+ _CONST wchar_t * s2,
size_t n)
{
@@ -36,8 +36,8 @@ No supporting OS subroutines are required.
wchar_t *
_DEFUN (wcsncpy, (s1, s2, n),
- wchar_t *__restrict s1 _AND
- _CONST wchar_t *__restrict s2 _AND
+ wchar_t *__restrict s1,
+ _CONST wchar_t *__restrict s2,
size_t n)
{
wchar_t *dscan=s1;
@@ -53,7 +53,7 @@ PORTABILITY
size_t
_DEFUN(wcsnlen, (s, maxlen),
- _CONST wchar_t *s _AND
+ _CONST wchar_t *s,
size_t maxlen)
{
_CONST wchar_t *p;
@@ -58,7 +58,7 @@ No supporting OS subroutines are required.
wchar_t *
_DEFUN (wcspbrk, (s, set),
- _CONST wchar_t * s _AND
+ _CONST wchar_t * s,
_CONST wchar_t * set)
{
_CONST wchar_t *p;
@@ -61,7 +61,7 @@ No supporting OS subroutines are required.
wchar_t *
_DEFUN (wcsrchr, (s, c),
- _CONST wchar_t * s _AND
+ _CONST wchar_t * s,
wchar_t c)
{
_CONST wchar_t *p;
@@ -57,7 +57,7 @@ No supporting OS subroutines are required.
size_t
_DEFUN (wcsspn, (s, set),
- _CONST wchar_t * s _AND
+ _CONST wchar_t * s,
_CONST wchar_t * set)
{
_CONST wchar_t *p;
@@ -62,7 +62,7 @@ PORTABILITY
wchar_t *
_DEFUN (wcsstr, (big, little),
- _CONST wchar_t *__restrict big _AND
+ _CONST wchar_t *__restrict big,
_CONST wchar_t *__restrict little)
{
_CONST wchar_t *p;
@@ -91,8 +91,8 @@ QUICKREF
wchar_t *
_DEFUN (wcstok, (s, delim, lasts),
- register wchar_t *__restrict s _AND
- register const wchar_t *__restrict delim _AND
+ register wchar_t *__restrict s,
+ register const wchar_t *__restrict delim,
wchar_t **__restrict lasts)
{
register const wchar_t *spanp;
@@ -35,7 +35,7 @@ PORTABILITY
int
_DEFUN (wcswidth, (pwcs, n),
- _CONST wchar_t *pwcs _AND
+ _CONST wchar_t *pwcs,
size_t n)
{
@@ -37,8 +37,8 @@ PORTABILITY
size_t
_DEFUN (wcsxfrm, (a, b, n),
- wchar_t *__restrict a _AND
- _CONST wchar_t *__restrict b _AND
+ wchar_t *__restrict a,
+ _CONST wchar_t *__restrict b,
size_t n)
{
@@ -64,8 +64,8 @@ No supporting OS subroutines are required.
wchar_t *
_DEFUN (wmemchr, (s, c, n),
- _CONST wchar_t * s _AND
- wchar_t c _AND
+ _CONST wchar_t * s,
+ wchar_t c,
size_t n)
{
size_t i;
@@ -63,8 +63,8 @@ No supporting OS subroutines are required.
int
_DEFUN (wmemcmp, (s1, s2, n),
- _CONST wchar_t * s1 _AND
- _CONST wchar_t * s2 _AND
+ _CONST wchar_t * s1,
+ _CONST wchar_t * s2,
size_t n)
{
size_t i;
@@ -62,8 +62,8 @@ No supporting OS subroutines are required.
wchar_t *
_DEFUN (wmemcpy, (d, s, n),
- wchar_t *__restrict d _AND
- _CONST wchar_t *__restrict s _AND
+ wchar_t *__restrict d,
+ _CONST wchar_t *__restrict s,
size_t n)
{
@@ -67,8 +67,8 @@ No supporting OS subroutines are required.
wchar_t *
_DEFUN (wmemmove, (d, s, n),
- wchar_t * d _AND
- _CONST wchar_t * s _AND
+ wchar_t * d,
+ _CONST wchar_t * s,
size_t n)
{
@@ -35,8 +35,8 @@ No supporting OS subroutines are required.
wchar_t *
_DEFUN (wmempcpy, (d, s, n),
- wchar_t *__restrict d _AND
- _CONST wchar_t *__restrict s _AND
+ wchar_t *__restrict d,
+ _CONST wchar_t *__restrict s,
size_t n)
{
return (wchar_t *) mempcpy (d, s, n * sizeof (wchar_t));
@@ -60,8 +60,8 @@ No supporting OS subroutines are required.
wchar_t *
_DEFUN(wmemset, (s, c, n),
- wchar_t *s _AND
- wchar_t c _AND
+ wchar_t *s,
+ wchar_t c,
size_t n)
{
size_t i;
@@ -5,8 +5,8 @@
int
_DEFUN (__xpg_strerror_r, (errnum, buffer, n),
- int errnum _AND
- char *buffer _AND
+ int errnum,
+ char *buffer,
size_t n)
{
char *error;
@@ -7,7 +7,7 @@
int
_DEFUN (_kill, (pid, sig),
- int pid _AND
+ int pid,
int sig)
{
if (pid == 1 || pid < 0)
@@ -19,7 +19,7 @@ int _DEFUN(_getpid,(),)
}
int _DEFUN(_kill,(pid, sig),
- int pid _AND
+ int pid,
int sig)
{
if (pid == 0)
@@ -20,7 +20,7 @@ int _DEFUN(_getpid,(),)
}
int _DEFUN(_kill,(pid, sig),
- int pid _AND
+ int pid,
int sig)
{
if (sig == SIGABRT)
@@ -7,10 +7,10 @@
ssize_t
_DEFUN (_pread_r, (rptr, fd, buf, n, off),
- struct _reent *rptr _AND
- int fd _AND
- _PTR buf _AND
- size_t n _AND
+ struct _reent *rptr,
+ int fd,
+ _PTR buf,
+ size_t n,
off_t off)
{
off_t cur_pos;
@@ -34,9 +34,9 @@ _DEFUN (_pread_r, (rptr, fd, buf, n, off),
ssize_t
_DEFUN (__libc_pread, (fd, buf, n, off),
- int fd _AND
- _PTR buf _AND
- size_t n _AND
+ int fd,
+ _PTR buf,
+ size_t n,
off_t off)
{
return _pread_r (_REENT, fd, buf, n, off);
@@ -31,9 +31,9 @@ Supporting OS subroutine required: <<read>>, <<lseek64>>.
ssize_t
_DEFUN (__libc_pread64, (fd, buf, n, off),
- int fd _AND
- _PTR buf _AND
- size_t n _AND
+ int fd,
+ _PTR buf,
+ size_t n,
loff_t off)
{
loff_t cur_pos;
@@ -7,10 +7,10 @@
ssize_t
_DEFUN (_pwrite_r, (rptr, fd, buf, n, off),
- struct _reent *rptr _AND
- int fd _AND
- _CONST _PTR buf _AND
- size_t n _AND
+ struct _reent *rptr,
+ int fd,
+ _CONST _PTR buf,
+ size_t n,
off_t off)
{
off_t cur_pos;
@@ -34,9 +34,9 @@ _DEFUN (_pwrite_r, (rptr, fd, buf, n, off),
ssize_t
_DEFUN (__libc_pwrite, (fd, buf, n, off),
- int fd _AND
- _CONST _PTR buf _AND
- size_t n _AND
+ int fd,
+ _CONST _PTR buf,
+ size_t n,
off_t off)
{
return _pwrite_r (_REENT, fd, buf, n, off);
@@ -31,9 +31,9 @@ Supporting OS subroutine required: <<write>>, <<lseek64>>.
ssize_t
_DEFUN (__libc_pwrite64, (fd, buf, n, off),
- int fd _AND
- _PTR buf _AND
- size_t n _AND
+ int fd,
+ _PTR buf,
+ size_t n,
loff_t off)
{
loff_t cur_pos;
@@ -31,7 +31,7 @@ isatty() {
int
_DEFUN(_fstat,(file, st),
- int file _AND
+ int file,
struct stat *st)
{
st->st_mode = S_IFCHR;
@@ -5,8 +5,8 @@
int
_DEFUN (execve, (name, argv, env),
- _CONST char *name _AND
- char *_CONST argv[] _AND
+ _CONST char *name,
+ char *_CONST argv[],
char *_CONST env[])
{
return _execve_r (_REENT, name, argv, env);
@@ -6,8 +6,8 @@
int
_DEFUN (fcntl, (fd, flag, arg),
- int fd _AND
- int flag _AND
+ int fd,
+ int flag,
int arg)
{
#ifdef HAVE_FCNTL
@@ -6,7 +6,7 @@
int
_DEFUN (fstat, (fd, pstat),
- int fd _AND
+ int fd,
struct stat *pstat)
{
return _fstat_r (_REENT, fd, pstat);
@@ -6,7 +6,7 @@
int
_DEFUN (gettimeofday, (ptimeval, ptimezone),
- struct timeval *ptimeval _AND
+ struct timeval *ptimeval,
void *ptimezone)
{
return _gettimeofday_r (_REENT, ptimeval, ptimezone);
@@ -5,7 +5,7 @@
int
_DEFUN (kill, (pid, sig),
- int pid _AND
+ int pid,
int sig)
{
return _kill_r (_REENT, pid, sig);
@@ -5,7 +5,7 @@
int
_DEFUN (link, (old, new),
- _CONST char *old _AND
+ _CONST char *old,
_CONST char *new)
{
return _link_r (_REENT, old, new);
@@ -5,8 +5,8 @@
off_t
_DEFUN (lseek, (fd, pos, whence),
- int fd _AND
- off_t pos _AND
+ int fd,
+ off_t pos,
int whence)
{
return _lseek_r (_REENT, fd, pos, whence);
@@ -11,7 +11,7 @@
int
_DEFUN (open, (file, flags, ...),
- const char *file _AND
+ const char *file,
int flags _DOTS)
{
va_list ap;
@@ -5,8 +5,8 @@
_READ_WRITE_RETURN_TYPE
_DEFUN (read, (fd, buf, cnt),
- int fd _AND
- void *buf _AND
+ int fd,
+ void *buf,
size_t cnt)
{
return _read_r (_REENT, fd, buf, cnt);
@@ -6,7 +6,7 @@
int
_DEFUN (stat, (file, pstat),
- _CONST char *file _AND
+ _CONST char *file,
struct stat *pstat)
{
return _stat_r (_REENT, file, pstat);
@@ -5,8 +5,8 @@
_READ_WRITE_RETURN_TYPE
_DEFUN (write, (fd, buf, cnt),
- int fd _AND
- const void *buf _AND
+ int fd,
+ const void *buf,
size_t cnt)
{
return _write_r (_REENT, fd, buf, cnt);
@@ -7,7 +7,7 @@
char *
_DEFUN (asctime_r, (tim_p, result),
- _CONST struct tm *__restrict tim_p _AND
+ _CONST struct tm *__restrict tim_p,
char *__restrict result)
{
static _CONST char day_name[7][3] = {
@@ -6,7 +6,7 @@
char *
_DEFUN (ctime_r, (tim_p, result),
- _CONST time_t * tim_p _AND
+ _CONST time_t * tim_p,
char * result)
{
@@ -31,7 +31,7 @@ in all implementations.
double
_DEFUN (difftime, (tim1, tim2),
- time_t tim1 _AND
+ time_t tim1,
time_t tim2)
{
return (double)(tim1 - tim2);
@@ -47,7 +47,7 @@
struct tm *
_DEFUN (gmtime_r, (tim_p, res),
- _CONST time_t *__restrict tim_p _AND
+ _CONST time_t *__restrict tim_p,
struct tm *__restrict res)
{
long days, rem;
@@ -17,7 +17,7 @@
struct tm *
_DEFUN (localtime_r, (tim_p, res),
- _CONST time_t *__restrict tim_p _AND
+ _CONST time_t *__restrict tim_p,
struct tm *__restrict res)
{
long offset;
@@ -1432,9 +1432,9 @@ recurse:
size_t
_DEFUN (strftime, (s, maxsize, format, tim_p),
- CHAR *__restrict s _AND
- size_t maxsize _AND
- _CONST CHAR *__restrict format _AND
+ CHAR *__restrict s,
+ size_t maxsize,
+ _CONST CHAR *__restrict format,
_CONST struct tm *__restrict tim_p)
{
#ifdef _WANT_C99_TIME_FORMATS
@@ -39,10 +39,10 @@ Supporting OS subroutine required: <<read>>, <<lseek>>.
ssize_t
_DEFUN (_pread_r, (rptr, fd, buf, n, off),
- struct _reent *rptr _AND
- int fd _AND
- _PTR buf _AND
- size_t n _AND
+ struct _reent *rptr,
+ int fd,
+ _PTR buf,
+ size_t n,
off_t off)
{
off_t cur_pos;
@@ -66,9 +66,9 @@ _DEFUN (_pread_r, (rptr, fd, buf, n, off),
ssize_t
_DEFUN (pread, (fd, buf, n, off),
- int fd _AND
- _PTR buf _AND
- size_t n _AND
+ int fd,
+ _PTR buf,
+ size_t n,
off_t off)
{
return _pread_r (_REENT, fd, buf, n, off);
@@ -40,10 +40,10 @@ Supporting OS subroutine required: <<write>>, <<lseek>>.
ssize_t
_DEFUN (_pwrite_r, (rptr, fd, buf, n, off),
- struct _reent *rptr _AND
- int fd _AND
- _CONST _PTR buf _AND
- size_t n _AND
+ struct _reent *rptr,
+ int fd,
+ _CONST _PTR buf,
+ size_t n,
off_t off)
{
off_t cur_pos;
@@ -67,9 +67,9 @@ _DEFUN (_pwrite_r, (rptr, fd, buf, n, off),
ssize_t
_DEFUN (pwrite, (fd, buf, n, off),
- int fd _AND
- _CONST _PTR buf _AND
- size_t n _AND
+ int fd,
+ _CONST _PTR buf,
+ size_t n,
off_t off)
{
return _pwrite_r (_REENT, fd, buf, n, off);
@@ -45,8 +45,8 @@
*/
int
_DEFUN( ttyname_r,(fd, name, namesize),
- int fd _AND
- char *name _AND
+ int fd,
+ char *name,
size_t namesize)
{
struct stat sb;
@@ -63,7 +63,7 @@ static const char xdr_zero[BYTES_PER_XDR_UNIT] = { 0, 0, 0, 0 };
*/
void
_DEFUN (xdr_free, (proc, objp),
- xdrproc_t proc _AND
+ xdrproc_t proc,
void * objp)
{
XDR x;
@@ -87,7 +87,7 @@ _DEFUN_VOID (xdr_void)
*/
bool_t
_DEFUN (xdr_int, (xdrs, ip),
- XDR * xdrs _AND
+ XDR * xdrs,
int * ip)
{
#if INT_MAX < LONG_MAX
@@ -122,7 +122,7 @@ _DEFUN (xdr_int, (xdrs, ip),
*/
bool_t
_DEFUN (xdr_u_int, (xdrs, up),
- XDR * xdrs _AND
+ XDR * xdrs,
u_int * up)
{
#if UINT_MAX < ULONG_MAX
@@ -157,7 +157,7 @@ _DEFUN (xdr_u_int, (xdrs, up),
*/
bool_t
_DEFUN (xdr_long, (xdrs, lp),
- XDR * xdrs _AND
+ XDR * xdrs,
long * lp)
{
if ((xdrs->x_op == XDR_ENCODE)
@@ -178,7 +178,7 @@ _DEFUN (xdr_long, (xdrs, lp),
*/
bool_t
_DEFUN (xdr_u_long, (xdrs, ulp),
- XDR * xdrs _AND
+ XDR * xdrs,
u_long * ulp)
{
switch (xdrs->x_op)
@@ -209,7 +209,7 @@ _DEFUN (xdr_u_long, (xdrs, ulp),
*/
bool_t
_DEFUN (xdr_int32_t, (xdrs, int32_p),
- XDR * xdrs _AND
+ XDR * xdrs,
int32_t * int32_p)
{
switch (xdrs->x_op)
@@ -231,7 +231,7 @@ _DEFUN (xdr_int32_t, (xdrs, int32_p),
*/
bool_t
_DEFUN (xdr_u_int32_t, (xdrs, u_int32_p),
- XDR * xdrs _AND
+ XDR * xdrs,
u_int32_t * u_int32_p)
{
switch (xdrs->x_op)
@@ -253,7 +253,7 @@ _DEFUN (xdr_u_int32_t, (xdrs, u_int32_p),
*/
bool_t
_DEFUN (xdr_uint32_t, (xdrs, uint32_p),
- XDR * xdrs _AND
+ XDR * xdrs,
uint32_t * uint32_p)
{
switch (xdrs->x_op)
@@ -275,7 +275,7 @@ _DEFUN (xdr_uint32_t, (xdrs, uint32_p),
*/
bool_t
_DEFUN (xdr_short, (xdrs, sp),
- XDR * xdrs _AND
+ XDR * xdrs,
short * sp)
{
long l;
@@ -303,7 +303,7 @@ _DEFUN (xdr_short, (xdrs, sp),
*/
bool_t
_DEFUN (xdr_u_short, (xdrs, usp),
- XDR * xdrs _AND
+ XDR * xdrs,
u_short * usp)
{
long l;
@@ -332,7 +332,7 @@ _DEFUN (xdr_u_short, (xdrs, usp),
*/
bool_t
_DEFUN (xdr_int16_t, (xdrs, int16_p),
- XDR * xdrs _AND
+ XDR * xdrs,
int16_t * int16_p)
{
int32_t t;
@@ -360,7 +360,7 @@ _DEFUN (xdr_int16_t, (xdrs, int16_p),
*/
bool_t
_DEFUN (xdr_u_int16_t, (xdrs, u_int16_p),
- XDR * xdrs _AND
+ XDR * xdrs,
u_int16_t * u_int16_p)
{
uint32_t ut;
@@ -388,7 +388,7 @@ _DEFUN (xdr_u_int16_t, (xdrs, u_int16_p),
*/
bool_t
_DEFUN (xdr_uint16_t, (xdrs, uint16_p),
- XDR * xdrs _AND
+ XDR * xdrs,
uint16_t * uint16_p)
{
uint32_t ut;
@@ -416,7 +416,7 @@ _DEFUN (xdr_uint16_t, (xdrs, uint16_p),
*/
bool_t
_DEFUN (xdr_int8_t, (xdrs, int8_p),
- XDR * xdrs _AND
+ XDR * xdrs,
int8_t * int8_p)
{
int32_t t;
@@ -444,7 +444,7 @@ _DEFUN (xdr_int8_t, (xdrs, int8_p),
*/
bool_t
_DEFUN (xdr_u_int8_t, (xdrs, u_int8_p),
- XDR * xdrs _AND
+ XDR * xdrs,
u_int8_t * u_int8_p)
{
uint32_t ut;
@@ -472,7 +472,7 @@ _DEFUN (xdr_u_int8_t, (xdrs, u_int8_p),
*/
bool_t
_DEFUN (xdr_uint8_t, (xdrs, uint8_p),
- XDR * xdrs _AND
+ XDR * xdrs,
uint8_t * uint8_p)
{
uint32_t ut;
@@ -502,7 +502,7 @@ _DEFUN (xdr_uint8_t, (xdrs, uint8_p),
*/
bool_t
_DEFUN (xdr_char, (xdrs, cp),
- XDR * xdrs _AND
+ XDR * xdrs,
char * cp)
{
int i;
@@ -519,7 +519,7 @@ _DEFUN (xdr_char, (xdrs, cp),
*/
bool_t
_DEFUN (xdr_u_char, (xdrs, ucp),
- XDR * xdrs _AND
+ XDR * xdrs,
u_char * ucp)
{
u_int u;
@@ -536,7 +536,7 @@ _DEFUN (xdr_u_char, (xdrs, ucp),
*/
bool_t
_DEFUN (xdr_bool, (xdrs, bp),
- XDR * xdrs _AND
+ XDR * xdrs,
bool_t * bp)
{
long lb;
@@ -564,7 +564,7 @@ _DEFUN (xdr_bool, (xdrs, bp),
*/
bool_t
_DEFUN (xdr_enum, (xdrs, ep),
- XDR * xdrs _AND
+ XDR * xdrs,
enum_t * ep)
{
enum sizecheck
@@ -608,8 +608,8 @@ _DEFUN (xdr_enum, (xdrs, ep),
*/
bool_t
_DEFUN (xdr_opaque, (xdrs, cp, cnt),
- XDR * xdrs _AND
- caddr_t cp _AND
+ XDR * xdrs,
+ caddr_t cp,
u_int cnt)
{
u_int rndup;
@@ -657,9 +657,9 @@ _DEFUN (xdr_opaque, (xdrs, cp, cnt),
*/
bool_t
_DEFUN (xdr_bytes, (xdrs, cpp, sizep, maxsize),
- XDR * xdrs _AND
- char ** cpp _AND
- u_int * sizep _AND
+ XDR * xdrs,
+ char ** cpp,
+ u_int * sizep,
u_int maxsize)
{
char *sp = *cpp; /* sp is the actual string pointer */
@@ -712,7 +712,7 @@ _DEFUN (xdr_bytes, (xdrs, cpp, sizep, maxsize),
*/
bool_t
_DEFUN (xdr_netobj, (xdrs, np),
- XDR * xdrs _AND
+ XDR * xdrs,
struct netobj * np)
{
return (xdr_bytes (xdrs, &np->n_bytes, &np->n_len, MAX_NETOBJ_SZ));
@@ -735,10 +735,10 @@ _DEFUN (xdr_netobj, (xdrs, np),
*/
bool_t
_DEFUN (xdr_union, (xdrs, dscmp, unp, choices, dfault),
- XDR * xdrs _AND
- enum_t * dscmp _AND
- char * unp _AND
- const struct xdr_discrim * choices _AND
+ XDR * xdrs,
+ enum_t * dscmp,
+ char * unp,
+ const struct xdr_discrim * choices,
xdrproc_t dfault)
{
enum_t dscm;
@@ -784,8 +784,8 @@ _DEFUN (xdr_union, (xdrs, dscmp, unp, choices, dfault),
*/
bool_t
_DEFUN (xdr_string, (xdrs, cpp, maxsize),
- XDR * xdrs _AND
- char ** cpp _AND
+ XDR * xdrs,
+ char ** cpp,
u_int maxsize)
{
char *sp = *cpp; /* sp is the actual string pointer */
@@ -862,7 +862,7 @@ _DEFUN (xdr_string, (xdrs, cpp, maxsize),
*/
bool_t
_DEFUN (xdr_wrapstring, (xdrs, cpp),
- XDR * xdrs _AND
+ XDR * xdrs,
char ** cpp)
{
return xdr_string (xdrs, cpp, LASTUNSIGNED);
@@ -883,7 +883,7 @@ _DEFUN (xdr_wrapstring, (xdrs, cpp),
*/
bool_t
_DEFUN (xdr_int64_t, (xdrs, llp),
- XDR * xdrs _AND
+ XDR * xdrs,
int64_t * llp)
{
int32_t t1, t2;
@@ -914,7 +914,7 @@ _DEFUN (xdr_int64_t, (xdrs, llp),
*/
bool_t
_DEFUN (xdr_u_int64_t, (xdrs, ullp),
- XDR * xdrs _AND
+ XDR * xdrs,
u_int64_t * ullp)
{
uint32_t t1, t2;
@@ -946,7 +946,7 @@ _DEFUN (xdr_u_int64_t, (xdrs, ullp),
*/
bool_t
_DEFUN (xdr_uint64_t, (xdrs, ullp),
- XDR * xdrs _AND
+ XDR * xdrs,
uint64_t * ullp)
{
uint32_t t1, t2;
@@ -979,7 +979,7 @@ _DEFUN (xdr_uint64_t, (xdrs, ullp),
*/
bool_t
_DEFUN (xdr_hyper, (xdrs, llp),
- XDR * xdrs _AND
+ XDR * xdrs,
quad_t * llp)
{
/*
@@ -995,7 +995,7 @@ _DEFUN (xdr_hyper, (xdrs, llp),
*/
bool_t
_DEFUN (xdr_u_hyper, (xdrs, ullp),
- XDR * xdrs _AND
+ XDR * xdrs,
u_quad_t * ullp)
{
/*
@@ -1011,7 +1011,7 @@ _DEFUN (xdr_u_hyper, (xdrs, ullp),
*/
bool_t
_DEFUN (xdr_longlong_t, (xdrs, llp),
- XDR * xdrs _AND
+ XDR * xdrs,
quad_t * llp)
{
/*
@@ -1027,7 +1027,7 @@ _DEFUN (xdr_longlong_t, (xdrs, llp),
*/
bool_t
_DEFUN (xdr_u_longlong_t, (xdrs, ullp),
- XDR * xdrs _AND
+ XDR * xdrs,
u_quad_t *ullp)
{
/*
@@ -55,11 +55,11 @@
*/
bool_t
_DEFUN (xdr_array, (xdrs, addrp, sizep, maxsize, elsize, elproc),
- XDR * xdrs _AND
- caddr_t * addrp _AND
- u_int * sizep _AND
- u_int maxsize _AND
- u_int elsize _AND
+ XDR * xdrs,
+ caddr_t * addrp,
+ u_int * sizep,
+ u_int maxsize,
+ u_int elsize,
xdrproc_t elproc)
{
u_int i;
@@ -139,10 +139,10 @@ _DEFUN (xdr_array, (xdrs, addrp, sizep, maxsize, elsize, elproc),
*/
bool_t
_DEFUN (xdr_vector, (xdrs, basep, nelem, elemsize, xdr_elem),
- XDR * xdrs _AND
- char *basep _AND
- u_int nelem _AND
- u_int elemsize _AND
+ XDR * xdrs,
+ char *basep,
+ u_int nelem,
+ u_int elemsize,
xdrproc_t xdr_elem)
{
u_int i;
@@ -60,7 +60,7 @@
bool_t
_DEFUN (xdr_float, (xdrs, fp),
- XDR * xdrs _AND
+ XDR * xdrs,
float *fp)
{
switch (xdrs->x_op)
@@ -81,7 +81,7 @@ _DEFUN (xdr_float, (xdrs, fp),
#if !defined(_DOUBLE_IS_32BITS)
bool_t
_DEFUN (xdr_double, (xdrs, dp),
- XDR * xdrs _AND
+ XDR * xdrs,
double *dp)
{
int32_t *i32p;
@@ -82,7 +82,7 @@ static struct sgl_limits
bool_t
_DEFUN (xdr_float, (xdrs, fp),
- XDR * xdrs _AND
+ XDR * xdrs,
float *fp)
{
struct ieee_single is;
@@ -185,7 +185,7 @@ static struct dbl_limits
bool_t
_DEFUN (xdr_double, (xdrs, dp),
- XDR * xdrs _AND
+ XDR * xdrs,
double *dp)
{
int32_t *lp;
@@ -102,9 +102,9 @@ static _CONST struct xdr_ops xdrmem_ops_unaligned = {
*/
void
_DEFUN (xdrmem_create, (xdrs, addr, size, op),
- XDR * xdrs _AND
- caddr_t addr _AND
- u_int size _AND
+ XDR * xdrs,
+ caddr_t addr,
+ u_int size,
enum xdr_op op)
{
xdrs->x_op = op;
@@ -123,7 +123,7 @@ _DEFUN (xdrmem_destroy, (xdrs),
static bool_t
_DEFUN (xdrmem_getlong_aligned, (xdrs, lp),
- XDR * xdrs _AND
+ XDR * xdrs,
long *lp)
{
if (xdrs->x_handy < sizeof (int32_t))
@@ -136,7 +136,7 @@ _DEFUN (xdrmem_getlong_aligned, (xdrs, lp),
static bool_t
_DEFUN (xdrmem_putlong_aligned, (xdrs, lp),
- XDR * xdrs _AND
+ XDR * xdrs,
_CONST long *lp)
{
if (xdrs->x_handy < sizeof (int32_t))
@@ -149,7 +149,7 @@ _DEFUN (xdrmem_putlong_aligned, (xdrs, lp),
static bool_t
_DEFUN (xdrmem_getlong_unaligned, (xdrs, lp),
- XDR * xdrs _AND
+ XDR * xdrs,
long *lp)
{
u_int32_t l;
@@ -165,7 +165,7 @@ _DEFUN (xdrmem_getlong_unaligned, (xdrs, lp),
static bool_t
_DEFUN (xdrmem_putlong_unaligned, (xdrs, lp),
- XDR * xdrs _AND
+ XDR * xdrs,
_CONST long *lp)
{
u_int32_t l;
@@ -181,8 +181,8 @@ _DEFUN (xdrmem_putlong_unaligned, (xdrs, lp),
static bool_t
_DEFUN (xdrmem_getbytes, (xdrs, addr, len),
- XDR * xdrs _AND
- char *addr _AND
+ XDR * xdrs,
+ char *addr,
u_int len)
{
if (xdrs->x_handy < len)
@@ -195,8 +195,8 @@ _DEFUN (xdrmem_getbytes, (xdrs, addr, len),
static bool_t
_DEFUN (xdrmem_putbytes, (xdrs, addr, len),
- XDR * xdrs _AND
- _CONST char *addr _AND
+ XDR * xdrs,
+ _CONST char *addr,
u_int len)
{
if (xdrs->x_handy < len)
@@ -217,7 +217,7 @@ _DEFUN (xdrmem_getpos, (xdrs),
static bool_t
_DEFUN (xdrmem_setpos, (xdrs, pos),
- XDR * xdrs _AND
+ XDR * xdrs,
u_int pos)
{
caddr_t newaddr = xdrs->x_base + pos;
@@ -237,7 +237,7 @@ _DEFUN (xdrmem_setpos, (xdrs, pos),
static int32_t *
_DEFUN (xdrmem_inline_aligned, (xdrs, len),
- XDR * xdrs _AND
+ XDR * xdrs,
u_int len)
{
int32_t *buf = 0;
@@ -253,7 +253,7 @@ _DEFUN (xdrmem_inline_aligned, (xdrs, len),
static int32_t *
_DEFUN (xdrmem_inline_unaligned, (xdrs, len),
- XDR * xdrs _AND
+ XDR * xdrs,
u_int len)
{
return (0);
@@ -261,7 +261,7 @@ _DEFUN (xdrmem_inline_unaligned, (xdrs, len),
static bool_t
_DEFUN (xdrmem_getint32_aligned, (xdrs, ip),
- XDR *xdrs _AND
+ XDR *xdrs,
int32_t *ip)
{
if (xdrs->x_handy < sizeof(int32_t))
@@ -274,7 +274,7 @@ _DEFUN (xdrmem_getint32_aligned, (xdrs, ip),
static bool_t
_DEFUN (xdrmem_putint32_aligned, (xdrs, ip),
- XDR *xdrs _AND
+ XDR *xdrs,
_CONST int32_t *ip)
{
if (xdrs->x_handy < sizeof(int32_t))
@@ -287,7 +287,7 @@ _DEFUN (xdrmem_putint32_aligned, (xdrs, ip),
static bool_t
_DEFUN (xdrmem_getint32_unaligned, (xdrs, ip),
- XDR *xdrs _AND
+ XDR *xdrs,
int32_t *ip)
{
u_int32_t l;
@@ -303,7 +303,7 @@ _DEFUN (xdrmem_getint32_unaligned, (xdrs, ip),
static bool_t
_DEFUN (xdrmem_putint32_unaligned, (xdrs, ip),
- XDR *xdrs _AND
+ XDR *xdrs,
_CONST int32_t *ip)
{
u_int32_t l;
@@ -36,7 +36,7 @@ _DEFUN (xdr_set_vprintf, (fnptr),
void
_DEFUN (xdr_vwarnx, (format, ap),
- _CONST char *format _AND
+ _CONST char *format,
va_list ap)
{
if (xdr_vprintf)
@@ -170,11 +170,11 @@ bool_t _EXFUN (__xdrrec_setnonblock, (XDR *, int));
*/
void
_DEFUN (xdrrec_create, (xdrs, sendsize, recvsize, tcp_handle, readit, writeit),
- XDR * xdrs _AND
- u_int sendsize _AND
- u_int recvsize _AND
- void *tcp_handle _AND
- int _EXPARM (readit, (void *, void *, int)) _AND
+ XDR * xdrs,
+ u_int sendsize,
+ u_int recvsize,
+ void *tcp_handle,
+ int _EXPARM (readit, (void *, void *, int)),
int _EXPARM (writeit, (void *, void *, int)))
{
RECSTREAM *rstrm;
@@ -262,7 +262,7 @@ _DEFUN (xdrrec_create, (xdrs, sendsize, recvsize, tcp_handle, readit, writeit),
static bool_t
_DEFUN (xdrrec_getlong, (xdrs, lp),
- XDR * xdrs _AND
+ XDR * xdrs,
long *lp)
{
RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private);
@@ -289,7 +289,7 @@ _DEFUN (xdrrec_getlong, (xdrs, lp),
static bool_t
_DEFUN (xdrrec_putlong, (xdrs, lp),
- XDR * xdrs _AND
+ XDR * xdrs,
_CONST long *lp)
{
RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private);
@@ -314,8 +314,8 @@ _DEFUN (xdrrec_putlong, (xdrs, lp),
static bool_t /* must manage buffers, fragments, and records */
_DEFUN (xdrrec_getbytes, (xdrs, addr, len),
- XDR * xdrs _AND
- char *addr _AND
+ XDR * xdrs,
+ char *addr,
u_int len)
{
RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private);
@@ -344,8 +344,8 @@ _DEFUN (xdrrec_getbytes, (xdrs, addr, len),
static bool_t
_DEFUN (xdrrec_putbytes, (xdrs, addr, len),
- XDR * xdrs _AND
- _CONST char *addr _AND
+ XDR * xdrs,
+ _CONST char *addr,
u_int len)
{
RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private);
@@ -399,7 +399,7 @@ _DEFUN (xdrrec_getpos, (xdrs),
static bool_t
_DEFUN (xdrrec_setpos, (xdrs, pos),
- XDR * xdrs _AND
+ XDR * xdrs,
u_int pos)
{
RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private;
@@ -440,7 +440,7 @@ _DEFUN (xdrrec_setpos, (xdrs, pos),
static int32_t *
_DEFUN (xdrrec_inline, (xdrs, len),
- XDR * xdrs _AND
+ XDR * xdrs,
u_int len)
{
RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private;
@@ -494,7 +494,7 @@ _DEFUN (xdrrec_destroy, (xdrs),
static bool_t
_DEFUN (xdrrec_getint32, (xdrs, ip),
- XDR *xdrs _AND
+ XDR *xdrs,
int32_t *ip)
{
RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private);
@@ -521,7 +521,7 @@ _DEFUN (xdrrec_getint32, (xdrs, ip),
static bool_t
_DEFUN (xdrrec_putint32, (xdrs, ip),
- XDR *xdrs _AND
+ XDR *xdrs,
_CONST int32_t *ip)
{
RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private);
@@ -618,7 +618,7 @@ _DEFUN (xdrrec_eof, (xdrs),
*/
bool_t
_DEFUN (xdrrec_endofrecord, (xdrs, sendnow),
- XDR * xdrs _AND
+ XDR * xdrs,
bool_t sendnow)
{
RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private);
@@ -645,8 +645,8 @@ _DEFUN (xdrrec_endofrecord, (xdrs, sendnow),
*/
bool_t
_DEFUN (__xdrrec_getrec, (xdrs, statp, expectdata),
- XDR * xdrs _AND
- enum xprt_stat * statp _AND
+ XDR * xdrs,
+ enum xprt_stat * statp,
bool_t expectdata)
{
RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private);
@@ -738,7 +738,7 @@ _DEFUN (__xdrrec_getrec, (xdrs, statp, expectdata),
bool_t
_DEFUN (__xdrrec_setnonblock, (xdrs, maxrec),
- XDR * xdrs _AND
+ XDR * xdrs,
int maxrec)
{
RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private);
@@ -755,7 +755,7 @@ _DEFUN (__xdrrec_setnonblock, (xdrs, maxrec),
*/
static bool_t
_DEFUN (flush_out, (rstrm, eor),
- RECSTREAM * rstrm _AND
+ RECSTREAM * rstrm,
bool_t eor)
{
u_int32_t eormask = (eor == TRUE) ? LAST_FRAG : 0;
@@ -799,8 +799,8 @@ _DEFUN (fill_input_buf, (rstrm),
static bool_t /* knows nothing about records! Only about input buffers */
_DEFUN (get_input_bytes, (rstrm, addr, len),
- RECSTREAM * rstrm _AND
- char *addr _AND
+ RECSTREAM * rstrm,
+ char *addr,
size_t len)
{
size_t current;
@@ -861,7 +861,7 @@ _DEFUN (set_input_fragment, (rstrm),
static bool_t /* consumes input bytes; knows nothing about records! */
_DEFUN (skip_input_bytes, (rstrm, cnt),
- RECSTREAM * rstrm _AND
+ RECSTREAM * rstrm,
long cnt)
{
size_t current;
@@ -898,7 +898,7 @@ _DEFUN (fix_buf_size, (s),
*/
static bool_t
_DEFUN (realloc_stream, (rstrm, size),
- RECSTREAM * rstrm _AND
+ RECSTREAM * rstrm,
int size)
{
ptrdiff_t diff;
@@ -57,9 +57,9 @@
*/
bool_t
_DEFUN (xdr_reference, (xdrs, pp, size, proc),
- XDR * xdrs _AND
- caddr_t * pp _AND
- u_int size _AND
+ XDR * xdrs,
+ caddr_t * pp,
+ u_int size,
xdrproc_t proc)
{
caddr_t loc = *pp;
@@ -118,9 +118,9 @@ _DEFUN (xdr_reference, (xdrs, pp, size, proc),
*/
bool_t
_DEFUN (xdr_pointer, (xdrs, objpp, obj_size, xdr_obj),
- XDR * xdrs _AND
- char **objpp _AND
- u_int obj_size _AND
+ XDR * xdrs,
+ char **objpp,
+ u_int obj_size,
xdrproc_t xdr_obj)
{
bool_t more_data;
@@ -44,7 +44,7 @@
/* ARGSUSED */
static bool_t
_DEFUN (x_putlong, (xdrs, longp),
- XDR * xdrs _AND
+ XDR * xdrs,
_CONST long *longp)
{
xdrs->x_handy += BYTES_PER_XDR_UNIT;
@@ -54,8 +54,8 @@ _DEFUN (x_putlong, (xdrs, longp),
/* ARGSUSED */
static bool_t
_DEFUN (x_putbytes, (xdrs, bp, len),
- XDR * xdrs _AND
- const char *bp _AND
+ XDR * xdrs,
+ const char *bp,
u_int len)
{
xdrs->x_handy += len;
@@ -72,7 +72,7 @@ _DEFUN (x_getpostn, (xdrs),
/* ARGSUSED */
static bool_t
_DEFUN (x_setpostn, (xdrs, pos),
- XDR * xdrs _AND
+ XDR * xdrs,
u_int pos)
{
/* This is not allowed */
@@ -81,7 +81,7 @@ _DEFUN (x_setpostn, (xdrs, pos),
static int32_t *
_DEFUN (x_inline, (xdrs, len),
- XDR * xdrs _AND
+ XDR * xdrs,
u_int len)
{
if (len == 0)
@@ -133,7 +133,7 @@ _DEFUN (x_destroy, (xdrs),
static bool_t
_DEFUN (x_putint32, (xdrs, int32p),
- XDR *xdrs _AND
+ XDR *xdrs,
_CONST int32_t *int32p)
{
xdrs->x_handy += BYTES_PER_XDR_UNIT;
@@ -143,7 +143,7 @@ _DEFUN (x_putint32, (xdrs, int32p),
unsigned long
_DEFUN (xdr_sizeof, (func, data),
- xdrproc_t func _AND
+ xdrproc_t func,
_PTR data)
{
XDR x;
@@ -84,8 +84,8 @@ static _CONST struct xdr_ops xdrstdio_ops = {
*/
void
_DEFUN (xdrstdio_create, (xdrs, file, op),
- XDR * xdrs _AND
- FILE * file _AND
+ XDR * xdrs,
+ FILE * file,
enum xdr_op op)
{
xdrs->x_op = op;
@@ -109,7 +109,7 @@ _DEFUN (xdrstdio_destroy, (xdrs),
static bool_t
_DEFUN (xdrstdio_getlong, (xdrs, lp),
- XDR * xdrs _AND
+ XDR * xdrs,
long *lp)
{
u_int32_t temp;
@@ -122,7 +122,7 @@ _DEFUN (xdrstdio_getlong, (xdrs, lp),
static bool_t
_DEFUN (xdrstdio_putlong, (xdrs, lp),
- XDR * xdrs _AND
+ XDR * xdrs,
_CONST long *lp)
{
u_int32_t temp = htonl ((u_int32_t) * lp);
@@ -134,8 +134,8 @@ _DEFUN (xdrstdio_putlong, (xdrs, lp),
static bool_t
_DEFUN (xdrstdio_getbytes, (xdrs, addr, len),
- XDR * xdrs _AND
- char *addr _AND
+ XDR * xdrs,
+ char *addr,
u_int len)
{
if ((len != 0) && (fread (addr, (size_t) len, 1,
@@ -146,8 +146,8 @@ _DEFUN (xdrstdio_getbytes, (xdrs, addr, len),
static bool_t
_DEFUN (xdrstdio_putbytes, (xdrs, addr, len),
- XDR * xdrs _AND
- _CONST char *addr _AND
+ XDR * xdrs,
+ _CONST char *addr,
u_int len)
{
if ((len != 0) && (fwrite (addr, (size_t) len, 1,
@@ -165,7 +165,7 @@ _DEFUN (xdrstdio_getpos, (xdrs),
static bool_t
_DEFUN (xdrstdio_setpos, (xdrs, pos),
- XDR * xdrs _AND
+ XDR * xdrs,
u_int pos)
{
return ((fseek ((FILE *) xdrs->x_private, (long) pos, 0) < 0) ?
@@ -175,7 +175,7 @@ _DEFUN (xdrstdio_setpos, (xdrs, pos),
/* ARGSUSED */
static int32_t *
_DEFUN (xdrstdio_inline, (xdrs, len),
- XDR * xdrs _AND
+ XDR * xdrs,
u_int len)
{
/*
@@ -192,7 +192,7 @@ _DEFUN (xdrstdio_inline, (xdrs, len),
static bool_t
_DEFUN (xdrstdio_getint32, (xdrs, ip),
- XDR *xdrs _AND
+ XDR *xdrs,
int32_t *ip)
{
int32_t temp;
@@ -205,7 +205,7 @@ _DEFUN (xdrstdio_getint32, (xdrs, ip),
static bool_t
_DEFUN (xdrstdio_putint32, (xdrs, ip),
- XDR *xdrs _AND
+ XDR *xdrs,
_CONST int32_t *ip)
{
int32_t temp = htonl (*ip);
@@ -90,7 +90,7 @@ static const double b[] = { 1.57079632679489661923, 0.78539816339744830962 };
double
_DEFUN (asine, (double, int),
- double x _AND
+ double x,
int acosine)
{
int flag, i;
@@ -70,7 +70,7 @@ PORTABILITY
double
_DEFUN (atan2, (double, double),
- double v _AND
+ double v,
double u)
{
return (atangent (0.0, v, u, 1));
@@ -86,9 +86,9 @@ static const double p[] = { -0.13688768894191926929e+2,
double
_DEFUN (atangent, (double, double, double, int),
- double x _AND
- double v _AND
- double u _AND
+ double x,
+ double v,
+ double u,
int arctan2)
{
double f, g, R, P, Q, A, res;
@@ -64,7 +64,7 @@ PORTABILITY
double
_DEFUN (ldexp, (double, int),
- double d _AND
+ double d,
int e)
{
int exp;
@@ -80,7 +80,7 @@ static const double C3 = 0.43429448190325182765;
double
_DEFUN (logarithm, (double, int),
- double x _AND
+ double x,
int ten)
{
int N;
@@ -21,8 +21,8 @@
void
_DEFUN (sincos, (x, sinx, cosx),
- double x _AND
- double *sinx _AND
+ double x,
+ double *sinx,
double *cosx)
{
*sinx = sin (x);
@@ -73,7 +73,7 @@ static const double r[] = { -0.16666666666666665052,
double
_DEFUN (sine, (double, int),
- double x _AND
+ double x,
int cosine)
{
int sgn, N;
@@ -95,7 +95,7 @@ static const double V_OVER2_MINUS1 = 0.13830277879601902638e-4;
double
_DEFUN (sineh, (double, int),
- double x _AND
+ double x,
int cosineh)
{
double y, f, P, Q, R, res, z, w;
@@ -31,7 +31,7 @@ static const float b[] = { 1.570796326, 0.785398163 };
float
_DEFUN (asinef, (float, int),
- float x _AND
+ float x,
int acosine)
{
int flag, i;
@@ -19,7 +19,7 @@
float
_DEFUN (atan2f, (float, float),
- float v _AND
+ float v,
float u)
{
return (atangentf (0.0, v, u, 1));
@@ -32,9 +32,9 @@ static const float p[] = { -0.4708325141, -0.5090958253e-1 };
float
_DEFUN (atangentf, (float, float, float, int),
- float x _AND
- float v _AND
- float u _AND
+ float x,
+ float v,
+ float u,
int arctan2)
{
float f, g, R, P, Q, A, res;
@@ -26,7 +26,7 @@ static const float one = 1.0, Zero[] = {0.0, -0.0,};
float
_DEFUN (fmodf, (float, float),
- float x _AND
+ float x,
float y)
{
__int32_t n,hx,hy,hz,ix,iy,sx,i;
@@ -24,7 +24,7 @@
float
_DEFUN (ldexpf, (float, int),
- float d _AND
+ float d,
int e)
{
int exp;
@@ -32,7 +32,7 @@ static const float C3 = 0.4342944819;
float
_DEFUN (logarithmf, (float, int),
- float x _AND
+ float x,
int ten)
{
int N;
@@ -19,8 +19,8 @@
void
_DEFUN (sincosf, (x, sinx, cosx),
- float x _AND
- float *sinx _AND
+ float x,
+ float *sinx,
float *cosx)
{
*sinx = sin (x);
@@ -33,7 +33,7 @@ static const float r[] = { -0.1666665668,
float
_DEFUN (sinef, (float, int),
- float x _AND
+ float x,
int cosine)
{
int sgn, N;
@@ -33,7 +33,7 @@ static const float V_OVER2_MINUS1 = 0.1383027787e-4;
float
_DEFUN (sinehf, (float, int),
- float x _AND
+ float x,
int cosineh)
{
float y, f, P, Q, R, res, z, w;
@@ -50,7 +50,7 @@ _DEFUN_VOID(test_atoff)
static
void
_DEFUN(iterate,(func, name),
- void _EXFUN((*func),(void)) _AND
+ void _EXFUN((*func),(void)),
char *name)
{
@@ -71,7 +71,7 @@ int_type *p = ints;
static void
_DEFUN(int_iterate,(func, name),
- void (*func)() _AND
+ void (*func)(),
char *name)
{
newfunc(name);
@@ -87,8 +87,8 @@ _DEFUN(int_iterate,(func, name),
void
_DEFUN(test_strtol_base,(base, pi, string),
- int base _AND
- int_scan_type *pi _AND
+ int base,
+ int_scan_type *pi,
char *string)
{
long r;
@@ -207,7 +207,7 @@ _DEFUN_VOID(test_fcvt)
static void
_DEFUN(diterate,(func, name),
- void (*func)() _AND
+ void (*func)(),
char *name)
{
newfunc(name);
@@ -40,8 +40,8 @@ double *value)
static char *
_DEFUN(print_nan,(buffer, value, precision),
- char *buffer _AND
- double value _AND
+ char *buffer,
+ double value,
int precision)
{
size_t i;
@@ -134,7 +134,7 @@ _DEFUN(renormalize,(in),
static void
_DEFUN(normalize,(value, in),
- double value _AND
+ double value,
cvt_info_type *in)
{
int j;
@@ -196,9 +196,9 @@ _DEFUN(normalize,(value, in),
}
int
_DEFUN(round,(in, start, now, ch),
- cvt_info_type *in _AND
- char *start _AND
- char *now _AND
+ cvt_info_type *in,
+ char *start,
+ char *now,
char ch)
{
double rounder = 5.0;
@@ -435,11 +435,11 @@ _DEFUN(_cvtf,(in),
char *
_DEFUN(_dcvt,(buffer, invalue, precision, width, type, dot),
- char *buffer _AND
- double invalue _AND
- int precision _AND
- int width _AND
- char type _AND
+ char *buffer,
+ double invalue,
+ int precision,
+ int width,
+ char type,
int dot)
{
cvt_info_type in;
@@ -534,10 +534,10 @@ _DEFUN(_dcvt,(buffer, invalue, precision, width, type, dot),
char *
_DEFUN(fcvtbuf,(invalue,ndigit,decpt,sign, fcvt_buf),
- double invalue _AND
- int ndigit _AND
- int *decpt _AND
- int *sign _AND
+ double invalue,
+ int ndigit,
+ int *decpt,
+ int *sign,
char *fcvt_buf)
{
cvt_info_type in;
@@ -564,10 +564,10 @@ _DEFUN(fcvtbuf,(invalue,ndigit,decpt,sign, fcvt_buf),
char *
_DEFUN(ecvtbuf,(invalue,ndigit,decpt,sign, fcvt_buf),
- double invalue _AND
- int ndigit _AND
- int *decpt _AND
- int *sign _AND
+ double invalue,
+ int ndigit,
+ int *decpt,
+ int *sign,
char *fcvt_buf)
{
cvt_info_type in;
@@ -597,8 +597,8 @@ _DEFUN(ecvtbuf,(invalue,ndigit,decpt,sign, fcvt_buf),
char *
_DEFUN(gcvt,(d,ndigit,buf),
- double d _AND
- int ndigit _AND
+ double d,
+ int ndigit,
char *buf)
{
return _dcvt(buf, d, ndigit, 0, 'g', 1);
@@ -51,7 +51,7 @@ _DEFUN(matherr,(e),
void _DEFUN(translate_to,(file,r),
- FILE *file _AND
+ FILE *file,
double r)
{
__ieee_double_shape_type bits;
@@ -61,10 +61,10 @@ void _DEFUN(translate_to,(file,r),
int
_DEFUN(ffcheck,( is, p, name, serrno, merror),
- double is _AND
- one_line_type *p _AND
- char *name _AND
- int serrno _AND
+ double is,
+ one_line_type *p,
+ char *name,
+ int serrno,
int merror)
{
/* Make sure the answer isn't to far wrong from the correct value */
@@ -109,7 +109,7 @@ _DEFUN(ffcheck,( is, p, name, serrno, merror),
double
_DEFUN(thedouble, (msw, lsw),
- long msw _AND
+ long msw,
long lsw)
{
__ieee_double_shape_type x;
@@ -124,13 +124,13 @@ int reduce;
_DEFUN(frontline,(f, mag, p, result, merror, errno, args, name),
- FILE *f _AND
- int mag _AND
- one_line_type *p _AND
- double result _AND
- int merror _AND
- int errno _AND
- char *args _AND
+ FILE *f,
+ int mag,
+ one_line_type *p,
+ double result,
+ int merror,
+ int errno,
+ char *args,
char *name)
{
if (reduce && p->error_bit < mag)
@@ -177,11 +177,11 @@ _DEFUN(frontline,(f, mag, p, result, merror, errno, args, name),
}
_DEFUN(finish,(f, vector, result , p, args, name),
- FILE *f _AND
- int vector _AND
- double result _AND
- one_line_type *p _AND
- char *args _AND
+ FILE *f,
+ int vector,
+ double result,
+ one_line_type *p,
+ char *args,
char *name)
{
int mag;
@@ -195,10 +195,10 @@ _DEFUN(finish,(f, vector, result , p, args, name),
int redo;
_DEFUN(run_vector_1,(vector, p, func, name, args),
- int vector _AND
- one_line_type *p _AND
- char *func _AND
- char *name _AND
+ int vector,
+ one_line_type *p,
+ char *func,
+ char *name,
char *args)
{
FILE *f;
@@ -11,7 +11,7 @@ int errors = 0;
void
_DEFUN(checkit,(ok,l),
- int ok _AND
+ int ok,
int l )
{
@@ -32,8 +32,8 @@ _DEFUN(checkit,(ok,l),
void
_DEFUN(funcqual,(a,b,l),
- char *a _AND
- char *b _AND
+ char *a,
+ char *b,
int l)
{
newfunc(it);
@@ -145,7 +145,7 @@ void test_string()
equal(one, "abcd"); /* Zero count. */
(void) strncat(one, "gh", 2);
- equal(one, "abcdgh"); /* Count _AND length equal. */
+ equal(one, "abcdgh"); /* Count, length equal. */
it = "strncmp";
/* strncmp - first test as strcmp with big counts";*/
check(strncmp("", "", 99) == 0); /* Trivial case. */
@@ -494,7 +494,7 @@ void test_string()
(void) memset(one+5, 0, 1);
equal(one, "axxxe"); /* Zero fill. */
- equal(one+6, "gh"); /* _AND the leftover. */
+ equal(one+6, "gh"); /*, the leftover. */
(void) memset(one+2, 010045, 1);
equal(one, "ax\045xe"); /* Unsigned char convert. */
@@ -10,7 +10,7 @@ int inacc;
int
_DEFUN(main,(ac, av),
- int ac _AND
+ int ac,
char **av)
{
int i;
@@ -93,7 +93,7 @@ int strtod_vector = 0;
int
_DEFUN(bigger,(a,b),
- __ieee_double_shape_type *a _AND
+ __ieee_double_shape_type *a,
__ieee_double_shape_type *b)
{
@@ -117,7 +117,7 @@ _DEFUN(bigger,(a,b),
/* Return the first bit different between two double numbers */
int
_DEFUN(mag_of_error,(is, shouldbe),
- double is _AND
+ double is,
double shouldbe)
{
__ieee_double_shape_type a,b;
@@ -184,7 +184,7 @@ _DEFUN(mag_of_error,(is, shouldbe),
void
_DEFUN(test_sok,(is, shouldbe),
- char *is _AND
+ char *is,
char *shouldbe)
{
if (strcmp(is,shouldbe))
@@ -198,7 +198,7 @@ _DEFUN(test_sok,(is, shouldbe),
}
void
_DEFUN(test_iok,(is, shouldbe),
- int is _AND
+ int is,
int shouldbe)
{
if (is != shouldbe){
@@ -216,8 +216,8 @@ _DEFUN(test_iok,(is, shouldbe),
*/
void
_DEFUN(test_scok,(is, shouldbe, count),
- char *is _AND
- char *shouldbe _AND
+ char *is,
+ char *shouldbe,
int count)
{
if (strncmp(is,shouldbe, count))
@@ -232,7 +232,7 @@ _DEFUN(test_scok,(is, shouldbe, count),
void
_DEFUN(test_eok,(is, shouldbe),
- int is _AND
+ int is,
int shouldbe)
{
if (is != shouldbe){
@@ -246,8 +246,8 @@ _DEFUN(test_eok,(is, shouldbe),
void
_DEFUN(test_mok,(value, shouldbe, okmag),
- double value _AND
- double shouldbe _AND
+ double value,
+ double shouldbe,
int okmag)
{
__ieee_double_shape_type a,b;
@@ -83,7 +83,7 @@ _DEFUN_VOID(test_getroundtoi)
double
_DEFUN(dnumber,(msw, lsw),
- int msw _AND
+ int msw,
int lsw)
{
@@ -1934,8 +1934,8 @@ int _DEFUN(def__toupper,(i), int i) { return _toupper(i); }
extern int inacc;
void
_DEFUN(test_is_set,(func, name, p),
- int (*func)() _AND
- char *name _AND
+ int (*func)(),
+ char *name,
int *p)
{
int i;
@@ -1953,10 +1953,10 @@ _DEFUN(test_is_set,(func, name, p),
}
void
_DEFUN(test_to_set,(func, name, p, low, high),
- int (*func)() _AND
- char *name _AND
- int *p _AND
- int low _AND
+ int (*func)(),
+ char *name,
+ int *p,
+ int low,
int high)
{
int i;
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com> --- libgloss/cr16/fstat.c | 2 +- libgloss/cr16/isatty.c | 2 +- libgloss/cr16/kill.c | 2 +- libgloss/cr16/stat.c | 2 +- libgloss/crx/fstat.c | 2 +- libgloss/crx/isatty.c | 2 +- libgloss/crx/kill.c | 2 +- libgloss/crx/stat.c | 2 +- libgloss/frv/fstat.c | 2 +- libgloss/frv/isatty.c | 2 +- libgloss/frv/kill.c | 2 +- libgloss/frv/sim-time.c | 2 +- libgloss/frv/stat.c | 2 +- libgloss/fstat.c | 2 +- libgloss/ft32/fstat.c | 2 +- libgloss/ft32/isatty.c | 2 +- libgloss/ft32/kill.c | 2 +- libgloss/ft32/sim-lseek.S | 4 +- libgloss/ft32/sim-lseek.c | 4 +- libgloss/ft32/sim-time.c | 2 +- libgloss/ft32/stat.c | 2 +- libgloss/isatty.c | 2 +- libgloss/kill.c | 2 +- libgloss/libnosys/chown.c | 4 +- libgloss/libnosys/execve.c | 4 +- libgloss/libnosys/fstat.c | 2 +- libgloss/libnosys/gettod.c | 2 +- libgloss/libnosys/kill.c | 2 +- libgloss/libnosys/link.c | 2 +- libgloss/libnosys/lseek.c | 4 +- libgloss/libnosys/open.c | 4 +- libgloss/libnosys/read.c | 4 +- libgloss/libnosys/readlink.c | 4 +- libgloss/libnosys/stat.c | 2 +- libgloss/libnosys/symlink.c | 2 +- libgloss/libnosys/write.c | 4 +- libgloss/lseek.c | 4 +- libgloss/mcore/fstat.c | 2 +- libgloss/mcore/kill.c | 2 +- libgloss/mcore/lseek.c | 4 +- libgloss/mcore/open.c | 4 +- libgloss/mcore/read.c | 4 +- libgloss/mcore/stat.c | 2 +- libgloss/mcore/write.c | 4 +- libgloss/moxie/fstat.c | 2 +- libgloss/moxie/isatty.c | 2 +- libgloss/moxie/kill.c | 2 +- libgloss/moxie/qemu-time.c | 2 +- libgloss/moxie/sim-lseek.S | 4 +- libgloss/moxie/sim-lseek.c | 4 +- libgloss/moxie/sim-time.c | 2 +- libgloss/moxie/stat.c | 2 +- libgloss/open.c | 4 +- libgloss/read.c | 4 +- libgloss/stat.c | 2 +- libgloss/tic6x/kill.c | 2 +- libgloss/write.c | 4 +- libgloss/xc16x/misc.c | 2 +- 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 +- newlib/libc/argz/argz_add.c | 4 +- newlib/libc/argz/argz_add_sep.c | 6 +-- newlib/libc/argz/argz_append.c | 6 +-- newlib/libc/argz/argz_count.c | 2 +- newlib/libc/argz/argz_create.c | 4 +- newlib/libc/argz/argz_create_sep.c | 6 +-- newlib/libc/argz/argz_delete.c | 4 +- newlib/libc/argz/argz_extract.c | 4 +- newlib/libc/argz/argz_insert.c | 6 +-- newlib/libc/argz/argz_next.c | 4 +- newlib/libc/argz/argz_replace.c | 8 ++-- newlib/libc/argz/argz_stringify.c | 4 +- newlib/libc/argz/envz_add.c | 6 +-- newlib/libc/argz/envz_entry.c | 4 +- newlib/libc/argz/envz_get.c | 4 +- newlib/libc/argz/envz_merge.c | 8 ++-- newlib/libc/argz/envz_remove.c | 4 +- newlib/libc/argz/envz_strip.c | 2 +- newlib/libc/ctype/iswctype.c | 2 +- newlib/libc/ctype/jp2uc.c | 2 +- newlib/libc/ctype/towctrans.c | 6 +-- newlib/libc/ctype/wctrans.c | 2 +- newlib/libc/ctype/wctype.c | 2 +- newlib/libc/iconv/ces/euc.c | 18 +++---- newlib/libc/iconv/ces/table-pcs.c | 18 +++---- newlib/libc/iconv/ces/table.c | 26 +++++----- newlib/libc/iconv/ces/ucs-2-internal.c | 10 ++-- newlib/libc/iconv/ces/ucs-2.c | 14 +++--- newlib/libc/iconv/ces/ucs-4-internal.c | 10 ++-- newlib/libc/iconv/ces/ucs-4.c | 14 +++--- newlib/libc/iconv/ces/us-ascii.c | 10 ++-- newlib/libc/iconv/ces/utf-16.c | 16 +++---- newlib/libc/iconv/ces/utf-8.c | 10 ++-- newlib/libc/iconv/lib/aliasesi.c | 10 ++-- newlib/libc/iconv/lib/iconv.c | 26 +++++----- newlib/libc/iconv/lib/iconvnls.c | 40 ++++++++-------- newlib/libc/iconv/lib/nullconv.c | 30 ++++++------ newlib/libc/iconv/lib/ucsconv.c | 32 ++++++------- newlib/libc/include/_ansi.h | 2 - newlib/libc/locale/locale.c | 6 +-- newlib/libc/machine/microblaze/strcmp.c | 2 +- newlib/libc/machine/microblaze/strcpy.c | 2 +- newlib/libc/machine/powerpc/atosfix16.c | 2 +- newlib/libc/machine/powerpc/atosfix32.c | 2 +- newlib/libc/machine/powerpc/atosfix64.c | 2 +- newlib/libc/machine/powerpc/atoufix16.c | 2 +- newlib/libc/machine/powerpc/atoufix32.c | 2 +- newlib/libc/machine/powerpc/atoufix64.c | 2 +- newlib/libc/machine/powerpc/strtosfix16.c | 6 +-- newlib/libc/machine/powerpc/strtosfix32.c | 6 +-- newlib/libc/machine/powerpc/strtosfix64.c | 6 +-- newlib/libc/machine/powerpc/strtoufix16.c | 6 +-- newlib/libc/machine/powerpc/strtoufix32.c | 6 +-- newlib/libc/machine/powerpc/strtoufix64.c | 6 +-- newlib/libc/machine/powerpc/ufix64toa.c | 12 ++--- newlib/libc/machine/powerpc/vec_calloc.c | 2 +- newlib/libc/machine/powerpc/vec_realloc.c | 2 +- newlib/libc/machine/powerpc/vfprintf.c | 10 ++-- newlib/libc/machine/powerpc/vfscanf.c | 10 ++-- newlib/libc/machine/spu/assert.c | 10 ++-- newlib/libc/machine/spu/creat.c | 2 +- newlib/libc/machine/spu/fdopen.c | 2 +- newlib/libc/machine/spu/fgetpos.c | 2 +- newlib/libc/machine/spu/fgets.c | 4 +- newlib/libc/machine/spu/fopen.c | 2 +- newlib/libc/machine/spu/fputs.c | 2 +- newlib/libc/machine/spu/fread.c | 6 +-- newlib/libc/machine/spu/freopen.c | 4 +- newlib/libc/machine/spu/fseek.c | 4 +- newlib/libc/machine/spu/fsetpos.c | 2 +- newlib/libc/machine/spu/fwrite.c | 6 +-- newlib/libc/machine/spu/setbuf.c | 2 +- newlib/libc/machine/spu/setvbuf.c | 6 +-- newlib/libc/machine/spu/vfprintf.c | 4 +- newlib/libc/machine/spu/vfscanf.c | 4 +- newlib/libc/machine/spu/vprintf.c | 2 +- newlib/libc/machine/spu/vscanf.c | 2 +- newlib/libc/machine/spu/vsnprintf.c | 6 +-- newlib/libc/machine/spu/vsprintf.c | 4 +- newlib/libc/machine/spu/vsscanf.c | 4 +- newlib/libc/misc/__dprintf.c | 8 ++-- newlib/libc/posix/creat.c | 2 +- newlib/libc/posix/execl.c | 6 +-- newlib/libc/posix/execle.c | 6 +-- newlib/libc/posix/execlp.c | 6 +-- newlib/libc/posix/execv.c | 2 +- newlib/libc/posix/execve.c | 4 +- newlib/libc/posix/execvp.c | 6 +-- newlib/libc/posix/popen.c | 2 +- newlib/libc/posix/posix_spawn.c | 58 +++++++++++----------- newlib/libc/posix/readdir_r.c | 4 +- newlib/libc/posix/scandir.c | 8 ++-- newlib/libc/posix/seekdir.c | 2 +- newlib/libc/posix/telldir.c | 2 +- newlib/libc/reent/execr.c | 8 ++-- newlib/libc/reent/fcntlr.c | 6 +-- newlib/libc/reent/fstat64r.c | 4 +- newlib/libc/reent/gettimeofdayr.c | 4 +- newlib/libc/reent/linkr.c | 4 +- newlib/libc/reent/lseek64r.c | 6 +-- newlib/libc/reent/lseekr.c | 6 +-- newlib/libc/reent/mkdirr.c | 4 +- newlib/libc/reent/openr.c | 6 +-- newlib/libc/reent/readr.c | 6 +-- newlib/libc/reent/reent.c | 2 +- newlib/libc/reent/renamer.c | 4 +- newlib/libc/reent/sbrkr.c | 2 +- newlib/libc/reent/signalr.c | 4 +- newlib/libc/reent/stat64r.c | 4 +- newlib/libc/reent/statr.c | 4 +- newlib/libc/reent/timesr.c | 2 +- newlib/libc/reent/unlinkr.c | 2 +- newlib/libc/reent/writer.c | 6 +-- newlib/libc/search/bsearch.c | 8 ++-- newlib/libc/search/hash.c | 8 ++-- newlib/libc/search/hcreate.c | 2 +- newlib/libc/search/qsort.c | 36 +++++++------- newlib/libc/search/tdelete.c | 4 +- newlib/libc/search/tdestroy.c | 2 +- newlib/libc/search/tfind.c | 4 +- newlib/libc/search/tsearch.c | 4 +- newlib/libc/search/twalk.c | 2 +- newlib/libc/signal/psignal.c | 2 +- newlib/libc/signal/raise.c | 2 +- newlib/libc/signal/signal.c | 10 ++-- newlib/libc/stdio/asiprintf.c | 6 +-- newlib/libc/stdio/asniprintf.c | 10 ++-- newlib/libc/stdio/asnprintf.c | 10 ++-- newlib/libc/stdio/asprintf.c | 6 +-- newlib/libc/stdio/diprintf.c | 6 +-- newlib/libc/stdio/dprintf.c | 6 +-- newlib/libc/stdio/fclose.c | 2 +- newlib/libc/stdio/fdopen.c | 6 +-- newlib/libc/stdio/fflush.c | 6 +-- newlib/libc/stdio/fgetc.c | 2 +- newlib/libc/stdio/fgetc_u.c | 2 +- newlib/libc/stdio/fgetpos.c | 6 +-- newlib/libc/stdio/fgets.c | 10 ++-- newlib/libc/stdio/fgetwc.c | 4 +- newlib/libc/stdio/fgetwc_u.c | 2 +- newlib/libc/stdio/fgetws.c | 10 ++-- newlib/libc/stdio/findfp.c | 6 +-- newlib/libc/stdio/fiprintf.c | 6 +-- newlib/libc/stdio/flags.c | 4 +- newlib/libc/stdio/fmemopen.c | 36 +++++++------- newlib/libc/stdio/fopen.c | 6 +-- newlib/libc/stdio/fopencookie.c | 36 +++++++------- newlib/libc/stdio/fprintf.c | 6 +-- newlib/libc/stdio/fpurge.c | 2 +- newlib/libc/stdio/fputc.c | 6 +-- newlib/libc/stdio/fputc_u.c | 6 +-- newlib/libc/stdio/fputs.c | 6 +-- newlib/libc/stdio/fputwc.c | 10 ++-- newlib/libc/stdio/fputwc_u.c | 6 +-- newlib/libc/stdio/fputws.c | 6 +-- newlib/libc/stdio/fread.c | 22 ++++----- newlib/libc/stdio/freopen.c | 10 ++-- newlib/libc/stdio/fseek.c | 10 ++-- newlib/libc/stdio/fseeko.c | 10 ++-- newlib/libc/stdio/fsetlocking.c | 2 +- newlib/libc/stdio/fsetpos.c | 6 +-- newlib/libc/stdio/ftell.c | 2 +- newlib/libc/stdio/ftello.c | 2 +- newlib/libc/stdio/funopen.c | 44 ++++++++--------- newlib/libc/stdio/fvwrite.c | 4 +- newlib/libc/stdio/fwalk.c | 4 +- newlib/libc/stdio/fwide.c | 6 +-- newlib/libc/stdio/fwprintf.c | 6 +-- newlib/libc/stdio/fwrite.c | 14 +++--- newlib/libc/stdio/getc.c | 2 +- newlib/libc/stdio/getc_u.c | 2 +- newlib/libc/stdio/getdelim.c | 6 +-- newlib/libc/stdio/getline.c | 4 +- newlib/libc/stdio/gets.c | 2 +- newlib/libc/stdio/getwc.c | 2 +- newlib/libc/stdio/getwc_u.c | 2 +- newlib/libc/stdio/iprintf.c | 2 +- newlib/libc/stdio/makebuf.c | 8 ++-- newlib/libc/stdio/mktemp.c | 38 +++++++-------- newlib/libc/stdio/nano-vfprintf.c | 34 ++++++------- newlib/libc/stdio/nano-vfscanf.c | 26 +++++----- newlib/libc/stdio/open_memstream.c | 38 +++++++-------- newlib/libc/stdio/perror.c | 2 +- newlib/libc/stdio/printf.c | 2 +- newlib/libc/stdio/putc.c | 6 +-- newlib/libc/stdio/putc_u.c | 6 +-- newlib/libc/stdio/putchar.c | 2 +- newlib/libc/stdio/putchar_u.c | 2 +- newlib/libc/stdio/puts.c | 2 +- newlib/libc/stdio/putw.c | 2 +- newlib/libc/stdio/putwc.c | 6 +-- newlib/libc/stdio/putwc_u.c | 6 +-- newlib/libc/stdio/putwchar.c | 2 +- newlib/libc/stdio/putwchar_u.c | 2 +- newlib/libc/stdio/refill.c | 2 +- newlib/libc/stdio/remove.c | 2 +- newlib/libc/stdio/rename.c | 2 +- newlib/libc/stdio/rewind.c | 2 +- newlib/libc/stdio/rget.c | 2 +- newlib/libc/stdio/sccl.c | 2 +- newlib/libc/stdio/setbuf.c | 2 +- newlib/libc/stdio/setbuffer.c | 4 +- newlib/libc/stdio/setvbuf.c | 6 +-- newlib/libc/stdio/siprintf.c | 6 +-- newlib/libc/stdio/siscanf.c | 6 +-- newlib/libc/stdio/sniprintf.c | 10 ++-- newlib/libc/stdio/snprintf.c | 10 ++-- newlib/libc/stdio/sprintf.c | 6 +-- newlib/libc/stdio/sscanf.c | 6 +-- newlib/libc/stdio/stdio.c | 26 +++++----- newlib/libc/stdio/swprintf.c | 10 ++-- newlib/libc/stdio/tmpnam.c | 18 +++---- newlib/libc/stdio/ungetc.c | 8 ++-- newlib/libc/stdio/ungetwc.c | 6 +-- newlib/libc/stdio/vasiprintf.c | 10 ++-- newlib/libc/stdio/vasniprintf.c | 14 +++--- newlib/libc/stdio/vasnprintf.c | 14 +++--- newlib/libc/stdio/vasprintf.c | 10 ++-- newlib/libc/stdio/vdiprintf.c | 10 ++-- newlib/libc/stdio/vdprintf.c | 10 ++-- newlib/libc/stdio/vfprintf.c | 50 +++++++++---------- newlib/libc/stdio/vfscanf.c | 34 ++++++------- newlib/libc/stdio/vfwprintf.c | 30 ++++++------ newlib/libc/stdio/vfwscanf.c | 26 +++++----- newlib/libc/stdio/viprintf.c | 6 +-- newlib/libc/stdio/viscanf.c | 6 +-- newlib/libc/stdio/vprintf.c | 6 +-- newlib/libc/stdio/vscanf.c | 6 +-- newlib/libc/stdio/vsiprintf.c | 10 ++-- newlib/libc/stdio/vsiscanf.c | 10 ++-- newlib/libc/stdio/vsniprintf.c | 14 +++--- newlib/libc/stdio/vsnprintf.c | 14 +++--- newlib/libc/stdio/vsprintf.c | 10 ++-- newlib/libc/stdio/vsscanf.c | 10 ++-- newlib/libc/stdio/vswprintf.c | 14 +++--- newlib/libc/stdio/vwprintf.c | 6 +-- newlib/libc/stdio/wbuf.c | 6 +-- newlib/libc/stdio/wprintf.c | 2 +- newlib/libc/stdio/wsetup.c | 2 +- newlib/libc/stdio64/fdopen64.c | 6 +-- newlib/libc/stdio64/fgetpos64.c | 6 +-- newlib/libc/stdio64/fopen64.c | 6 +-- newlib/libc/stdio64/freopen64.c | 10 ++-- newlib/libc/stdio64/fseeko64.c | 10 ++-- newlib/libc/stdio64/fsetpos64.c | 6 +-- newlib/libc/stdio64/ftello64.c | 2 +- newlib/libc/stdio64/stdio64.c | 12 ++--- newlib/libc/stdlib/__adjust.c | 6 +-- newlib/libc/stdlib/__atexit.c | 6 +-- newlib/libc/stdlib/__call_atexit.c | 2 +- newlib/libc/stdlib/__ten_mu.c | 2 +- newlib/libc/stdlib/assert.c | 10 ++-- newlib/libc/stdlib/atoi.c | 2 +- newlib/libc/stdlib/atol.c | 2 +- newlib/libc/stdlib/atoll.c | 2 +- newlib/libc/stdlib/calloc.c | 2 +- newlib/libc/stdlib/cxa_atexit.c | 4 +- newlib/libc/stdlib/div.c | 2 +- newlib/libc/stdlib/dtoa.c | 14 +++--- newlib/libc/stdlib/dtoastub.c | 10 ++-- newlib/libc/stdlib/ecvtbuf.c | 60 +++++++++++------------ newlib/libc/stdlib/efgcvt.c | 32 ++++++------- newlib/libc/stdlib/erand48.c | 2 +- newlib/libc/stdlib/gdtoa-gethex.c | 4 +- newlib/libc/stdlib/gdtoa-hexnan.c | 10 ++-- newlib/libc/stdlib/getenv.c | 2 +- newlib/libc/stdlib/getenv_r.c | 6 +-- newlib/libc/stdlib/itoa.c | 8 ++-- newlib/libc/stdlib/jrand48.c | 2 +- newlib/libc/stdlib/l64a.c | 2 +- newlib/libc/stdlib/lcong48.c | 2 +- newlib/libc/stdlib/ldiv.c | 2 +- newlib/libc/stdlib/lldiv.c | 2 +- newlib/libc/stdlib/malign.c | 2 +- newlib/libc/stdlib/mblen.c | 2 +- newlib/libc/stdlib/mblen_r.c | 6 +-- newlib/libc/stdlib/mbrtowc.c | 14 +++--- newlib/libc/stdlib/mbsnrtowcs.c | 18 +++---- newlib/libc/stdlib/mbsrtowcs.c | 14 +++--- newlib/libc/stdlib/mbstowcs.c | 4 +- newlib/libc/stdlib/mbstowcs_r.c | 8 ++-- newlib/libc/stdlib/mbtowc.c | 4 +- newlib/libc/stdlib/mbtowc_r.c | 48 +++++++++---------- newlib/libc/stdlib/mprec.c | 48 +++++++++---------- newlib/libc/stdlib/mstats.c | 4 +- newlib/libc/stdlib/nrand48.c | 2 +- newlib/libc/stdlib/on_exit.c | 2 +- newlib/libc/stdlib/putenv_r.c | 2 +- newlib/libc/stdlib/rand48.c | 2 +- newlib/libc/stdlib/realloc.c | 2 +- newlib/libc/stdlib/reallocf.c | 6 +-- newlib/libc/stdlib/seed48.c | 2 +- newlib/libc/stdlib/setenv.c | 4 +- newlib/libc/stdlib/setenv_r.c | 8 ++-- newlib/libc/stdlib/srand48.c | 2 +- newlib/libc/stdlib/strtod.c | 16 +++---- newlib/libc/stdlib/strtol.c | 10 ++-- newlib/libc/stdlib/strtoll.c | 10 ++-- newlib/libc/stdlib/strtoul.c | 10 ++-- newlib/libc/stdlib/strtoull.c | 10 ++-- newlib/libc/stdlib/system.c | 8 ++-- newlib/libc/stdlib/utoa.c | 8 ++-- newlib/libc/stdlib/wcrtomb.c | 10 ++-- newlib/libc/stdlib/wcsnrtombs.c | 18 +++---- newlib/libc/stdlib/wcsrtombs.c | 14 +++--- newlib/libc/stdlib/wcstod.c | 12 ++--- newlib/libc/stdlib/wcstol.c | 10 ++-- newlib/libc/stdlib/wcstoll.c | 10 ++-- newlib/libc/stdlib/wcstombs.c | 4 +- newlib/libc/stdlib/wcstombs_r.c | 8 ++-- newlib/libc/stdlib/wcstoul.c | 10 ++-- newlib/libc/stdlib/wcstoull.c | 10 ++-- newlib/libc/stdlib/wctomb.c | 2 +- newlib/libc/stdlib/wctomb_r.c | 36 +++++++------- newlib/libc/string/bcmp.c | 4 +- newlib/libc/string/bcopy.c | 4 +- newlib/libc/string/index.c | 2 +- newlib/libc/string/memccpy.c | 6 +-- newlib/libc/string/memchr.c | 4 +- newlib/libc/string/memcmp.c | 4 +- newlib/libc/string/memcpy.c | 4 +- newlib/libc/string/memmem.c | 6 +-- newlib/libc/string/memmove.c | 4 +- newlib/libc/string/mempcpy.c | 4 +- newlib/libc/string/memrchr.c | 4 +- newlib/libc/string/memset.c | 4 +- newlib/libc/string/rawmemchr.c | 2 +- newlib/libc/string/rindex.c | 2 +- newlib/libc/string/stpcpy.c | 2 +- newlib/libc/string/stpncpy.c | 4 +- newlib/libc/string/strcasecmp.c | 2 +- newlib/libc/string/strcasestr.c | 2 +- newlib/libc/string/strcat.c | 2 +- newlib/libc/string/strchr.c | 2 +- newlib/libc/string/strchrnul.c | 2 +- newlib/libc/string/strcmp.c | 2 +- newlib/libc/string/strcoll.c | 2 +- newlib/libc/string/strcpy.c | 2 +- newlib/libc/string/strcspn.c | 2 +- newlib/libc/string/strdup_r.c | 2 +- newlib/libc/string/strerror.c | 6 +-- newlib/libc/string/strerror_r.c | 4 +- newlib/libc/string/strlcat.c | 4 +- newlib/libc/string/strlcpy.c | 4 +- newlib/libc/string/strncasecmp.c | 4 +- newlib/libc/string/strncat.c | 4 +- newlib/libc/string/strncmp.c | 4 +- newlib/libc/string/strncpy.c | 4 +- newlib/libc/string/strndup.c | 2 +- newlib/libc/string/strndup_r.c | 4 +- newlib/libc/string/strnlen.c | 2 +- newlib/libc/string/strpbrk.c | 2 +- newlib/libc/string/strrchr.c | 2 +- newlib/libc/string/strsep.c | 2 +- newlib/libc/string/strspn.c | 2 +- newlib/libc/string/strstr.c | 2 +- newlib/libc/string/strtok.c | 2 +- newlib/libc/string/strtok_r.c | 10 ++-- newlib/libc/string/strxfrm.c | 4 +- newlib/libc/string/swab.c | 4 +- newlib/libc/string/u_strerr.c | 4 +- newlib/libc/string/wcpcpy.c | 2 +- newlib/libc/string/wcpncpy.c | 4 +- newlib/libc/string/wcscasecmp.c | 2 +- newlib/libc/string/wcscat.c | 2 +- newlib/libc/string/wcschr.c | 2 +- newlib/libc/string/wcscmp.c | 2 +- newlib/libc/string/wcscoll.c | 2 +- newlib/libc/string/wcscpy.c | 2 +- newlib/libc/string/wcscspn.c | 2 +- newlib/libc/string/wcslcat.c | 4 +- newlib/libc/string/wcslcpy.c | 4 +- newlib/libc/string/wcsncasecmp.c | 4 +- newlib/libc/string/wcsncat.c | 4 +- newlib/libc/string/wcsncmp.c | 4 +- newlib/libc/string/wcsncpy.c | 4 +- newlib/libc/string/wcsnlen.c | 2 +- newlib/libc/string/wcspbrk.c | 2 +- newlib/libc/string/wcsrchr.c | 2 +- newlib/libc/string/wcsspn.c | 2 +- newlib/libc/string/wcsstr.c | 2 +- newlib/libc/string/wcstok.c | 4 +- newlib/libc/string/wcswidth.c | 2 +- newlib/libc/string/wcsxfrm.c | 4 +- newlib/libc/string/wmemchr.c | 4 +- newlib/libc/string/wmemcmp.c | 4 +- newlib/libc/string/wmemcpy.c | 4 +- newlib/libc/string/wmemmove.c | 4 +- newlib/libc/string/wmempcpy.c | 4 +- newlib/libc/string/wmemset.c | 4 +- newlib/libc/string/xpg_strerror_r.c | 4 +- newlib/libc/sys/a29khif/kill.c | 2 +- newlib/libc/sys/h8300hms/misc.c | 2 +- newlib/libc/sys/h8500hms/misc.c | 2 +- newlib/libc/sys/linux/pread.c | 14 +++--- newlib/libc/sys/linux/pread64.c | 6 +-- newlib/libc/sys/linux/pwrite.c | 14 +++--- newlib/libc/sys/linux/pwrite64.c | 6 +-- newlib/libc/sys/sysnec810/misc.c | 2 +- newlib/libc/syscalls/sysexecve.c | 4 +- newlib/libc/syscalls/sysfcntl.c | 4 +- newlib/libc/syscalls/sysfstat.c | 2 +- newlib/libc/syscalls/sysgettod.c | 2 +- newlib/libc/syscalls/syskill.c | 2 +- newlib/libc/syscalls/syslink.c | 2 +- newlib/libc/syscalls/syslseek.c | 4 +- newlib/libc/syscalls/sysopen.c | 2 +- newlib/libc/syscalls/sysread.c | 4 +- newlib/libc/syscalls/sysstat.c | 2 +- newlib/libc/syscalls/syswrite.c | 4 +- newlib/libc/time/asctime_r.c | 2 +- newlib/libc/time/ctime_r.c | 2 +- newlib/libc/time/difftime.c | 2 +- newlib/libc/time/gmtime_r.c | 2 +- newlib/libc/time/lcltime_r.c | 2 +- newlib/libc/time/strftime.c | 6 +-- newlib/libc/unix/pread.c | 14 +++--- newlib/libc/unix/pwrite.c | 14 +++--- newlib/libc/unix/ttyname_r.c | 4 +- newlib/libc/xdr/xdr.c | 80 +++++++++++++++---------------- newlib/libc/xdr/xdr_array.c | 18 +++---- newlib/libc/xdr/xdr_float.c | 4 +- newlib/libc/xdr/xdr_float_vax.c | 4 +- newlib/libc/xdr/xdr_mem.c | 36 +++++++------- newlib/libc/xdr/xdr_private.c | 2 +- newlib/libc/xdr/xdr_rec.c | 48 +++++++++---------- newlib/libc/xdr/xdr_reference.c | 12 ++--- newlib/libc/xdr/xdr_sizeof.c | 14 +++--- newlib/libc/xdr/xdr_stdio.c | 24 +++++----- newlib/libm/mathfp/s_asine.c | 2 +- newlib/libm/mathfp/s_atan2.c | 2 +- newlib/libm/mathfp/s_atangent.c | 6 +-- newlib/libm/mathfp/s_ldexp.c | 2 +- newlib/libm/mathfp/s_logarithm.c | 2 +- newlib/libm/mathfp/s_sincos.c | 4 +- newlib/libm/mathfp/s_sine.c | 2 +- newlib/libm/mathfp/s_sineh.c | 2 +- newlib/libm/mathfp/sf_asine.c | 2 +- newlib/libm/mathfp/sf_atan2.c | 2 +- newlib/libm/mathfp/sf_atangent.c | 6 +-- newlib/libm/mathfp/sf_fmod.c | 2 +- newlib/libm/mathfp/sf_ldexp.c | 2 +- newlib/libm/mathfp/sf_logarithm.c | 2 +- newlib/libm/mathfp/sf_sincos.c | 4 +- newlib/libm/mathfp/sf_sine.c | 2 +- newlib/libm/mathfp/sf_sineh.c | 2 +- newlib/libm/test/convert.c | 10 ++-- newlib/libm/test/dcvt.c | 42 ++++++++-------- newlib/libm/test/math.c | 44 ++++++++--------- newlib/libm/test/string.c | 10 ++-- newlib/libm/test/test.c | 20 ++++---- newlib/libm/test/test_ieee.c | 2 +- newlib/libm/test/test_is.c | 12 ++--- 517 files changed, 1771 insertions(+), 1773 deletions(-) -- 2.15.1