aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/argz/argz_add.c4
-rw-r--r--newlib/libc/argz/argz_add_sep.c6
-rw-r--r--newlib/libc/argz/argz_append.c6
-rw-r--r--newlib/libc/argz/argz_count.c2
-rw-r--r--newlib/libc/argz/argz_create.c4
-rw-r--r--newlib/libc/argz/argz_create_sep.c6
-rw-r--r--newlib/libc/argz/argz_delete.c4
-rw-r--r--newlib/libc/argz/argz_extract.c4
-rw-r--r--newlib/libc/argz/argz_insert.c6
-rw-r--r--newlib/libc/argz/argz_next.c4
-rw-r--r--newlib/libc/argz/argz_replace.c8
-rw-r--r--newlib/libc/argz/argz_stringify.c4
-rw-r--r--newlib/libc/argz/envz_add.c6
-rw-r--r--newlib/libc/argz/envz_entry.c4
-rw-r--r--newlib/libc/argz/envz_get.c4
-rw-r--r--newlib/libc/argz/envz_merge.c8
-rw-r--r--newlib/libc/argz/envz_remove.c4
-rw-r--r--newlib/libc/argz/envz_strip.c2
-rw-r--r--newlib/libc/ctype/iswctype.c2
-rw-r--r--newlib/libc/ctype/jp2uc.c2
-rw-r--r--newlib/libc/ctype/towctrans.c6
-rw-r--r--newlib/libc/ctype/wctrans.c2
-rw-r--r--newlib/libc/ctype/wctype.c2
-rw-r--r--newlib/libc/iconv/ces/euc.c18
-rw-r--r--newlib/libc/iconv/ces/table-pcs.c18
-rw-r--r--newlib/libc/iconv/ces/table.c26
-rw-r--r--newlib/libc/iconv/ces/ucs-2-internal.c10
-rw-r--r--newlib/libc/iconv/ces/ucs-2.c14
-rw-r--r--newlib/libc/iconv/ces/ucs-4-internal.c10
-rw-r--r--newlib/libc/iconv/ces/ucs-4.c14
-rw-r--r--newlib/libc/iconv/ces/us-ascii.c10
-rw-r--r--newlib/libc/iconv/ces/utf-16.c16
-rw-r--r--newlib/libc/iconv/ces/utf-8.c10
-rw-r--r--newlib/libc/iconv/lib/aliasesi.c10
-rw-r--r--newlib/libc/iconv/lib/iconv.c26
-rw-r--r--newlib/libc/iconv/lib/iconvnls.c40
-rw-r--r--newlib/libc/iconv/lib/nullconv.c30
-rw-r--r--newlib/libc/iconv/lib/ucsconv.c32
-rw-r--r--newlib/libc/include/_ansi.h2
-rw-r--r--newlib/libc/locale/locale.c6
-rw-r--r--newlib/libc/machine/microblaze/strcmp.c2
-rw-r--r--newlib/libc/machine/microblaze/strcpy.c2
-rw-r--r--newlib/libc/machine/powerpc/atosfix16.c2
-rw-r--r--newlib/libc/machine/powerpc/atosfix32.c2
-rw-r--r--newlib/libc/machine/powerpc/atosfix64.c2
-rw-r--r--newlib/libc/machine/powerpc/atoufix16.c2
-rw-r--r--newlib/libc/machine/powerpc/atoufix32.c2
-rw-r--r--newlib/libc/machine/powerpc/atoufix64.c2
-rw-r--r--newlib/libc/machine/powerpc/strtosfix16.c6
-rw-r--r--newlib/libc/machine/powerpc/strtosfix32.c6
-rw-r--r--newlib/libc/machine/powerpc/strtosfix64.c6
-rw-r--r--newlib/libc/machine/powerpc/strtoufix16.c6
-rw-r--r--newlib/libc/machine/powerpc/strtoufix32.c6
-rw-r--r--newlib/libc/machine/powerpc/strtoufix64.c6
-rw-r--r--newlib/libc/machine/powerpc/ufix64toa.c12
-rw-r--r--newlib/libc/machine/powerpc/vec_calloc.c2
-rw-r--r--newlib/libc/machine/powerpc/vec_realloc.c2
-rw-r--r--newlib/libc/machine/powerpc/vfprintf.c10
-rw-r--r--newlib/libc/machine/powerpc/vfscanf.c10
-rw-r--r--newlib/libc/machine/spu/assert.c10
-rw-r--r--newlib/libc/machine/spu/creat.c2
-rw-r--r--newlib/libc/machine/spu/fdopen.c2
-rw-r--r--newlib/libc/machine/spu/fgetpos.c2
-rw-r--r--newlib/libc/machine/spu/fgets.c4
-rw-r--r--newlib/libc/machine/spu/fopen.c2
-rw-r--r--newlib/libc/machine/spu/fputs.c2
-rw-r--r--newlib/libc/machine/spu/fread.c6
-rw-r--r--newlib/libc/machine/spu/freopen.c4
-rw-r--r--newlib/libc/machine/spu/fseek.c4
-rw-r--r--newlib/libc/machine/spu/fsetpos.c2
-rw-r--r--newlib/libc/machine/spu/fwrite.c6
-rw-r--r--newlib/libc/machine/spu/setbuf.c2
-rw-r--r--newlib/libc/machine/spu/setvbuf.c6
-rw-r--r--newlib/libc/machine/spu/vfprintf.c4
-rw-r--r--newlib/libc/machine/spu/vfscanf.c4
-rw-r--r--newlib/libc/machine/spu/vprintf.c2
-rw-r--r--newlib/libc/machine/spu/vscanf.c2
-rw-r--r--newlib/libc/machine/spu/vsnprintf.c6
-rw-r--r--newlib/libc/machine/spu/vsprintf.c4
-rw-r--r--newlib/libc/machine/spu/vsscanf.c4
-rw-r--r--newlib/libc/misc/__dprintf.c8
-rw-r--r--newlib/libc/posix/creat.c2
-rw-r--r--newlib/libc/posix/execl.c6
-rw-r--r--newlib/libc/posix/execle.c6
-rw-r--r--newlib/libc/posix/execlp.c6
-rw-r--r--newlib/libc/posix/execv.c2
-rw-r--r--newlib/libc/posix/execve.c4
-rw-r--r--newlib/libc/posix/execvp.c6
-rw-r--r--newlib/libc/posix/popen.c2
-rw-r--r--newlib/libc/posix/posix_spawn.c58
-rw-r--r--newlib/libc/posix/readdir_r.c4
-rw-r--r--newlib/libc/posix/scandir.c8
-rw-r--r--newlib/libc/posix/seekdir.c2
-rw-r--r--newlib/libc/posix/telldir.c2
-rw-r--r--newlib/libc/reent/execr.c8
-rw-r--r--newlib/libc/reent/fcntlr.c6
-rw-r--r--newlib/libc/reent/fstat64r.c4
-rw-r--r--newlib/libc/reent/gettimeofdayr.c4
-rw-r--r--newlib/libc/reent/linkr.c4
-rw-r--r--newlib/libc/reent/lseek64r.c6
-rw-r--r--newlib/libc/reent/lseekr.c6
-rw-r--r--newlib/libc/reent/mkdirr.c4
-rw-r--r--newlib/libc/reent/openr.c6
-rw-r--r--newlib/libc/reent/readr.c6
-rw-r--r--newlib/libc/reent/reent.c2
-rw-r--r--newlib/libc/reent/renamer.c4
-rw-r--r--newlib/libc/reent/sbrkr.c2
-rw-r--r--newlib/libc/reent/signalr.c4
-rw-r--r--newlib/libc/reent/stat64r.c4
-rw-r--r--newlib/libc/reent/statr.c4
-rw-r--r--newlib/libc/reent/timesr.c2
-rw-r--r--newlib/libc/reent/unlinkr.c2
-rw-r--r--newlib/libc/reent/writer.c6
-rw-r--r--newlib/libc/search/bsearch.c8
-rw-r--r--newlib/libc/search/hash.c8
-rw-r--r--newlib/libc/search/hcreate.c2
-rw-r--r--newlib/libc/search/qsort.c36
-rw-r--r--newlib/libc/search/tdelete.c4
-rw-r--r--newlib/libc/search/tdestroy.c2
-rw-r--r--newlib/libc/search/tfind.c4
-rw-r--r--newlib/libc/search/tsearch.c4
-rw-r--r--newlib/libc/search/twalk.c2
-rw-r--r--newlib/libc/signal/psignal.c2
-rw-r--r--newlib/libc/signal/raise.c2
-rw-r--r--newlib/libc/signal/signal.c10
-rw-r--r--newlib/libc/stdio/asiprintf.c6
-rw-r--r--newlib/libc/stdio/asniprintf.c10
-rw-r--r--newlib/libc/stdio/asnprintf.c10
-rw-r--r--newlib/libc/stdio/asprintf.c6
-rw-r--r--newlib/libc/stdio/diprintf.c6
-rw-r--r--newlib/libc/stdio/dprintf.c6
-rw-r--r--newlib/libc/stdio/fclose.c2
-rw-r--r--newlib/libc/stdio/fdopen.c6
-rw-r--r--newlib/libc/stdio/fflush.c6
-rw-r--r--newlib/libc/stdio/fgetc.c2
-rw-r--r--newlib/libc/stdio/fgetc_u.c2
-rw-r--r--newlib/libc/stdio/fgetpos.c6
-rw-r--r--newlib/libc/stdio/fgets.c10
-rw-r--r--newlib/libc/stdio/fgetwc.c4
-rw-r--r--newlib/libc/stdio/fgetwc_u.c2
-rw-r--r--newlib/libc/stdio/fgetws.c10
-rw-r--r--newlib/libc/stdio/findfp.c6
-rw-r--r--newlib/libc/stdio/fiprintf.c6
-rw-r--r--newlib/libc/stdio/flags.c4
-rw-r--r--newlib/libc/stdio/fmemopen.c36
-rw-r--r--newlib/libc/stdio/fopen.c6
-rw-r--r--newlib/libc/stdio/fopencookie.c36
-rw-r--r--newlib/libc/stdio/fprintf.c6
-rw-r--r--newlib/libc/stdio/fpurge.c2
-rw-r--r--newlib/libc/stdio/fputc.c6
-rw-r--r--newlib/libc/stdio/fputc_u.c6
-rw-r--r--newlib/libc/stdio/fputs.c6
-rw-r--r--newlib/libc/stdio/fputwc.c10
-rw-r--r--newlib/libc/stdio/fputwc_u.c6
-rw-r--r--newlib/libc/stdio/fputws.c6
-rw-r--r--newlib/libc/stdio/fread.c22
-rw-r--r--newlib/libc/stdio/freopen.c10
-rw-r--r--newlib/libc/stdio/fseek.c10
-rw-r--r--newlib/libc/stdio/fseeko.c10
-rw-r--r--newlib/libc/stdio/fsetlocking.c2
-rw-r--r--newlib/libc/stdio/fsetpos.c6
-rw-r--r--newlib/libc/stdio/ftell.c2
-rw-r--r--newlib/libc/stdio/ftello.c2
-rw-r--r--newlib/libc/stdio/funopen.c44
-rw-r--r--newlib/libc/stdio/fvwrite.c4
-rw-r--r--newlib/libc/stdio/fwalk.c4
-rw-r--r--newlib/libc/stdio/fwide.c6
-rw-r--r--newlib/libc/stdio/fwprintf.c6
-rw-r--r--newlib/libc/stdio/fwrite.c14
-rw-r--r--newlib/libc/stdio/getc.c2
-rw-r--r--newlib/libc/stdio/getc_u.c2
-rw-r--r--newlib/libc/stdio/getdelim.c6
-rw-r--r--newlib/libc/stdio/getline.c4
-rw-r--r--newlib/libc/stdio/gets.c2
-rw-r--r--newlib/libc/stdio/getwc.c2
-rw-r--r--newlib/libc/stdio/getwc_u.c2
-rw-r--r--newlib/libc/stdio/iprintf.c2
-rw-r--r--newlib/libc/stdio/makebuf.c8
-rw-r--r--newlib/libc/stdio/mktemp.c38
-rw-r--r--newlib/libc/stdio/nano-vfprintf.c34
-rw-r--r--newlib/libc/stdio/nano-vfscanf.c26
-rw-r--r--newlib/libc/stdio/open_memstream.c38
-rw-r--r--newlib/libc/stdio/perror.c2
-rw-r--r--newlib/libc/stdio/printf.c2
-rw-r--r--newlib/libc/stdio/putc.c6
-rw-r--r--newlib/libc/stdio/putc_u.c6
-rw-r--r--newlib/libc/stdio/putchar.c2
-rw-r--r--newlib/libc/stdio/putchar_u.c2
-rw-r--r--newlib/libc/stdio/puts.c2
-rw-r--r--newlib/libc/stdio/putw.c2
-rw-r--r--newlib/libc/stdio/putwc.c6
-rw-r--r--newlib/libc/stdio/putwc_u.c6
-rw-r--r--newlib/libc/stdio/putwchar.c2
-rw-r--r--newlib/libc/stdio/putwchar_u.c2
-rw-r--r--newlib/libc/stdio/refill.c2
-rw-r--r--newlib/libc/stdio/remove.c2
-rw-r--r--newlib/libc/stdio/rename.c2
-rw-r--r--newlib/libc/stdio/rewind.c2
-rw-r--r--newlib/libc/stdio/rget.c2
-rw-r--r--newlib/libc/stdio/sccl.c2
-rw-r--r--newlib/libc/stdio/setbuf.c2
-rw-r--r--newlib/libc/stdio/setbuffer.c4
-rw-r--r--newlib/libc/stdio/setvbuf.c6
-rw-r--r--newlib/libc/stdio/siprintf.c6
-rw-r--r--newlib/libc/stdio/siscanf.c6
-rw-r--r--newlib/libc/stdio/sniprintf.c10
-rw-r--r--newlib/libc/stdio/snprintf.c10
-rw-r--r--newlib/libc/stdio/sprintf.c6
-rw-r--r--newlib/libc/stdio/sscanf.c6
-rw-r--r--newlib/libc/stdio/stdio.c26
-rw-r--r--newlib/libc/stdio/swprintf.c10
-rw-r--r--newlib/libc/stdio/tmpnam.c18
-rw-r--r--newlib/libc/stdio/ungetc.c8
-rw-r--r--newlib/libc/stdio/ungetwc.c6
-rw-r--r--newlib/libc/stdio/vasiprintf.c10
-rw-r--r--newlib/libc/stdio/vasniprintf.c14
-rw-r--r--newlib/libc/stdio/vasnprintf.c14
-rw-r--r--newlib/libc/stdio/vasprintf.c10
-rw-r--r--newlib/libc/stdio/vdiprintf.c10
-rw-r--r--newlib/libc/stdio/vdprintf.c10
-rw-r--r--newlib/libc/stdio/vfprintf.c50
-rw-r--r--newlib/libc/stdio/vfscanf.c34
-rw-r--r--newlib/libc/stdio/vfwprintf.c30
-rw-r--r--newlib/libc/stdio/vfwscanf.c26
-rw-r--r--newlib/libc/stdio/viprintf.c6
-rw-r--r--newlib/libc/stdio/viscanf.c6
-rw-r--r--newlib/libc/stdio/vprintf.c6
-rw-r--r--newlib/libc/stdio/vscanf.c6
-rw-r--r--newlib/libc/stdio/vsiprintf.c10
-rw-r--r--newlib/libc/stdio/vsiscanf.c10
-rw-r--r--newlib/libc/stdio/vsniprintf.c14
-rw-r--r--newlib/libc/stdio/vsnprintf.c14
-rw-r--r--newlib/libc/stdio/vsprintf.c10
-rw-r--r--newlib/libc/stdio/vsscanf.c10
-rw-r--r--newlib/libc/stdio/vswprintf.c14
-rw-r--r--newlib/libc/stdio/vwprintf.c6
-rw-r--r--newlib/libc/stdio/wbuf.c6
-rw-r--r--newlib/libc/stdio/wprintf.c2
-rw-r--r--newlib/libc/stdio/wsetup.c2
-rw-r--r--newlib/libc/stdio64/fdopen64.c6
-rw-r--r--newlib/libc/stdio64/fgetpos64.c6
-rw-r--r--newlib/libc/stdio64/fopen64.c6
-rw-r--r--newlib/libc/stdio64/freopen64.c10
-rw-r--r--newlib/libc/stdio64/fseeko64.c10
-rw-r--r--newlib/libc/stdio64/fsetpos64.c6
-rw-r--r--newlib/libc/stdio64/ftello64.c2
-rw-r--r--newlib/libc/stdio64/stdio64.c12
-rw-r--r--newlib/libc/stdlib/__adjust.c6
-rw-r--r--newlib/libc/stdlib/__atexit.c6
-rw-r--r--newlib/libc/stdlib/__call_atexit.c2
-rw-r--r--newlib/libc/stdlib/__ten_mu.c2
-rw-r--r--newlib/libc/stdlib/assert.c10
-rw-r--r--newlib/libc/stdlib/atoi.c2
-rw-r--r--newlib/libc/stdlib/atol.c2
-rw-r--r--newlib/libc/stdlib/atoll.c2
-rw-r--r--newlib/libc/stdlib/calloc.c2
-rw-r--r--newlib/libc/stdlib/cxa_atexit.c4
-rw-r--r--newlib/libc/stdlib/div.c2
-rw-r--r--newlib/libc/stdlib/dtoa.c14
-rw-r--r--newlib/libc/stdlib/dtoastub.c10
-rw-r--r--newlib/libc/stdlib/ecvtbuf.c60
-rw-r--r--newlib/libc/stdlib/efgcvt.c32
-rw-r--r--newlib/libc/stdlib/erand48.c2
-rw-r--r--newlib/libc/stdlib/gdtoa-gethex.c4
-rw-r--r--newlib/libc/stdlib/gdtoa-hexnan.c10
-rw-r--r--newlib/libc/stdlib/getenv.c2
-rw-r--r--newlib/libc/stdlib/getenv_r.c6
-rw-r--r--newlib/libc/stdlib/itoa.c8
-rw-r--r--newlib/libc/stdlib/jrand48.c2
-rw-r--r--newlib/libc/stdlib/l64a.c2
-rw-r--r--newlib/libc/stdlib/lcong48.c2
-rw-r--r--newlib/libc/stdlib/ldiv.c2
-rw-r--r--newlib/libc/stdlib/lldiv.c2
-rw-r--r--newlib/libc/stdlib/malign.c2
-rw-r--r--newlib/libc/stdlib/mblen.c2
-rw-r--r--newlib/libc/stdlib/mblen_r.c6
-rw-r--r--newlib/libc/stdlib/mbrtowc.c14
-rw-r--r--newlib/libc/stdlib/mbsnrtowcs.c18
-rw-r--r--newlib/libc/stdlib/mbsrtowcs.c14
-rw-r--r--newlib/libc/stdlib/mbstowcs.c4
-rw-r--r--newlib/libc/stdlib/mbstowcs_r.c8
-rw-r--r--newlib/libc/stdlib/mbtowc.c4
-rw-r--r--newlib/libc/stdlib/mbtowc_r.c48
-rw-r--r--newlib/libc/stdlib/mprec.c48
-rw-r--r--newlib/libc/stdlib/mstats.c4
-rw-r--r--newlib/libc/stdlib/nrand48.c2
-rw-r--r--newlib/libc/stdlib/on_exit.c2
-rw-r--r--newlib/libc/stdlib/putenv_r.c2
-rw-r--r--newlib/libc/stdlib/rand48.c2
-rw-r--r--newlib/libc/stdlib/realloc.c2
-rw-r--r--newlib/libc/stdlib/reallocf.c6
-rw-r--r--newlib/libc/stdlib/seed48.c2
-rw-r--r--newlib/libc/stdlib/setenv.c4
-rw-r--r--newlib/libc/stdlib/setenv_r.c8
-rw-r--r--newlib/libc/stdlib/srand48.c2
-rw-r--r--newlib/libc/stdlib/strtod.c16
-rw-r--r--newlib/libc/stdlib/strtol.c10
-rw-r--r--newlib/libc/stdlib/strtoll.c10
-rw-r--r--newlib/libc/stdlib/strtoul.c10
-rw-r--r--newlib/libc/stdlib/strtoull.c10
-rw-r--r--newlib/libc/stdlib/system.c8
-rw-r--r--newlib/libc/stdlib/utoa.c8
-rw-r--r--newlib/libc/stdlib/wcrtomb.c10
-rw-r--r--newlib/libc/stdlib/wcsnrtombs.c18
-rw-r--r--newlib/libc/stdlib/wcsrtombs.c14
-rw-r--r--newlib/libc/stdlib/wcstod.c12
-rw-r--r--newlib/libc/stdlib/wcstol.c10
-rw-r--r--newlib/libc/stdlib/wcstoll.c10
-rw-r--r--newlib/libc/stdlib/wcstombs.c4
-rw-r--r--newlib/libc/stdlib/wcstombs_r.c8
-rw-r--r--newlib/libc/stdlib/wcstoul.c10
-rw-r--r--newlib/libc/stdlib/wcstoull.c10
-rw-r--r--newlib/libc/stdlib/wctomb.c2
-rw-r--r--newlib/libc/stdlib/wctomb_r.c36
-rw-r--r--newlib/libc/string/bcmp.c4
-rw-r--r--newlib/libc/string/bcopy.c4
-rw-r--r--newlib/libc/string/index.c2
-rw-r--r--newlib/libc/string/memccpy.c6
-rw-r--r--newlib/libc/string/memchr.c4
-rw-r--r--newlib/libc/string/memcmp.c4
-rw-r--r--newlib/libc/string/memcpy.c4
-rw-r--r--newlib/libc/string/memmem.c6
-rw-r--r--newlib/libc/string/memmove.c4
-rw-r--r--newlib/libc/string/mempcpy.c4
-rw-r--r--newlib/libc/string/memrchr.c4
-rw-r--r--newlib/libc/string/memset.c4
-rw-r--r--newlib/libc/string/rawmemchr.c2
-rw-r--r--newlib/libc/string/rindex.c2
-rw-r--r--newlib/libc/string/stpcpy.c2
-rw-r--r--newlib/libc/string/stpncpy.c4
-rw-r--r--newlib/libc/string/strcasecmp.c2
-rw-r--r--newlib/libc/string/strcasestr.c2
-rw-r--r--newlib/libc/string/strcat.c2
-rw-r--r--newlib/libc/string/strchr.c2
-rw-r--r--newlib/libc/string/strchrnul.c2
-rw-r--r--newlib/libc/string/strcmp.c2
-rw-r--r--newlib/libc/string/strcoll.c2
-rw-r--r--newlib/libc/string/strcpy.c2
-rw-r--r--newlib/libc/string/strcspn.c2
-rw-r--r--newlib/libc/string/strdup_r.c2
-rw-r--r--newlib/libc/string/strerror.c6
-rw-r--r--newlib/libc/string/strerror_r.c4
-rw-r--r--newlib/libc/string/strlcat.c4
-rw-r--r--newlib/libc/string/strlcpy.c4
-rw-r--r--newlib/libc/string/strncasecmp.c4
-rw-r--r--newlib/libc/string/strncat.c4
-rw-r--r--newlib/libc/string/strncmp.c4
-rw-r--r--newlib/libc/string/strncpy.c4
-rw-r--r--newlib/libc/string/strndup.c2
-rw-r--r--newlib/libc/string/strndup_r.c4
-rw-r--r--newlib/libc/string/strnlen.c2
-rw-r--r--newlib/libc/string/strpbrk.c2
-rw-r--r--newlib/libc/string/strrchr.c2
-rw-r--r--newlib/libc/string/strsep.c2
-rw-r--r--newlib/libc/string/strspn.c2
-rw-r--r--newlib/libc/string/strstr.c2
-rw-r--r--newlib/libc/string/strtok.c2
-rw-r--r--newlib/libc/string/strtok_r.c10
-rw-r--r--newlib/libc/string/strxfrm.c4
-rw-r--r--newlib/libc/string/swab.c4
-rw-r--r--newlib/libc/string/u_strerr.c4
-rw-r--r--newlib/libc/string/wcpcpy.c2
-rw-r--r--newlib/libc/string/wcpncpy.c4
-rw-r--r--newlib/libc/string/wcscasecmp.c2
-rw-r--r--newlib/libc/string/wcscat.c2
-rw-r--r--newlib/libc/string/wcschr.c2
-rw-r--r--newlib/libc/string/wcscmp.c2
-rw-r--r--newlib/libc/string/wcscoll.c2
-rw-r--r--newlib/libc/string/wcscpy.c2
-rw-r--r--newlib/libc/string/wcscspn.c2
-rw-r--r--newlib/libc/string/wcslcat.c4
-rw-r--r--newlib/libc/string/wcslcpy.c4
-rw-r--r--newlib/libc/string/wcsncasecmp.c4
-rw-r--r--newlib/libc/string/wcsncat.c4
-rw-r--r--newlib/libc/string/wcsncmp.c4
-rw-r--r--newlib/libc/string/wcsncpy.c4
-rw-r--r--newlib/libc/string/wcsnlen.c2
-rw-r--r--newlib/libc/string/wcspbrk.c2
-rw-r--r--newlib/libc/string/wcsrchr.c2
-rw-r--r--newlib/libc/string/wcsspn.c2
-rw-r--r--newlib/libc/string/wcsstr.c2
-rw-r--r--newlib/libc/string/wcstok.c4
-rw-r--r--newlib/libc/string/wcswidth.c2
-rw-r--r--newlib/libc/string/wcsxfrm.c4
-rw-r--r--newlib/libc/string/wmemchr.c4
-rw-r--r--newlib/libc/string/wmemcmp.c4
-rw-r--r--newlib/libc/string/wmemcpy.c4
-rw-r--r--newlib/libc/string/wmemmove.c4
-rw-r--r--newlib/libc/string/wmempcpy.c4
-rw-r--r--newlib/libc/string/wmemset.c4
-rw-r--r--newlib/libc/string/xpg_strerror_r.c4
-rw-r--r--newlib/libc/sys/a29khif/kill.c2
-rw-r--r--newlib/libc/sys/h8300hms/misc.c2
-rw-r--r--newlib/libc/sys/h8500hms/misc.c2
-rw-r--r--newlib/libc/sys/linux/pread.c14
-rw-r--r--newlib/libc/sys/linux/pread64.c6
-rw-r--r--newlib/libc/sys/linux/pwrite.c14
-rw-r--r--newlib/libc/sys/linux/pwrite64.c6
-rw-r--r--newlib/libc/sys/sysnec810/misc.c2
-rw-r--r--newlib/libc/syscalls/sysexecve.c4
-rw-r--r--newlib/libc/syscalls/sysfcntl.c4
-rw-r--r--newlib/libc/syscalls/sysfstat.c2
-rw-r--r--newlib/libc/syscalls/sysgettod.c2
-rw-r--r--newlib/libc/syscalls/syskill.c2
-rw-r--r--newlib/libc/syscalls/syslink.c2
-rw-r--r--newlib/libc/syscalls/syslseek.c4
-rw-r--r--newlib/libc/syscalls/sysopen.c2
-rw-r--r--newlib/libc/syscalls/sysread.c4
-rw-r--r--newlib/libc/syscalls/sysstat.c2
-rw-r--r--newlib/libc/syscalls/syswrite.c4
-rw-r--r--newlib/libc/time/asctime_r.c2
-rw-r--r--newlib/libc/time/ctime_r.c2
-rw-r--r--newlib/libc/time/difftime.c2
-rw-r--r--newlib/libc/time/gmtime_r.c2
-rw-r--r--newlib/libc/time/lcltime_r.c2
-rw-r--r--newlib/libc/time/strftime.c6
-rw-r--r--newlib/libc/unix/pread.c14
-rw-r--r--newlib/libc/unix/pwrite.c14
-rw-r--r--newlib/libc/unix/ttyname_r.c4
-rw-r--r--newlib/libc/xdr/xdr.c80
-rw-r--r--newlib/libc/xdr/xdr_array.c18
-rw-r--r--newlib/libc/xdr/xdr_float.c4
-rw-r--r--newlib/libc/xdr/xdr_float_vax.c4
-rw-r--r--newlib/libc/xdr/xdr_mem.c36
-rw-r--r--newlib/libc/xdr/xdr_private.c2
-rw-r--r--newlib/libc/xdr/xdr_rec.c48
-rw-r--r--newlib/libc/xdr/xdr_reference.c12
-rw-r--r--newlib/libc/xdr/xdr_sizeof.c14
-rw-r--r--newlib/libc/xdr/xdr_stdio.c24
429 files changed, 1593 insertions, 1595 deletions
diff --git a/newlib/libc/argz/argz_add.c b/newlib/libc/argz/argz_add.c
index 1c3b170..3194f08 100644
--- a/newlib/libc/argz/argz_add.c
+++ b/newlib/libc/argz/argz_add.c
@@ -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;
diff --git a/newlib/libc/argz/argz_add_sep.c b/newlib/libc/argz/argz_add_sep.c
index 7dfbb4d..92c7371 100644
--- a/newlib/libc/argz/argz_add_sep.c
+++ b/newlib/libc/argz/argz_add_sep.c
@@ -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;
diff --git a/newlib/libc/argz/argz_append.c b/newlib/libc/argz/argz_append.c
index c6c3dbe..a84f8e0 100644
--- a/newlib/libc/argz/argz_append.c
+++ b/newlib/libc/argz/argz_append.c
@@ -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)
diff --git a/newlib/libc/argz/argz_count.c b/newlib/libc/argz/argz_count.c
index 4761275..33d0eec 100644
--- a/newlib/libc/argz/argz_count.c
+++ b/newlib/libc/argz/argz_count.c
@@ -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;
diff --git a/newlib/libc/argz/argz_create.c b/newlib/libc/argz/argz_create.c
index 9d7b2f1..d4b8b05 100644
--- a/newlib/libc/argz/argz_create.c
+++ b/newlib/libc/argz/argz_create.c
@@ -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;
diff --git a/newlib/libc/argz/argz_create_sep.c b/newlib/libc/argz/argz_create_sep.c
index 38866e1..afff44c 100644
--- a/newlib/libc/argz/argz_create_sep.c
+++ b/newlib/libc/argz/argz_create_sep.c
@@ -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;
diff --git a/newlib/libc/argz/argz_delete.c b/newlib/libc/argz/argz_delete.c
index aa94f6d..a4e1227 100644
--- a/newlib/libc/argz/argz_delete.c
+++ b/newlib/libc/argz/argz_delete.c
@@ -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;
diff --git a/newlib/libc/argz/argz_extract.c b/newlib/libc/argz/argz_extract.c
index a819f39..4932de6 100644
--- a/newlib/libc/argz/argz_extract.c
+++ b/newlib/libc/argz/argz_extract.c
@@ -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;
diff --git a/newlib/libc/argz/argz_insert.c b/newlib/libc/argz/argz_insert.c
index d0a32eca..5965e04 100644
--- a/newlib/libc/argz/argz_insert.c
+++ b/newlib/libc/argz/argz_insert.c
@@ -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;
diff --git a/newlib/libc/argz/argz_next.c b/newlib/libc/argz/argz_next.c
index 94852f5..3f67221 100644
--- a/newlib/libc/argz/argz_next.c
+++ b/newlib/libc/argz/argz_next.c
@@ -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)
diff --git a/newlib/libc/argz/argz_replace.c b/newlib/libc/argz/argz_replace.c
index b274f91..e6c6ead 100644
--- a/newlib/libc/argz/argz_replace.c
+++ b/newlib/libc/argz/argz_replace.c
@@ -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);
diff --git a/newlib/libc/argz/argz_stringify.c b/newlib/libc/argz/argz_stringify.c
index be5f2cf..72895f5 100644
--- a/newlib/libc/argz/argz_stringify.c
+++ b/newlib/libc/argz/argz_stringify.c
@@ -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;
diff --git a/newlib/libc/argz/envz_add.c b/newlib/libc/argz/envz_add.c
index 3e91a58..f01d099 100644
--- a/newlib/libc/argz/envz_add.c
+++ b/newlib/libc/argz/envz_add.c
@@ -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;
diff --git a/newlib/libc/argz/envz_entry.c b/newlib/libc/argz/envz_entry.c
index 3d1986b..bbe3852 100644
--- a/newlib/libc/argz/envz_entry.c
+++ b/newlib/libc/argz/envz_entry.c
@@ -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;
diff --git a/newlib/libc/argz/envz_get.c b/newlib/libc/argz/envz_get.c
index b4f7c28..62d3d0c 100644
--- a/newlib/libc/argz/envz_get.c
+++ b/newlib/libc/argz/envz_get.c
@@ -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;
diff --git a/newlib/libc/argz/envz_merge.c b/newlib/libc/argz/envz_merge.c
index 8a26bc3..9299069 100644
--- a/newlib/libc/argz/envz_merge.c
+++ b/newlib/libc/argz/envz_merge.c
@@ -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;
diff --git a/newlib/libc/argz/envz_remove.c b/newlib/libc/argz/envz_remove.c
index 1882297..2558656 100644
--- a/newlib/libc/argz/envz_remove.c
+++ b/newlib/libc/argz/envz_remove.c
@@ -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;
diff --git a/newlib/libc/argz/envz_strip.c b/newlib/libc/argz/envz_strip.c
index e1c4610..857f849 100644
--- a/newlib/libc/argz/envz_strip.c
+++ b/newlib/libc/argz/envz_strip.c
@@ -13,7 +13,7 @@
void
_DEFUN (envz_strip, (envz, envz_len),
- char **envz _AND
+ char **envz,
size_t *envz_len)
{
char *entry = 0;
diff --git a/newlib/libc/ctype/iswctype.c b/newlib/libc/ctype/iswctype.c
index bfa7b00..89c0f9a 100644
--- a/newlib/libc/ctype/iswctype.c
+++ b/newlib/libc/ctype/iswctype.c
@@ -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)
{
diff --git a/newlib/libc/ctype/jp2uc.c b/newlib/libc/ctype/jp2uc.c
index f5bd7db..8fbd1b0 100644
--- a/newlib/libc/ctype/jp2uc.c
+++ b/newlib/libc/ctype/jp2uc.c
@@ -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;
diff --git a/newlib/libc/ctype/towctrans.c b/newlib/libc/ctype/towctrans.c
index 5528542..3500cba 100644
--- a/newlib/libc/ctype/towctrans.c
+++ b/newlib/libc/ctype/towctrans.c
@@ -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);
diff --git a/newlib/libc/ctype/wctrans.c b/newlib/libc/ctype/wctrans.c
index dd5b28c..7183c45 100644
--- a/newlib/libc/ctype/wctrans.c
+++ b/newlib/libc/ctype/wctrans.c
@@ -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"))
diff --git a/newlib/libc/ctype/wctype.c b/newlib/libc/ctype/wctype.c
index c1a70ee..6cd9425 100644
--- a/newlib/libc/ctype/wctype.c
+++ b/newlib/libc/ctype/wctype.c
@@ -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)
diff --git a/newlib/libc/iconv/ces/euc.c b/newlib/libc/iconv/ces/euc.c
index 7492697..62bab77 100644
--- a/newlib/libc/iconv/ces/euc.c
+++ b/newlib/libc/iconv/ces/euc.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;
diff --git a/newlib/libc/iconv/ces/table-pcs.c b/newlib/libc/iconv/ces/table-pcs.c
index fc46e27..650bf9a 100644
--- a/newlib/libc/iconv/ces/table-pcs.c
+++ b/newlib/libc/iconv/ces/table-pcs.c
@@ -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);
diff --git a/newlib/libc/iconv/ces/table.c b/newlib/libc/iconv/ces/table.c
index e43e23f..39c358c 100644
--- a/newlib/libc/iconv/ces/table.c
+++ b/newlib/libc/iconv/ces/table.c
@@ -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;
diff --git a/newlib/libc/iconv/ces/ucs-2-internal.c b/newlib/libc/iconv/ces/ucs-2-internal.c
index 893bdd4..2aacce9 100644
--- a/newlib/libc/iconv/ces/ucs-2-internal.c
+++ b/newlib/libc/iconv/ces/ucs-2-internal.c
@@ -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;
diff --git a/newlib/libc/iconv/ces/ucs-2.c b/newlib/libc/iconv/ces/ucs-2.c
index 6f796ca..000a791 100644
--- a/newlib/libc/iconv/ces/ucs-2.c
+++ b/newlib/libc/iconv/ces/ucs-2.c
@@ -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;
diff --git a/newlib/libc/iconv/ces/ucs-4-internal.c b/newlib/libc/iconv/ces/ucs-4-internal.c
index d8df9b1..4266b2a 100644
--- a/newlib/libc/iconv/ces/ucs-4-internal.c
+++ b/newlib/libc/iconv/ces/ucs-4-internal.c
@@ -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;
diff --git a/newlib/libc/iconv/ces/ucs-4.c b/newlib/libc/iconv/ces/ucs-4.c
index cfa7b36..1d028c5 100644
--- a/newlib/libc/iconv/ces/ucs-4.c
+++ b/newlib/libc/iconv/ces/ucs-4.c
@@ -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;
diff --git a/newlib/libc/iconv/ces/us-ascii.c b/newlib/libc/iconv/ces/us-ascii.c
index 2f213a7..eb4dee6 100644
--- a/newlib/libc/iconv/ces/us-ascii.c
+++ b/newlib/libc/iconv/ces/us-ascii.c
@@ -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;
diff --git a/newlib/libc/iconv/ces/utf-16.c b/newlib/libc/iconv/ces/utf-16.c
index 4b2ff77..93cc4c3 100644
--- a/newlib/libc/iconv/ces/utf-16.c
+++ b/newlib/libc/iconv/ces/utf-16.c
@@ -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;
diff --git a/newlib/libc/iconv/ces/utf-8.c b/newlib/libc/iconv/ces/utf-8.c
index fda1e6e..f02dd6f 100644
--- a/newlib/libc/iconv/ces/utf-8.c
+++ b/newlib/libc/iconv/ces/utf-8.c
@@ -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;
diff --git a/newlib/libc/iconv/lib/aliasesi.c b/newlib/libc/iconv/lib/aliasesi.c
index 41497c6..278b849 100644
--- a/newlib/libc/iconv/lib/aliasesi.c
+++ b/newlib/libc/iconv/lib/aliasesi.c
@@ -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;
diff --git a/newlib/libc/iconv/lib/iconv.c b/newlib/libc/iconv/lib/iconv.c
index 9d9d6a7..b8000e4 100644
--- a/newlib/libc/iconv/lib/iconv.c
+++ b/newlib/libc/iconv/lib/iconv.c
@@ -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;
diff --git a/newlib/libc/iconv/lib/iconvnls.c b/newlib/libc/iconv/lib/iconvnls.c
index 1b42f2c..3223e13 100644
--- a/newlib/libc/iconv/lib/iconvnls.c
+++ b/newlib/libc/iconv/lib/iconvnls.c
@@ -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;
diff --git a/newlib/libc/iconv/lib/nullconv.c b/newlib/libc/iconv/lib/nullconv.c
index d35027f..7ddbc77 100644
--- a/newlib/libc/iconv/lib/nullconv.c
+++ b/newlib/libc/iconv/lib/nullconv.c
@@ -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;
diff --git a/newlib/libc/iconv/lib/ucsconv.c b/newlib/libc/iconv/lib/ucsconv.c
index cc5ceb9..46ad33e 100644
--- a/newlib/libc/iconv/lib/ucsconv.c
+++ b/newlib/libc/iconv/lib/ucsconv.c
@@ -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;
diff --git a/newlib/libc/include/_ansi.h b/newlib/libc/include/_ansi.h
index 5fb9907..fc832fc 100644
--- a/newlib/libc/include/_ansi.h
+++ b/newlib/libc/include/_ansi.h
@@ -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
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c
index 073189a..87cb04b 100644
--- a/newlib/libc/locale/locale.c
+++ b/newlib/libc/locale/locale.c
@@ -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);
diff --git a/newlib/libc/machine/microblaze/strcmp.c b/newlib/libc/machine/microblaze/strcmp.c
index fc7dc21..a2751af 100644
--- a/newlib/libc/machine/microblaze/strcmp.c
+++ b/newlib/libc/machine/microblaze/strcmp.c
@@ -82,7 +82,7 @@ QUICKREF
int
_DEFUN (strcmp, (s1, s2),
- _CONST char *s1 _AND
+ _CONST char *s1,
_CONST char *s2)
{
diff --git a/newlib/libc/machine/microblaze/strcpy.c b/newlib/libc/machine/microblaze/strcpy.c
index 44ba382..e0e1d77 100644
--- a/newlib/libc/machine/microblaze/strcpy.c
+++ b/newlib/libc/machine/microblaze/strcpy.c
@@ -82,7 +82,7 @@ QUICKREF
char*
_DEFUN (strcpy, (dst0, src0),
- char *__restrict dst0 _AND
+ char *__restrict dst0,
_CONST char *__restrict src0)
{
diff --git a/newlib/libc/machine/powerpc/atosfix16.c b/newlib/libc/machine/powerpc/atosfix16.c
index 30379c5..5115c85 100644
--- a/newlib/libc/machine/powerpc/atosfix16.c
+++ b/newlib/libc/machine/powerpc/atosfix16.c
@@ -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);
diff --git a/newlib/libc/machine/powerpc/atosfix32.c b/newlib/libc/machine/powerpc/atosfix32.c
index dbcac7e..49f4cce 100644
--- a/newlib/libc/machine/powerpc/atosfix32.c
+++ b/newlib/libc/machine/powerpc/atosfix32.c
@@ -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);
diff --git a/newlib/libc/machine/powerpc/atosfix64.c b/newlib/libc/machine/powerpc/atosfix64.c
index 109baf7..b433778 100644
--- a/newlib/libc/machine/powerpc/atosfix64.c
+++ b/newlib/libc/machine/powerpc/atosfix64.c
@@ -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);
diff --git a/newlib/libc/machine/powerpc/atoufix16.c b/newlib/libc/machine/powerpc/atoufix16.c
index 45d130f..5148acb 100644
--- a/newlib/libc/machine/powerpc/atoufix16.c
+++ b/newlib/libc/machine/powerpc/atoufix16.c
@@ -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);
diff --git a/newlib/libc/machine/powerpc/atoufix32.c b/newlib/libc/machine/powerpc/atoufix32.c
index ee29ac5..01919d4 100644
--- a/newlib/libc/machine/powerpc/atoufix32.c
+++ b/newlib/libc/machine/powerpc/atoufix32.c
@@ -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);
diff --git a/newlib/libc/machine/powerpc/atoufix64.c b/newlib/libc/machine/powerpc/atoufix64.c
index e5eefc4..af71089 100644
--- a/newlib/libc/machine/powerpc/atoufix64.c
+++ b/newlib/libc/machine/powerpc/atoufix64.c
@@ -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);
diff --git a/newlib/libc/machine/powerpc/strtosfix16.c b/newlib/libc/machine/powerpc/strtosfix16.c
index e39887d..84e1171 100644
--- a/newlib/libc/machine/powerpc/strtosfix16.c
+++ b/newlib/libc/machine/powerpc/strtosfix16.c
@@ -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);
diff --git a/newlib/libc/machine/powerpc/strtosfix32.c b/newlib/libc/machine/powerpc/strtosfix32.c
index 2e22c14..1b1487b 100644
--- a/newlib/libc/machine/powerpc/strtosfix32.c
+++ b/newlib/libc/machine/powerpc/strtosfix32.c
@@ -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);
diff --git a/newlib/libc/machine/powerpc/strtosfix64.c b/newlib/libc/machine/powerpc/strtosfix64.c
index 3006632..4ba718c 100644
--- a/newlib/libc/machine/powerpc/strtosfix64.c
+++ b/newlib/libc/machine/powerpc/strtosfix64.c
@@ -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);
diff --git a/newlib/libc/machine/powerpc/strtoufix16.c b/newlib/libc/machine/powerpc/strtoufix16.c
index 3bf2d6b..22de506 100644
--- a/newlib/libc/machine/powerpc/strtoufix16.c
+++ b/newlib/libc/machine/powerpc/strtoufix16.c
@@ -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);
diff --git a/newlib/libc/machine/powerpc/strtoufix32.c b/newlib/libc/machine/powerpc/strtoufix32.c
index 6a8e081..05e9667 100644
--- a/newlib/libc/machine/powerpc/strtoufix32.c
+++ b/newlib/libc/machine/powerpc/strtoufix32.c
@@ -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);
diff --git a/newlib/libc/machine/powerpc/strtoufix64.c b/newlib/libc/machine/powerpc/strtoufix64.c
index 539f953..5ef5384 100644
--- a/newlib/libc/machine/powerpc/strtoufix64.c
+++ b/newlib/libc/machine/powerpc/strtoufix64.c
@@ -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);
diff --git a/newlib/libc/machine/powerpc/ufix64toa.c b/newlib/libc/machine/powerpc/ufix64toa.c
index 450e0a3..125ab67 100644
--- a/newlib/libc/machine/powerpc/ufix64toa.c
+++ b/newlib/libc/machine/powerpc/ufix64toa.c
@@ -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;
diff --git a/newlib/libc/machine/powerpc/vec_calloc.c b/newlib/libc/machine/powerpc/vec_calloc.c
index 8b2e835..8a10507 100644
--- a/newlib/libc/machine/powerpc/vec_calloc.c
+++ b/newlib/libc/machine/powerpc/vec_calloc.c
@@ -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);
diff --git a/newlib/libc/machine/powerpc/vec_realloc.c b/newlib/libc/machine/powerpc/vec_realloc.c
index e192e39..7e857b5 100644
--- a/newlib/libc/machine/powerpc/vec_realloc.c
+++ b/newlib/libc/machine/powerpc/vec_realloc.c
@@ -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);
diff --git a/newlib/libc/machine/powerpc/vfprintf.c b/newlib/libc/machine/powerpc/vfprintf.c
index e0b90fc..0c1c80e 100644
--- a/newlib/libc/machine/powerpc/vfprintf.c
+++ b/newlib/libc/machine/powerpc/vfprintf.c
@@ -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 */
diff --git a/newlib/libc/machine/powerpc/vfscanf.c b/newlib/libc/machine/powerpc/vfscanf.c
index 6cbc624..b82a140 100644
--- a/newlib/libc/machine/powerpc/vfscanf.c
+++ b/newlib/libc/machine/powerpc/vfscanf.c
@@ -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);
diff --git a/newlib/libc/machine/spu/assert.c b/newlib/libc/machine/spu/assert.c
index f1dd330..e802845 100644
--- a/newlib/libc/machine/spu/assert.c
+++ b/newlib/libc/machine/spu/assert.c
@@ -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);
diff --git a/newlib/libc/machine/spu/creat.c b/newlib/libc/machine/spu/creat.c
index 3cd7143..0e271c1 100644
--- a/newlib/libc/machine/spu/creat.c
+++ b/newlib/libc/machine/spu/creat.c
@@ -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);
diff --git a/newlib/libc/machine/spu/fdopen.c b/newlib/libc/machine/spu/fdopen.c
index a795db8..b09ffad 100644
--- a/newlib/libc/machine/spu/fdopen.c
+++ b/newlib/libc/machine/spu/fdopen.c
@@ -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;
diff --git a/newlib/libc/machine/spu/fgetpos.c b/newlib/libc/machine/spu/fgetpos.c
index 694400e..bb7d780 100644
--- a/newlib/libc/machine/spu/fgetpos.c
+++ b/newlib/libc/machine/spu/fgetpos.c
@@ -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;
diff --git a/newlib/libc/machine/spu/fgets.c b/newlib/libc/machine/spu/fgets.c
index 2b0ca41..8f2a978 100644
--- a/newlib/libc/machine/spu/fgets.c
+++ b/newlib/libc/machine/spu/fgets.c
@@ -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;
diff --git a/newlib/libc/machine/spu/fopen.c b/newlib/libc/machine/spu/fopen.c
index 821d7c2..c41d335 100644
--- a/newlib/libc/machine/spu/fopen.c
+++ b/newlib/libc/machine/spu/fopen.c
@@ -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;
diff --git a/newlib/libc/machine/spu/fputs.c b/newlib/libc/machine/spu/fputs.c
index 9ed7968..8cf84bb 100644
--- a/newlib/libc/machine/spu/fputs.c
+++ b/newlib/libc/machine/spu/fputs.c
@@ -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;
diff --git a/newlib/libc/machine/spu/fread.c b/newlib/libc/machine/spu/fread.c
index eb3966c..3ea24cc 100644
--- a/newlib/libc/machine/spu/fread.c
+++ b/newlib/libc/machine/spu/fread.c
@@ -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;
diff --git a/newlib/libc/machine/spu/freopen.c b/newlib/libc/machine/spu/freopen.c
index 53dd2bc..7c52abe 100644
--- a/newlib/libc/machine/spu/freopen.c
+++ b/newlib/libc/machine/spu/freopen.c
@@ -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;
diff --git a/newlib/libc/machine/spu/fseek.c b/newlib/libc/machine/spu/fseek.c
index dc74533..136d5c6 100644
--- a/newlib/libc/machine/spu/fseek.c
+++ b/newlib/libc/machine/spu/fseek.c
@@ -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;
diff --git a/newlib/libc/machine/spu/fsetpos.c b/newlib/libc/machine/spu/fsetpos.c
index 3bd0dde..1ebbb8f 100644
--- a/newlib/libc/machine/spu/fsetpos.c
+++ b/newlib/libc/machine/spu/fsetpos.c
@@ -46,7 +46,7 @@ typedef struct
int
_DEFUN (fsetpos, (iop, pos),
- FILE * iop _AND
+ FILE * iop,
_CONST _fpos_t * pos)
{
c99_fsetpos_t args;
diff --git a/newlib/libc/machine/spu/fwrite.c b/newlib/libc/machine/spu/fwrite.c
index 58aab9f..6de5710 100644
--- a/newlib/libc/machine/spu/fwrite.c
+++ b/newlib/libc/machine/spu/fwrite.c
@@ -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;
diff --git a/newlib/libc/machine/spu/setbuf.c b/newlib/libc/machine/spu/setbuf.c
index 84430fc..c942bb9 100644
--- a/newlib/libc/machine/spu/setbuf.c
+++ b/newlib/libc/machine/spu/setbuf.c
@@ -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;
diff --git a/newlib/libc/machine/spu/setvbuf.c b/newlib/libc/machine/spu/setvbuf.c
index 32da292..a045cc3 100644
--- a/newlib/libc/machine/spu/setvbuf.c
+++ b/newlib/libc/machine/spu/setvbuf.c
@@ -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;
diff --git a/newlib/libc/machine/spu/vfprintf.c b/newlib/libc/machine/spu/vfprintf.c
index 128d0b3..e5ef2fa 100644
--- a/newlib/libc/machine/spu/vfprintf.c
+++ b/newlib/libc/machine/spu/vfprintf.c
@@ -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;
diff --git a/newlib/libc/machine/spu/vfscanf.c b/newlib/libc/machine/spu/vfscanf.c
index 0f72896..a497b7b 100644
--- a/newlib/libc/machine/spu/vfscanf.c
+++ b/newlib/libc/machine/spu/vfscanf.c
@@ -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;
diff --git a/newlib/libc/machine/spu/vprintf.c b/newlib/libc/machine/spu/vprintf.c
index 32b86d8..35b12df 100644
--- a/newlib/libc/machine/spu/vprintf.c
+++ b/newlib/libc/machine/spu/vprintf.c
@@ -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;
diff --git a/newlib/libc/machine/spu/vscanf.c b/newlib/libc/machine/spu/vscanf.c
index 4f68bfe..29b4948 100644
--- a/newlib/libc/machine/spu/vscanf.c
+++ b/newlib/libc/machine/spu/vscanf.c
@@ -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;
diff --git a/newlib/libc/machine/spu/vsnprintf.c b/newlib/libc/machine/spu/vsnprintf.c
index cf4f5e7..f952b84 100644
--- a/newlib/libc/machine/spu/vsnprintf.c
+++ b/newlib/libc/machine/spu/vsnprintf.c
@@ -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;
diff --git a/newlib/libc/machine/spu/vsprintf.c b/newlib/libc/machine/spu/vsprintf.c
index 0719d38..1a44de4 100644
--- a/newlib/libc/machine/spu/vsprintf.c
+++ b/newlib/libc/machine/spu/vsprintf.c
@@ -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;
diff --git a/newlib/libc/machine/spu/vsscanf.c b/newlib/libc/machine/spu/vsscanf.c
index 2f7380f..38ee1f4 100644
--- a/newlib/libc/machine/spu/vsscanf.c
+++ b/newlib/libc/machine/spu/vsscanf.c
@@ -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;
diff --git a/newlib/libc/misc/__dprintf.c b/newlib/libc/misc/__dprintf.c
index eba45ea..6026d19 100644
--- a/newlib/libc/misc/__dprintf.c
+++ b/newlib/libc/misc/__dprintf.c
@@ -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";
diff --git a/newlib/libc/posix/creat.c b/newlib/libc/posix/creat.c
index b8a4f9a..116f26c 100644
--- a/newlib/libc/posix/creat.c
+++ b/newlib/libc/posix/creat.c
@@ -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);
diff --git a/newlib/libc/posix/execl.c b/newlib/libc/posix/execl.c
index ebb97fb..beb48c6 100644
--- a/newlib/libc/posix/execl.c
+++ b/newlib/libc/posix/execl.c
@@ -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
diff --git a/newlib/libc/posix/execle.c b/newlib/libc/posix/execle.c
index 2b22036..f4c7592 100644
--- a/newlib/libc/posix/execle.c
+++ b/newlib/libc/posix/execle.c
@@ -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
diff --git a/newlib/libc/posix/execlp.c b/newlib/libc/posix/execlp.c
index 6212da6..6731bb9 100644
--- a/newlib/libc/posix/execlp.c
+++ b/newlib/libc/posix/execlp.c
@@ -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
diff --git a/newlib/libc/posix/execv.c b/newlib/libc/posix/execv.c
index 8793e2e..049a538 100644
--- a/newlib/libc/posix/execv.c
+++ b/newlib/libc/posix/execv.c
@@ -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);
diff --git a/newlib/libc/posix/execve.c b/newlib/libc/posix/execve.c
index d135513..c2a2144 100644
--- a/newlib/libc/posix/execve.c
+++ b/newlib/libc/posix/execve.c
@@ -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);
diff --git a/newlib/libc/posix/execvp.c b/newlib/libc/posix/execvp.c
index 64310f6..db7e034 100644
--- a/newlib/libc/posix/execvp.c
+++ b/newlib/libc/posix/execvp.c
@@ -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");
diff --git a/newlib/libc/posix/popen.c b/newlib/libc/posix/popen.c
index f9abfac..bbd0fc4 100644
--- a/newlib/libc/posix/popen.c
+++ b/newlib/libc/posix/popen.c
@@ -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;
diff --git a/newlib/libc/posix/posix_spawn.c b/newlib/libc/posix/posix_spawn.c
index 61d3630..8e54de7 100644
--- a/newlib/libc/posix/posix_spawn.c
+++ b/newlib/libc/posix/posix_spawn.c
@@ -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;
diff --git a/newlib/libc/posix/readdir_r.c b/newlib/libc/posix/readdir_r.c
index d13775b..a75eee9 100644
--- a/newlib/libc/posix/readdir_r.c
+++ b/newlib/libc/posix/readdir_r.c
@@ -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;
diff --git a/newlib/libc/posix/scandir.c b/newlib/libc/posix/scandir.c
index 8cb8ff8..0ffe689 100644
--- a/newlib/libc/posix/scandir.c
+++ b/newlib/libc/posix/scandir.c
@@ -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));
diff --git a/newlib/libc/posix/seekdir.c b/newlib/libc/posix/seekdir.c
index 3965eda..f876d70 100644
--- a/newlib/libc/posix/seekdir.c
+++ b/newlib/libc/posix/seekdir.c
@@ -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
diff --git a/newlib/libc/posix/telldir.c b/newlib/libc/posix/telldir.c
index 959e3b7..9c945fc 100644
--- a/newlib/libc/posix/telldir.c
+++ b/newlib/libc/posix/telldir.c
@@ -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;
diff --git a/newlib/libc/reent/execr.c b/newlib/libc/reent/execr.c
index 559ca03..cb78fba 100644
--- a/newlib/libc/reent/execr.c
+++ b/newlib/libc/reent/execr.c
@@ -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;
diff --git a/newlib/libc/reent/fcntlr.c b/newlib/libc/reent/fcntlr.c
index 328b9de..fdfe410 100644
--- a/newlib/libc/reent/fcntlr.c
+++ b/newlib/libc/reent/fcntlr.c
@@ -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;
diff --git a/newlib/libc/reent/fstat64r.c b/newlib/libc/reent/fstat64r.c
index d9fa8b7..06a89a5 100644
--- a/newlib/libc/reent/fstat64r.c
+++ b/newlib/libc/reent/fstat64r.c
@@ -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;
diff --git a/newlib/libc/reent/gettimeofdayr.c b/newlib/libc/reent/gettimeofdayr.c
index 007dff8..80942af 100644
--- a/newlib/libc/reent/gettimeofdayr.c
+++ b/newlib/libc/reent/gettimeofdayr.c
@@ -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;
diff --git a/newlib/libc/reent/linkr.c b/newlib/libc/reent/linkr.c
index 8cfdf2f..59113d2 100644
--- a/newlib/libc/reent/linkr.c
+++ b/newlib/libc/reent/linkr.c
@@ -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;
diff --git a/newlib/libc/reent/lseek64r.c b/newlib/libc/reent/lseek64r.c
index 1241a27..2f16f0b 100644
--- a/newlib/libc/reent/lseek64r.c
+++ b/newlib/libc/reent/lseek64r.c
@@ -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;
diff --git a/newlib/libc/reent/lseekr.c b/newlib/libc/reent/lseekr.c
index cc73ab4..6391589 100644
--- a/newlib/libc/reent/lseekr.c
+++ b/newlib/libc/reent/lseekr.c
@@ -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;
diff --git a/newlib/libc/reent/mkdirr.c b/newlib/libc/reent/mkdirr.c
index eee999e..4c2c94f 100644
--- a/newlib/libc/reent/mkdirr.c
+++ b/newlib/libc/reent/mkdirr.c
@@ -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;
diff --git a/newlib/libc/reent/openr.c b/newlib/libc/reent/openr.c
index 06b203b..f38ff84 100644
--- a/newlib/libc/reent/openr.c
+++ b/newlib/libc/reent/openr.c
@@ -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;
diff --git a/newlib/libc/reent/readr.c b/newlib/libc/reent/readr.c
index 65e0514..edc6fd0 100644
--- a/newlib/libc/reent/readr.c
+++ b/newlib/libc/reent/readr.c
@@ -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;
diff --git a/newlib/libc/reent/reent.c b/newlib/libc/reent/reent.c
index b6c2abf..a98c311 100644
--- a/newlib/libc/reent/reent.c
+++ b/newlib/libc/reent/reent.c
@@ -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: */
diff --git a/newlib/libc/reent/renamer.c b/newlib/libc/reent/renamer.c
index 9b42dc3..e55c2f2 100644
--- a/newlib/libc/reent/renamer.c
+++ b/newlib/libc/reent/renamer.c
@@ -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;
diff --git a/newlib/libc/reent/sbrkr.c b/newlib/libc/reent/sbrkr.c
index 4217174..0bc4163 100644
--- a/newlib/libc/reent/sbrkr.c
+++ b/newlib/libc/reent/sbrkr.c
@@ -42,7 +42,7 @@ DESCRIPTION
void *
_DEFUN (_sbrk_r, (ptr, incr),
- struct _reent *ptr _AND
+ struct _reent *ptr,
ptrdiff_t incr)
{
char *ret;
diff --git a/newlib/libc/reent/signalr.c b/newlib/libc/reent/signalr.c
index 95dd49e..9229061 100644
--- a/newlib/libc/reent/signalr.c
+++ b/newlib/libc/reent/signalr.c
@@ -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;
diff --git a/newlib/libc/reent/stat64r.c b/newlib/libc/reent/stat64r.c
index 1f175e0..134ca82 100644
--- a/newlib/libc/reent/stat64r.c
+++ b/newlib/libc/reent/stat64r.c
@@ -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;
diff --git a/newlib/libc/reent/statr.c b/newlib/libc/reent/statr.c
index 3500c88..2b271e1 100644
--- a/newlib/libc/reent/statr.c
+++ b/newlib/libc/reent/statr.c
@@ -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;
diff --git a/newlib/libc/reent/timesr.c b/newlib/libc/reent/timesr.c
index efb98b6..dbe6a4e 100644
--- a/newlib/libc/reent/timesr.c
+++ b/newlib/libc/reent/timesr.c
@@ -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;
diff --git a/newlib/libc/reent/unlinkr.c b/newlib/libc/reent/unlinkr.c
index 53b8f11..eb000be 100644
--- a/newlib/libc/reent/unlinkr.c
+++ b/newlib/libc/reent/unlinkr.c
@@ -39,7 +39,7 @@ DESCRIPTION
int
_DEFUN (_unlink_r, (ptr, file),
- struct _reent *ptr _AND
+ struct _reent *ptr,
_CONST char *file)
{
int ret;
diff --git a/newlib/libc/reent/writer.c b/newlib/libc/reent/writer.c
index 4190a90..4e06d74 100644
--- a/newlib/libc/reent/writer.c
+++ b/newlib/libc/reent/writer.c
@@ -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;
diff --git a/newlib/libc/search/bsearch.c b/newlib/libc/search/bsearch.c
index 579633c..c15ea64 100644
--- a/newlib/libc/search/bsearch.c
+++ b/newlib/libc/search/bsearch.c
@@ -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;
diff --git a/newlib/libc/search/hash.c b/newlib/libc/search/hash.c
index 5fea88a..f20322c 100644
--- a/newlib/libc/search/hash.c
+++ b/newlib/libc/search/hash.c
@@ -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;
diff --git a/newlib/libc/search/hcreate.c b/newlib/libc/search/hcreate.c
index b7be1cd..8002116 100644
--- a/newlib/libc/search/hcreate.c
+++ b/newlib/libc/search/hcreate.c
@@ -70,7 +70,7 @@ _DEFUN_VOID (hdestroy)
ENTRY *
_DEFUN(hsearch, (item, action),
- ENTRY item _AND
+ ENTRY item,
ACTION action)
{
ENTRY *retval;
diff --git a/newlib/libc/search/qsort.c b/newlib/libc/search/qsort.c
index 9a8e7fa..e24a62a 100644
--- a/newlib/libc/search/qsort.c
+++ b/newlib/libc/search/qsort.c
@@ -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
{
diff --git a/newlib/libc/search/tdelete.c b/newlib/libc/search/tdelete.c
index b607b54..a0128e9 100644
--- a/newlib/libc/search/tdelete.c
+++ b/newlib/libc/search/tdelete.c
@@ -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;
diff --git a/newlib/libc/search/tdestroy.c b/newlib/libc/search/tdestroy.c
index 3e7327c..e141820 100644
--- a/newlib/libc/search/tdestroy.c
+++ b/newlib/libc/search/tdestroy.c
@@ -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;
diff --git a/newlib/libc/search/tfind.c b/newlib/libc/search/tfind.c
index 5d7c40c..1082130 100644
--- a/newlib/libc/search/tfind.c
+++ b/newlib/libc/search/tfind.c
@@ -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;
diff --git a/newlib/libc/search/tsearch.c b/newlib/libc/search/tsearch.c
index 5f41b40..8fe2657 100644
--- a/newlib/libc/search/tsearch.c
+++ b/newlib/libc/search/tsearch.c
@@ -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;
diff --git a/newlib/libc/search/twalk.c b/newlib/libc/search/twalk.c
index 74ad5a6..26d6e97 100644
--- a/newlib/libc/search/twalk.c
+++ b/newlib/libc/search/twalk.c
@@ -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)
diff --git a/newlib/libc/signal/psignal.c b/newlib/libc/signal/psignal.c
index f2cfdf3..f0c9b6e 100644
--- a/newlib/libc/signal/psignal.c
+++ b/newlib/libc/signal/psignal.c
@@ -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')
diff --git a/newlib/libc/signal/raise.c b/newlib/libc/signal/raise.c
index df3ebb5..6f93686 100644
--- a/newlib/libc/signal/raise.c
+++ b/newlib/libc/signal/raise.c
@@ -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);
diff --git a/newlib/libc/signal/signal.c b/newlib/libc/signal/signal.c
index 5729f65..806abd8 100644
--- a/newlib/libc/signal/signal.c
+++ b/newlib/libc/signal/signal.c
@@ -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);
diff --git a/newlib/libc/stdio/asiprintf.c b/newlib/libc/stdio/asiprintf.c
index 0c363d5..8699673 100644
--- a/newlib/libc/stdio/asiprintf.c
+++ b/newlib/libc/stdio/asiprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/asniprintf.c b/newlib/libc/stdio/asniprintf.c
index 16ccfde..f033f1b 100644
--- a/newlib/libc/stdio/asniprintf.c
+++ b/newlib/libc/stdio/asniprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/asnprintf.c b/newlib/libc/stdio/asnprintf.c
index 2e8d8aa..e80ca06 100644
--- a/newlib/libc/stdio/asnprintf.c
+++ b/newlib/libc/stdio/asnprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/asprintf.c b/newlib/libc/stdio/asprintf.c
index bf214f9..1e75174 100644
--- a/newlib/libc/stdio/asprintf.c
+++ b/newlib/libc/stdio/asprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/diprintf.c b/newlib/libc/stdio/diprintf.c
index fde6ea4..f57cbac 100644
--- a/newlib/libc/stdio/diprintf.c
+++ b/newlib/libc/stdio/diprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/dprintf.c b/newlib/libc/stdio/dprintf.c
index 7389eef..831fe20 100644
--- a/newlib/libc/stdio/dprintf.c
+++ b/newlib/libc/stdio/dprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/fclose.c b/newlib/libc/stdio/fclose.c
index 3325a89..264d2e4 100644
--- a/newlib/libc/stdio/fclose.c
+++ b/newlib/libc/stdio/fclose.c
@@ -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;
diff --git a/newlib/libc/stdio/fdopen.c b/newlib/libc/stdio/fdopen.c
index e0268ed..7dda3c3 100644
--- a/newlib/libc/stdio/fdopen.c
+++ b/newlib/libc/stdio/fdopen.c
@@ -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);
diff --git a/newlib/libc/stdio/fflush.c b/newlib/libc/stdio/fflush.c
index 199acbd..18d6d3e 100644
--- a/newlib/libc/stdio/fflush.c
+++ b/newlib/libc/stdio/fflush.c
@@ -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;
diff --git a/newlib/libc/stdio/fgetc.c b/newlib/libc/stdio/fgetc.c
index 54322a0..45404d3 100644
--- a/newlib/libc/stdio/fgetc.c
+++ b/newlib/libc/stdio/fgetc.c
@@ -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;
diff --git a/newlib/libc/stdio/fgetc_u.c b/newlib/libc/stdio/fgetc_u.c
index 5bbd5a5..45ee3b1 100644
--- a/newlib/libc/stdio/fgetc_u.c
+++ b/newlib/libc/stdio/fgetc_u.c
@@ -30,7 +30,7 @@
int
_DEFUN(_fgetc_unlocked_r, (ptr, fp),
- struct _reent * ptr _AND
+ struct _reent * ptr,
FILE * fp)
{
CHECK_INIT(ptr, fp);
diff --git a/newlib/libc/stdio/fgetpos.c b/newlib/libc/stdio/fgetpos.c
index 3074526..373adfd 100644
--- a/newlib/libc/stdio/fgetpos.c
+++ b/newlib/libc/stdio/fgetpos.c
@@ -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);
diff --git a/newlib/libc/stdio/fgets.c b/newlib/libc/stdio/fgets.c
index 5409751..5edeef9 100644
--- a/newlib/libc/stdio/fgets.c
+++ b/newlib/libc/stdio/fgets.c
@@ -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);
diff --git a/newlib/libc/stdio/fgetwc.c b/newlib/libc/stdio/fgetwc.c
index 0773148..718b53a 100644
--- a/newlib/libc/stdio/fgetwc.c
+++ b/newlib/libc/stdio/fgetwc.c
@@ -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;
diff --git a/newlib/libc/stdio/fgetwc_u.c b/newlib/libc/stdio/fgetwc_u.c
index 4ccd576..f3a4fea 100644
--- a/newlib/libc/stdio/fgetwc_u.c
+++ b/newlib/libc/stdio/fgetwc_u.c
@@ -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);
diff --git a/newlib/libc/stdio/fgetws.c b/newlib/libc/stdio/fgetws.c
index 3dbf3ef..8ca95d1 100644
--- a/newlib/libc/stdio/fgetws.c
+++ b/newlib/libc/stdio/fgetws.c
@@ -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;
diff --git a/newlib/libc/stdio/findfp.c b/newlib/libc/stdio/findfp.c
index 737bde1..3d928c1 100644
--- a/newlib/libc/stdio/findfp.c
+++ b/newlib/libc/stdio/findfp.c
@@ -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;
diff --git a/newlib/libc/stdio/fiprintf.c b/newlib/libc/stdio/fiprintf.c
index 7d417f8..1510556 100644
--- a/newlib/libc/stdio/fiprintf.c
+++ b/newlib/libc/stdio/fiprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/flags.c b/newlib/libc/stdio/flags.c
index 518cc33..b8f660e 100644
--- a/newlib/libc/stdio/flags.c
+++ b/newlib/libc/stdio/flags.c
@@ -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;
diff --git a/newlib/libc/stdio/fmemopen.c b/newlib/libc/stdio/fmemopen.c
index 520ba1b..6a6153f 100644
--- a/newlib/libc/stdio/fmemopen.c
+++ b/newlib/libc/stdio/fmemopen.c
@@ -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);
diff --git a/newlib/libc/stdio/fopen.c b/newlib/libc/stdio/fopen.c
index 2551bef..92ec706 100644
--- a/newlib/libc/stdio/fopen.c
+++ b/newlib/libc/stdio/fopen.c
@@ -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);
diff --git a/newlib/libc/stdio/fopencookie.c b/newlib/libc/stdio/fopencookie.c
index eb98613..4ea1ab1 100644
--- a/newlib/libc/stdio/fopencookie.c
+++ b/newlib/libc/stdio/fopencookie.c
@@ -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);
diff --git a/newlib/libc/stdio/fprintf.c b/newlib/libc/stdio/fprintf.c
index fe92a5b..6a98237 100644
--- a/newlib/libc/stdio/fprintf.c
+++ b/newlib/libc/stdio/fprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/fpurge.c b/newlib/libc/stdio/fpurge.c
index de621fe..acd177a 100644
--- a/newlib/libc/stdio/fpurge.c
+++ b/newlib/libc/stdio/fpurge.c
@@ -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;
diff --git a/newlib/libc/stdio/fputc.c b/newlib/libc/stdio/fputc.c
index f9273d6..452bb29 100644
--- a/newlib/libc/stdio/fputc.c
+++ b/newlib/libc/stdio/fputc.c
@@ -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)
diff --git a/newlib/libc/stdio/fputc_u.c b/newlib/libc/stdio/fputc_u.c
index ac64b0b..27690e2 100644
--- a/newlib/libc/stdio/fputc_u.c
+++ b/newlib/libc/stdio/fputc_u.c
@@ -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)
diff --git a/newlib/libc/stdio/fputs.c b/newlib/libc/stdio/fputs.c
index c458826..7adb89a 100644
--- a/newlib/libc/stdio/fputs.c
+++ b/newlib/libc/stdio/fputs.c
@@ -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);
diff --git a/newlib/libc/stdio/fputwc.c b/newlib/libc/stdio/fputwc.c
index 5e2a9e3..4943cef 100644
--- a/newlib/libc/stdio/fputwc.c
+++ b/newlib/libc/stdio/fputwc.c
@@ -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;
diff --git a/newlib/libc/stdio/fputwc_u.c b/newlib/libc/stdio/fputwc_u.c
index 43be648..4d4f07a 100644
--- a/newlib/libc/stdio/fputwc_u.c
+++ b/newlib/libc/stdio/fputwc_u.c
@@ -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;
diff --git a/newlib/libc/stdio/fputws.c b/newlib/libc/stdio/fputws.c
index c68241c..8a470fc 100644
--- a/newlib/libc/stdio/fputws.c
+++ b/newlib/libc/stdio/fputws.c
@@ -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;
diff --git a/newlib/libc/stdio/fread.c b/newlib/libc/stdio/fread.c
index c2e60be..cff60ef 100644
--- a/newlib/libc/stdio/fread.c
+++ b/newlib/libc/stdio/fread.c
@@ -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);
diff --git a/newlib/libc/stdio/freopen.c b/newlib/libc/stdio/freopen.c
index e5bb73a..b9fee0c 100644
--- a/newlib/libc/stdio/freopen.c
+++ b/newlib/libc/stdio/freopen.c
@@ -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);
diff --git a/newlib/libc/stdio/fseek.c b/newlib/libc/stdio/fseek.c
index b5bd979..4b8a1e0 100644
--- a/newlib/libc/stdio/fseek.c
+++ b/newlib/libc/stdio/fseek.c
@@ -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);
diff --git a/newlib/libc/stdio/fseeko.c b/newlib/libc/stdio/fseeko.c
index 52f9789..58bb951 100644
--- a/newlib/libc/stdio/fseeko.c
+++ b/newlib/libc/stdio/fseeko.c
@@ -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);
diff --git a/newlib/libc/stdio/fsetlocking.c b/newlib/libc/stdio/fsetlocking.c
index d62aef3..e27aa42 100644
--- a/newlib/libc/stdio/fsetlocking.c
+++ b/newlib/libc/stdio/fsetlocking.c
@@ -66,7 +66,7 @@ No supporting OS subroutines are required.
int
_DEFUN(__fsetlocking, (fp, type),
- FILE * fp _AND
+ FILE * fp,
int type)
{
int result;
diff --git a/newlib/libc/stdio/fsetpos.c b/newlib/libc/stdio/fsetpos.c
index a2a5d7b..ffc9d79 100644
--- a/newlib/libc/stdio/fsetpos.c
+++ b/newlib/libc/stdio/fsetpos.c
@@ -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);
diff --git a/newlib/libc/stdio/ftell.c b/newlib/libc/stdio/ftell.c
index 70eed84..1260d5e 100644
--- a/newlib/libc/stdio/ftell.c
+++ b/newlib/libc/stdio/ftell.c
@@ -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;
diff --git a/newlib/libc/stdio/ftello.c b/newlib/libc/stdio/ftello.c
index 90c4d32..9d04a45 100644
--- a/newlib/libc/stdio/ftello.c
+++ b/newlib/libc/stdio/ftello.c
@@ -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;
diff --git a/newlib/libc/stdio/funopen.c b/newlib/libc/stdio/funopen.c
index 58b7564..23bed7b 100644
--- a/newlib/libc/stdio/funopen.c
+++ b/newlib/libc/stdio/funopen.c
@@ -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);
diff --git a/newlib/libc/stdio/fvwrite.c b/newlib/libc/stdio/fvwrite.c
index 4556660..a0432a0 100644
--- a/newlib/libc/stdio/fvwrite.c
+++ b/newlib/libc/stdio/fvwrite.c
@@ -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;
diff --git a/newlib/libc/stdio/fwalk.c b/newlib/libc/stdio/fwalk.c
index cceaa96..8b7b5b0 100644
--- a/newlib/libc/stdio/fwalk.c
+++ b/newlib/libc/stdio/fwalk.c
@@ -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;
diff --git a/newlib/libc/stdio/fwide.c b/newlib/libc/stdio/fwide.c
index a57a77c..719a58a 100644
--- a/newlib/libc/stdio/fwide.c
+++ b/newlib/libc/stdio/fwide.c
@@ -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);
diff --git a/newlib/libc/stdio/fwprintf.c b/newlib/libc/stdio/fwprintf.c
index 4b05824..00a8d41 100644
--- a/newlib/libc/stdio/fwprintf.c
+++ b/newlib/libc/stdio/fwprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/fwrite.c b/newlib/libc/stdio/fwrite.c
index 2ba71f3..a805eff 100644
--- a/newlib/libc/stdio/fwrite.c
+++ b/newlib/libc/stdio/fwrite.c
@@ -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);
diff --git a/newlib/libc/stdio/getc.c b/newlib/libc/stdio/getc.c
index 37e3458..269bfb1 100644
--- a/newlib/libc/stdio/getc.c
+++ b/newlib/libc/stdio/getc.c
@@ -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;
diff --git a/newlib/libc/stdio/getc_u.c b/newlib/libc/stdio/getc_u.c
index 6b71ce5..2f9f0e8 100644
--- a/newlib/libc/stdio/getc_u.c
+++ b/newlib/libc/stdio/getc_u.c
@@ -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. */
diff --git a/newlib/libc/stdio/getdelim.c b/newlib/libc/stdio/getdelim.c
index d806c02..4164be5 100644
--- a/newlib/libc/stdio/getdelim.c
+++ b/newlib/libc/stdio/getdelim.c
@@ -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;
diff --git a/newlib/libc/stdio/getline.c b/newlib/libc/stdio/getline.c
index 66ffd19..b212a8c 100644
--- a/newlib/libc/stdio/getline.c
+++ b/newlib/libc/stdio/getline.c
@@ -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);
diff --git a/newlib/libc/stdio/gets.c b/newlib/libc/stdio/gets.c
index a78d06b..4e951ef 100644
--- a/newlib/libc/stdio/gets.c
+++ b/newlib/libc/stdio/gets.c
@@ -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;
diff --git a/newlib/libc/stdio/getwc.c b/newlib/libc/stdio/getwc.c
index 6d88fa8..db9a437 100644
--- a/newlib/libc/stdio/getwc.c
+++ b/newlib/libc/stdio/getwc.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);
diff --git a/newlib/libc/stdio/getwc_u.c b/newlib/libc/stdio/getwc_u.c
index 613b69e..913c3e0 100644
--- a/newlib/libc/stdio/getwc_u.c
+++ b/newlib/libc/stdio/getwc_u.c
@@ -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);
diff --git a/newlib/libc/stdio/iprintf.c b/newlib/libc/stdio/iprintf.c
index c55f7ce..6c30c42 100644
--- a/newlib/libc/stdio/iprintf.c
+++ b/newlib/libc/stdio/iprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/makebuf.c b/newlib/libc/stdio/makebuf.c
index ab20a08..ac1276b 100644
--- a/newlib/libc/stdio/makebuf.c
+++ b/newlib/libc/stdio/makebuf.c
@@ -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
diff --git a/newlib/libc/stdio/mktemp.c b/newlib/libc/stdio/mktemp.c
index 3ece9ab..3709249 100644
--- a/newlib/libc/stdio/mktemp.c
+++ b/newlib/libc/stdio/mktemp.c
@@ -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;
diff --git a/newlib/libc/stdio/nano-vfprintf.c b/newlib/libc/stdio/nano-vfprintf.c
index 663eb71..f01e6a4 100644
--- a/newlib/libc/stdio/nano-vfprintf.c
+++ b/newlib/libc/stdio/nano-vfprintf.c
@@ -183,9 +183,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;
@@ -254,8 +254,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;
@@ -358,8 +358,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;
@@ -403,8 +403,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'))
@@ -415,9 +415,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;
@@ -453,8 +453,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;
@@ -482,9 +482,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. */
diff --git a/newlib/libc/stdio/nano-vfscanf.c b/newlib/libc/stdio/nano-vfscanf.c
index 6467e54..99c13f2 100644
--- a/newlib/libc/stdio/nano-vfscanf.c
+++ b/newlib/libc/stdio/nano-vfscanf.c
@@ -145,8 +145,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);
@@ -159,8 +159,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);
@@ -170,9 +170,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);
@@ -190,8 +190,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)
@@ -239,7 +239,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.
@@ -269,9 +269,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;
diff --git a/newlib/libc/stdio/open_memstream.c b/newlib/libc/stdio/open_memstream.c
index 9e6736f..5dd6411 100644
--- a/newlib/libc/stdio/open_memstream.c
+++ b/newlib/libc/stdio/open_memstream.c
@@ -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);
diff --git a/newlib/libc/stdio/perror.c b/newlib/libc/stdio/perror.c
index 0f02596..cd18291 100644
--- a/newlib/libc/stdio/perror.c
+++ b/newlib/libc/stdio/perror.c
@@ -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;
diff --git a/newlib/libc/stdio/printf.c b/newlib/libc/stdio/printf.c
index d5dedf9..ba5b768 100644
--- a/newlib/libc/stdio/printf.c
+++ b/newlib/libc/stdio/printf.c
@@ -24,7 +24,7 @@
int
_DEFUN(_printf_r, (ptr, fmt),
- struct _reent *ptr _AND
+ struct _reent *ptr,
const char *__restrict fmt _DOTS)
{
int ret;
diff --git a/newlib/libc/stdio/putc.c b/newlib/libc/stdio/putc.c
index a00aaad..e69841d 100644
--- a/newlib/libc/stdio/putc.c
+++ b/newlib/libc/stdio/putc.c
@@ -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__)
diff --git a/newlib/libc/stdio/putc_u.c b/newlib/libc/stdio/putc_u.c
index f710aaf..b53060b 100644
--- a/newlib/libc/stdio/putc_u.c
+++ b/newlib/libc/stdio/putc_u.c
@@ -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. */
diff --git a/newlib/libc/stdio/putchar.c b/newlib/libc/stdio/putchar.c
index a4b6698..813144a 100644
--- a/newlib/libc/stdio/putchar.c
+++ b/newlib/libc/stdio/putchar.c
@@ -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);
diff --git a/newlib/libc/stdio/putchar_u.c b/newlib/libc/stdio/putchar_u.c
index a866c77..e0ed8f7 100644
--- a/newlib/libc/stdio/putchar_u.c
+++ b/newlib/libc/stdio/putchar_u.c
@@ -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));
diff --git a/newlib/libc/stdio/puts.c b/newlib/libc/stdio/puts.c
index 72f929e..36cc832 100644
--- a/newlib/libc/stdio/puts.c
+++ b/newlib/libc/stdio/puts.c
@@ -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
diff --git a/newlib/libc/stdio/putw.c b/newlib/libc/stdio/putw.c
index d4f7858..1e3c78c 100644
--- a/newlib/libc/stdio/putw.c
+++ b/newlib/libc/stdio/putw.c
@@ -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)
diff --git a/newlib/libc/stdio/putwc.c b/newlib/libc/stdio/putwc.c
index 9a84f35..7c31d23 100644
--- a/newlib/libc/stdio/putwc.c
+++ b/newlib/libc/stdio/putwc.c
@@ -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);
diff --git a/newlib/libc/stdio/putwc_u.c b/newlib/libc/stdio/putwc_u.c
index bb71acc..cb09fd2 100644
--- a/newlib/libc/stdio/putwc_u.c
+++ b/newlib/libc/stdio/putwc_u.c
@@ -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);
diff --git a/newlib/libc/stdio/putwchar.c b/newlib/libc/stdio/putwchar.c
index 248d592..66ed30a 100644
--- a/newlib/libc/stdio/putwchar.c
+++ b/newlib/libc/stdio/putwchar.c
@@ -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);
diff --git a/newlib/libc/stdio/putwchar_u.c b/newlib/libc/stdio/putwchar_u.c
index 3235472..68c5abe 100644
--- a/newlib/libc/stdio/putwchar_u.c
+++ b/newlib/libc/stdio/putwchar_u.c
@@ -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);
diff --git a/newlib/libc/stdio/refill.c b/newlib/libc/stdio/refill.c
index 9d853f9..fc738d4 100644
--- a/newlib/libc/stdio/refill.c
+++ b/newlib/libc/stdio/refill.c
@@ -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 */
diff --git a/newlib/libc/stdio/remove.c b/newlib/libc/stdio/remove.c
index 7b8d306..18c468d 100644
--- a/newlib/libc/stdio/remove.c
+++ b/newlib/libc/stdio/remove.c
@@ -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)
diff --git a/newlib/libc/stdio/rename.c b/newlib/libc/stdio/rename.c
index 1b807f8..a2b0d41 100644
--- a/newlib/libc/stdio/rename.c
+++ b/newlib/libc/stdio/rename.c
@@ -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);
diff --git a/newlib/libc/stdio/rewind.c b/newlib/libc/stdio/rewind.c
index 417a596..873083b 100644
--- a/newlib/libc/stdio/rewind.c
+++ b/newlib/libc/stdio/rewind.c
@@ -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);
diff --git a/newlib/libc/stdio/rget.c b/newlib/libc/stdio/rget.c
index 9474bd9..d76f307 100644
--- a/newlib/libc/stdio/rget.c
+++ b/newlib/libc/stdio/rget.c
@@ -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
diff --git a/newlib/libc/stdio/sccl.c b/newlib/libc/stdio/sccl.c
index b018011..d0bdfd9 100644
--- a/newlib/libc/stdio/sccl.c
+++ b/newlib/libc/stdio/sccl.c
@@ -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;
diff --git a/newlib/libc/stdio/setbuf.c b/newlib/libc/stdio/setbuf.c
index 29f5377..a7df3a1 100644
--- a/newlib/libc/stdio/setbuf.c
+++ b/newlib/libc/stdio/setbuf.c
@@ -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);
diff --git a/newlib/libc/stdio/setbuffer.c b/newlib/libc/stdio/setbuffer.c
index 880779d..cbcbde3 100644
--- a/newlib/libc/stdio/setbuffer.c
+++ b/newlib/libc/stdio/setbuffer.c
@@ -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);
diff --git a/newlib/libc/stdio/setvbuf.c b/newlib/libc/stdio/setvbuf.c
index 6fa0252..684a8b5 100644
--- a/newlib/libc/stdio/setvbuf.c
+++ b/newlib/libc/stdio/setvbuf.c
@@ -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;
diff --git a/newlib/libc/stdio/siprintf.c b/newlib/libc/stdio/siprintf.c
index d9559c3..861fc8d 100644
--- a/newlib/libc/stdio/siprintf.c
+++ b/newlib/libc/stdio/siprintf.c
@@ -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)
diff --git a/newlib/libc/stdio/siscanf.c b/newlib/libc/stdio/siscanf.c
index c89eb7c..81d60d0 100644
--- a/newlib/libc/stdio/siscanf.c
+++ b/newlib/libc/stdio/siscanf.c
@@ -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
diff --git a/newlib/libc/stdio/sniprintf.c b/newlib/libc/stdio/sniprintf.c
index 98a2c25..65e5b06 100644
--- a/newlib/libc/stdio/sniprintf.c
+++ b/newlib/libc/stdio/sniprintf.c
@@ -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)
diff --git a/newlib/libc/stdio/snprintf.c b/newlib/libc/stdio/snprintf.c
index d2408b2..2066a56 100644
--- a/newlib/libc/stdio/snprintf.c
+++ b/newlib/libc/stdio/snprintf.c
@@ -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)
diff --git a/newlib/libc/stdio/sprintf.c b/newlib/libc/stdio/sprintf.c
index 7fc9e68..7ed0a0f 100644
--- a/newlib/libc/stdio/sprintf.c
+++ b/newlib/libc/stdio/sprintf.c
@@ -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)
diff --git a/newlib/libc/stdio/sscanf.c b/newlib/libc/stdio/sscanf.c
index d2d9dfe..bfec067 100644
--- a/newlib/libc/stdio/sscanf.c
+++ b/newlib/libc/stdio/sscanf.c
@@ -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
diff --git a/newlib/libc/stdio/stdio.c b/newlib/libc/stdio/stdio.c
index a6e28f5..e64c061 100644
--- a/newlib/libc/stdio/stdio.c
+++ b/newlib/libc/stdio/stdio.c
@@ -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;
diff --git a/newlib/libc/stdio/swprintf.c b/newlib/libc/stdio/swprintf.c
index fe106f0..0ddc492 100644
--- a/newlib/libc/stdio/swprintf.c
+++ b/newlib/libc/stdio/swprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/tmpnam.c b/newlib/libc/stdio/tmpnam.c
index 765d27a..fbd60fc 100644
--- a/newlib/libc/stdio/tmpnam.c
+++ b/newlib/libc/stdio/tmpnam.c
@@ -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);
diff --git a/newlib/libc/stdio/ungetc.c b/newlib/libc/stdio/ungetc.c
index da4b19d..9859047 100644
--- a/newlib/libc/stdio/ungetc.c
+++ b/newlib/libc/stdio/ungetc.c
@@ -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);
diff --git a/newlib/libc/stdio/ungetwc.c b/newlib/libc/stdio/ungetwc.c
index 000d4bd..60f3e5b 100644
--- a/newlib/libc/stdio/ungetwc.c
+++ b/newlib/libc/stdio/ungetwc.c
@@ -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;
diff --git a/newlib/libc/stdio/vasiprintf.c b/newlib/libc/stdio/vasiprintf.c
index f96de0d..259d44b 100644
--- a/newlib/libc/stdio/vasiprintf.c
+++ b/newlib/libc/stdio/vasiprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/vasniprintf.c b/newlib/libc/stdio/vasniprintf.c
index 56db45e..9bbe30c 100644
--- a/newlib/libc/stdio/vasniprintf.c
+++ b/newlib/libc/stdio/vasniprintf.c
@@ -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);
diff --git a/newlib/libc/stdio/vasnprintf.c b/newlib/libc/stdio/vasnprintf.c
index 4cb43ce..6edb473 100644
--- a/newlib/libc/stdio/vasnprintf.c
+++ b/newlib/libc/stdio/vasnprintf.c
@@ -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);
diff --git a/newlib/libc/stdio/vasprintf.c b/newlib/libc/stdio/vasprintf.c
index 5ba817d..c0961de 100644
--- a/newlib/libc/stdio/vasprintf.c
+++ b/newlib/libc/stdio/vasprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/vdiprintf.c b/newlib/libc/stdio/vdiprintf.c
index 51bdb00..73a3b19 100644
--- a/newlib/libc/stdio/vdiprintf.c
+++ b/newlib/libc/stdio/vdiprintf.c
@@ -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);
diff --git a/newlib/libc/stdio/vdprintf.c b/newlib/libc/stdio/vdprintf.c
index c295a39..1b50e88 100644
--- a/newlib/libc/stdio/vdprintf.c
+++ b/newlib/libc/stdio/vdprintf.c
@@ -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);
diff --git a/newlib/libc/stdio/vfprintf.c b/newlib/libc/stdio/vfprintf.c
index 211cb17..904dfa7 100644
--- a/newlib/libc/stdio/vfprintf.c
+++ b/newlib/libc/stdio/vfprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/vfscanf.c b/newlib/libc/stdio/vfscanf.c
index b145345..3f67b23 100644
--- a/newlib/libc/stdio/vfscanf.c
+++ b/newlib/libc/stdio/vfscanf.c
@@ -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;
diff --git a/newlib/libc/stdio/vfwprintf.c b/newlib/libc/stdio/vfwprintf.c
index 9c421d2..7339ffe 100644
--- a/newlib/libc/stdio/vfwprintf.c
+++ b/newlib/libc/stdio/vfwprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/vfwscanf.c b/newlib/libc/stdio/vfwscanf.c
index a286464..715f231 100644
--- a/newlib/libc/stdio/vfwscanf.c
+++ b/newlib/libc/stdio/vfwscanf.c
@@ -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;
diff --git a/newlib/libc/stdio/viprintf.c b/newlib/libc/stdio/viprintf.c
index 85ae286..ef2a04e 100644
--- a/newlib/libc/stdio/viprintf.c
+++ b/newlib/libc/stdio/viprintf.c
@@ -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);
diff --git a/newlib/libc/stdio/viscanf.c b/newlib/libc/stdio/viscanf.c
index 379daa2..569fad9 100644
--- a/newlib/libc/stdio/viscanf.c
+++ b/newlib/libc/stdio/viscanf.c
@@ -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);
diff --git a/newlib/libc/stdio/vprintf.c b/newlib/libc/stdio/vprintf.c
index 00b8023..26671f7 100644
--- a/newlib/libc/stdio/vprintf.c
+++ b/newlib/libc/stdio/vprintf.c
@@ -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);
diff --git a/newlib/libc/stdio/vscanf.c b/newlib/libc/stdio/vscanf.c
index 4371e23..2506919 100644
--- a/newlib/libc/stdio/vscanf.c
+++ b/newlib/libc/stdio/vscanf.c
@@ -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);
diff --git a/newlib/libc/stdio/vsiprintf.c b/newlib/libc/stdio/vsiprintf.c
index 150b4e7..ff83b78 100644
--- a/newlib/libc/stdio/vsiprintf.c
+++ b/newlib/libc/stdio/vsiprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/vsiscanf.c b/newlib/libc/stdio/vsiscanf.c
index 0129599..cf5120f 100644
--- a/newlib/libc/stdio/vsiscanf.c
+++ b/newlib/libc/stdio/vsiscanf.c
@@ -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;
diff --git a/newlib/libc/stdio/vsniprintf.c b/newlib/libc/stdio/vsniprintf.c
index c4305c1..e60f779 100644
--- a/newlib/libc/stdio/vsniprintf.c
+++ b/newlib/libc/stdio/vsniprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/vsnprintf.c b/newlib/libc/stdio/vsnprintf.c
index e08f267..dda4525 100644
--- a/newlib/libc/stdio/vsnprintf.c
+++ b/newlib/libc/stdio/vsnprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/vsprintf.c b/newlib/libc/stdio/vsprintf.c
index 742cde0..4940b97 100644
--- a/newlib/libc/stdio/vsprintf.c
+++ b/newlib/libc/stdio/vsprintf.c
@@ -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;
diff --git a/newlib/libc/stdio/vsscanf.c b/newlib/libc/stdio/vsscanf.c
index 1660fa1..706461d 100644
--- a/newlib/libc/stdio/vsscanf.c
+++ b/newlib/libc/stdio/vsscanf.c
@@ -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;
diff --git a/newlib/libc/stdio/vswprintf.c b/newlib/libc/stdio/vswprintf.c
index ac321b6..9c9127c 100644
--- a/newlib/libc/stdio/vswprintf.c
+++ b/newlib/libc/stdio/vswprintf.c
@@ -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);
diff --git a/newlib/libc/stdio/vwprintf.c b/newlib/libc/stdio/vwprintf.c
index 51d1df3..191fb70 100644
--- a/newlib/libc/stdio/vwprintf.c
+++ b/newlib/libc/stdio/vwprintf.c
@@ -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);
diff --git a/newlib/libc/stdio/wbuf.c b/newlib/libc/stdio/wbuf.c
index f9197ea..13578ea 100644
--- a/newlib/libc/stdio/wbuf.c
+++ b/newlib/libc/stdio/wbuf.c
@@ -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);
diff --git a/newlib/libc/stdio/wprintf.c b/newlib/libc/stdio/wprintf.c
index e05ba10..99c5696 100644
--- a/newlib/libc/stdio/wprintf.c
+++ b/newlib/libc/stdio/wprintf.c
@@ -25,7 +25,7 @@
int
_DEFUN(_wprintf_r, (ptr, fmt),
- struct _reent *ptr _AND
+ struct _reent *ptr,
const wchar_t *fmt _DOTS)
{
int ret;
diff --git a/newlib/libc/stdio/wsetup.c b/newlib/libc/stdio/wsetup.c
index 08ae70f..72280d2 100644
--- a/newlib/libc/stdio/wsetup.c
+++ b/newlib/libc/stdio/wsetup.c
@@ -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. */
diff --git a/newlib/libc/stdio64/fdopen64.c b/newlib/libc/stdio64/fdopen64.c
index f386583..1a238f7 100644
--- a/newlib/libc/stdio64/fdopen64.c
+++ b/newlib/libc/stdio64/fdopen64.c
@@ -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);
diff --git a/newlib/libc/stdio64/fgetpos64.c b/newlib/libc/stdio64/fgetpos64.c
index a1d0a37..e2dd289 100644
--- a/newlib/libc/stdio64/fgetpos64.c
+++ b/newlib/libc/stdio64/fgetpos64.c
@@ -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);
diff --git a/newlib/libc/stdio64/fopen64.c b/newlib/libc/stdio64/fopen64.c
index 60ac73f..7edb5d8 100644
--- a/newlib/libc/stdio64/fopen64.c
+++ b/newlib/libc/stdio64/fopen64.c
@@ -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);
diff --git a/newlib/libc/stdio64/freopen64.c b/newlib/libc/stdio64/freopen64.c
index 379462c..6e42d0e 100644
--- a/newlib/libc/stdio64/freopen64.c
+++ b/newlib/libc/stdio64/freopen64.c
@@ -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);
diff --git a/newlib/libc/stdio64/fseeko64.c b/newlib/libc/stdio64/fseeko64.c
index 624e912..8cd11fa 100644
--- a/newlib/libc/stdio64/fseeko64.c
+++ b/newlib/libc/stdio64/fseeko64.c
@@ -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);
diff --git a/newlib/libc/stdio64/fsetpos64.c b/newlib/libc/stdio64/fsetpos64.c
index 83d9962..9cfc107 100644
--- a/newlib/libc/stdio64/fsetpos64.c
+++ b/newlib/libc/stdio64/fsetpos64.c
@@ -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);
diff --git a/newlib/libc/stdio64/ftello64.c b/newlib/libc/stdio64/ftello64.c
index 2441d4c..9a7e7ed 100644
--- a/newlib/libc/stdio64/ftello64.c
+++ b/newlib/libc/stdio64/ftello64.c
@@ -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;
diff --git a/newlib/libc/stdio64/stdio64.c b/newlib/libc/stdio64/stdio64.c
index dd3b4ad..813b919 100644
--- a/newlib/libc/stdio64/stdio64.c
+++ b/newlib/libc/stdio64/stdio64.c
@@ -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;
diff --git a/newlib/libc/stdlib/__adjust.c b/newlib/libc/stdlib/__adjust.c
index d5c7075..7627cc7 100644
--- a/newlib/libc/stdlib/__adjust.c
+++ b/newlib/libc/stdlib/__adjust.c
@@ -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 */
diff --git a/newlib/libc/stdlib/__atexit.c b/newlib/libc/stdlib/__atexit.c
index 0f4aeb8..cb4a268 100644
--- a/newlib/libc/stdlib/__atexit.c
+++ b/newlib/libc/stdlib/__atexit.c
@@ -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;
diff --git a/newlib/libc/stdlib/__call_atexit.c b/newlib/libc/stdlib/__call_atexit.c
index 6a809cc..e6c1ee6 100644
--- a/newlib/libc/stdlib/__call_atexit.c
+++ b/newlib/libc/stdlib/__call_atexit.c
@@ -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;
diff --git a/newlib/libc/stdlib/__ten_mu.c b/newlib/libc/stdlib/__ten_mu.c
index 637197b..a7fe70c 100644
--- a/newlib/libc/stdlib/__ten_mu.c
+++ b/newlib/libc/stdlib/__ten_mu.c
@@ -10,7 +10,7 @@
int
_DEFUN (__ten_mul, (acc, digit),
- double *acc _AND
+ double *acc,
int digit)
{
/*
diff --git a/newlib/libc/stdlib/assert.c b/newlib/libc/stdlib/assert.c
index a621874..ba5b461 100644
--- a/newlib/libc/stdlib/assert.c
+++ b/newlib/libc/stdlib/assert.c
@@ -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);
diff --git a/newlib/libc/stdlib/atoi.c b/newlib/libc/stdlib/atoi.c
index ac3b39a..936b381 100644
--- a/newlib/libc/stdlib/atoi.c
+++ b/newlib/libc/stdlib/atoi.c
@@ -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);
diff --git a/newlib/libc/stdlib/atol.c b/newlib/libc/stdlib/atol.c
index 8d0e5cd..8c2f556 100644
--- a/newlib/libc/stdlib/atol.c
+++ b/newlib/libc/stdlib/atol.c
@@ -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);
}
diff --git a/newlib/libc/stdlib/atoll.c b/newlib/libc/stdlib/atoll.c
index 9d8a64a..d0d4983 100644
--- a/newlib/libc/stdlib/atoll.c
+++ b/newlib/libc/stdlib/atoll.c
@@ -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);
diff --git a/newlib/libc/stdlib/calloc.c b/newlib/libc/stdlib/calloc.c
index 3a72378..dfdb7f5 100644
--- a/newlib/libc/stdlib/calloc.c
+++ b/newlib/libc/stdlib/calloc.c
@@ -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);
diff --git a/newlib/libc/stdlib/cxa_atexit.c b/newlib/libc/stdlib/cxa_atexit.c
index 39a59d5..c66b28e 100644
--- a/newlib/libc/stdlib/cxa_atexit.c
+++ b/newlib/libc/stdlib/cxa_atexit.c
@@ -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
diff --git a/newlib/libc/stdlib/div.c b/newlib/libc/stdlib/div.c
index a780a2d..4d2ffee 100644
--- a/newlib/libc/stdlib/div.c
+++ b/newlib/libc/stdlib/div.c
@@ -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;
diff --git a/newlib/libc/stdlib/dtoa.c b/newlib/libc/stdlib/dtoa.c
index c72ffac..3b89764 100644
--- a/newlib/libc/stdlib/dtoa.c
+++ b/newlib/libc/stdlib/dtoa.c
@@ -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
diff --git a/newlib/libc/stdlib/dtoastub.c b/newlib/libc/stdlib/dtoastub.c
index f4929f2..a857c24 100644
--- a/newlib/libc/stdlib/dtoastub.c
+++ b/newlib/libc/stdlib/dtoastub.c
@@ -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);
diff --git a/newlib/libc/stdlib/ecvtbuf.c b/newlib/libc/stdlib/ecvtbuf.c
index ee58c9a..2326f55 100644
--- a/newlib/libc/stdlib/ecvtbuf.c
+++ b/newlib/libc/stdlib/ecvtbuf.c
@@ -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)
diff --git a/newlib/libc/stdlib/efgcvt.c b/newlib/libc/stdlib/efgcvt.c
index ae64245..e354bb1 100644
--- a/newlib/libc/stdlib/efgcvt.c
+++ b/newlib/libc/stdlib/efgcvt.c
@@ -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;
diff --git a/newlib/libc/stdlib/erand48.c b/newlib/libc/stdlib/erand48.c
index 26b39fb..a62ff34 100644
--- a/newlib/libc/stdlib/erand48.c
+++ b/newlib/libc/stdlib/erand48.c
@@ -15,7 +15,7 @@
double
_DEFUN (_erand48_r, (r, xseed),
- struct _reent *r _AND
+ struct _reent *r,
unsigned short xseed[3])
{
__dorand48(r, xseed);
diff --git a/newlib/libc/stdlib/gdtoa-gethex.c b/newlib/libc/stdlib/gdtoa-gethex.c
index fd3903c..931ced3 100644
--- a/newlib/libc/stdlib/gdtoa-gethex.c
+++ b/newlib/libc/stdlib/gdtoa-gethex.c
@@ -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;
diff --git a/newlib/libc/stdlib/gdtoa-hexnan.c b/newlib/libc/stdlib/gdtoa-hexnan.c
index 24e3783..22033d9 100644
--- a/newlib/libc/stdlib/gdtoa-hexnan.c
+++ b/newlib/libc/stdlib/gdtoa-hexnan.c
@@ -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;
diff --git a/newlib/libc/stdlib/getenv.c b/newlib/libc/stdlib/getenv.c
index c64241e..2d394e2 100644
--- a/newlib/libc/stdlib/getenv.c
+++ b/newlib/libc/stdlib/getenv.c
@@ -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);
diff --git a/newlib/libc/stdlib/getenv_r.c b/newlib/libc/stdlib/getenv_r.c
index 7376f74..b34c2a9 100644
--- a/newlib/libc/stdlib/getenv_r.c
+++ b/newlib/libc/stdlib/getenv_r.c
@@ -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;
diff --git a/newlib/libc/stdlib/itoa.c b/newlib/libc/stdlib/itoa.c
index 3178cd4..25e6c35 100644
--- a/newlib/libc/stdlib/itoa.c
+++ b/newlib/libc/stdlib/itoa.c
@@ -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);
diff --git a/newlib/libc/stdlib/jrand48.c b/newlib/libc/stdlib/jrand48.c
index 9e2f92c..4f8c12b 100644
--- a/newlib/libc/stdlib/jrand48.c
+++ b/newlib/libc/stdlib/jrand48.c
@@ -15,7 +15,7 @@
long
_DEFUN (_jrand48_r, (r, xseed),
- struct _reent *r _AND
+ struct _reent *r,
unsigned short xseed[3])
{
__dorand48(r, xseed);
diff --git a/newlib/libc/stdlib/l64a.c b/newlib/libc/stdlib/l64a.c
index d415d04..6078427 100644
--- a/newlib/libc/stdlib/l64a.c
+++ b/newlib/libc/stdlib/l64a.c
@@ -35,7 +35,7 @@ _DEFUN (l64a, (value),
char *
_DEFUN (_l64a_r, (rptr, value),
- struct _reent *rptr _AND
+ struct _reent *rptr,
long value)
{
char *ptr;
diff --git a/newlib/libc/stdlib/lcong48.c b/newlib/libc/stdlib/lcong48.c
index 548f327..f40dede 100644
--- a/newlib/libc/stdlib/lcong48.c
+++ b/newlib/libc/stdlib/lcong48.c
@@ -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);
diff --git a/newlib/libc/stdlib/ldiv.c b/newlib/libc/stdlib/ldiv.c
index 242b6bd..00bca62 100644
--- a/newlib/libc/stdlib/ldiv.c
+++ b/newlib/libc/stdlib/ldiv.c
@@ -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;
diff --git a/newlib/libc/stdlib/lldiv.c b/newlib/libc/stdlib/lldiv.c
index 61a9b50..8433e76 100644
--- a/newlib/libc/stdlib/lldiv.c
+++ b/newlib/libc/stdlib/lldiv.c
@@ -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;
diff --git a/newlib/libc/stdlib/malign.c b/newlib/libc/stdlib/malign.c
index 1eded30..d36846f 100644
--- a/newlib/libc/stdlib/malign.c
+++ b/newlib/libc/stdlib/malign.c
@@ -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);
diff --git a/newlib/libc/stdlib/mblen.c b/newlib/libc/stdlib/mblen.c
index 30d759b..3ea91f4 100644
--- a/newlib/libc/stdlib/mblen.c
+++ b/newlib/libc/stdlib/mblen.c
@@ -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
diff --git a/newlib/libc/stdlib/mblen_r.c b/newlib/libc/stdlib/mblen_r.c
index 5e58e1e..1456cea 100644
--- a/newlib/libc/stdlib/mblen_r.c
+++ b/newlib/libc/stdlib/mblen_r.c
@@ -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
diff --git a/newlib/libc/stdlib/mbrtowc.c b/newlib/libc/stdlib/mbrtowc.c
index 69e3acb..4ca2143 100644
--- a/newlib/libc/stdlib/mbrtowc.c
+++ b/newlib/libc/stdlib/mbrtowc.c
@@ -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__)
diff --git a/newlib/libc/stdlib/mbsnrtowcs.c b/newlib/libc/stdlib/mbsnrtowcs.c
index 018f075..206a062 100644
--- a/newlib/libc/stdlib/mbsnrtowcs.c
+++ b/newlib/libc/stdlib/mbsnrtowcs.c
@@ -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);
diff --git a/newlib/libc/stdlib/mbsrtowcs.c b/newlib/libc/stdlib/mbsrtowcs.c
index 65e46d3..48d36d0 100644
--- a/newlib/libc/stdlib/mbsrtowcs.c
+++ b/newlib/libc/stdlib/mbsrtowcs.c
@@ -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);
diff --git a/newlib/libc/stdlib/mbstowcs.c b/newlib/libc/stdlib/mbstowcs.c
index 70ed9ed..41ad7b6 100644
--- a/newlib/libc/stdlib/mbstowcs.c
+++ b/newlib/libc/stdlib/mbstowcs.c
@@ -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
diff --git a/newlib/libc/stdlib/mbstowcs_r.c b/newlib/libc/stdlib/mbstowcs_r.c
index 4950499..7c95e4a 100644
--- a/newlib/libc/stdlib/mbstowcs_r.c
+++ b/newlib/libc/stdlib/mbstowcs_r.c
@@ -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;
diff --git a/newlib/libc/stdlib/mbtowc.c b/newlib/libc/stdlib/mbtowc.c
index 0c29cf3..182884a 100644
--- a/newlib/libc/stdlib/mbtowc.c
+++ b/newlib/libc/stdlib/mbtowc.c
@@ -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
diff --git a/newlib/libc/stdlib/mbtowc_r.c b/newlib/libc/stdlib/mbtowc_r.c
index 9d78256..cbc534a 100644
--- a/newlib/libc/stdlib/mbtowc_r.c
+++ b/newlib/libc/stdlib/mbtowc_r.c
@@ -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;
diff --git a/newlib/libc/stdlib/mprec.c b/newlib/libc/stdlib/mprec.c
index 2b982ef..cb6866d 100644
--- a/newlib/libc/stdlib/mprec.c
+++ b/newlib/libc/stdlib/mprec.c
@@ -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;
diff --git a/newlib/libc/stdlib/mstats.c b/newlib/libc/stdlib/mstats.c
index 88cb54c..b7aa93b 100644
--- a/newlib/libc/stdlib/mstats.c
+++ b/newlib/libc/stdlib/mstats.c
@@ -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);
diff --git a/newlib/libc/stdlib/nrand48.c b/newlib/libc/stdlib/nrand48.c
index 39e9fb1..43a6d0c 100644
--- a/newlib/libc/stdlib/nrand48.c
+++ b/newlib/libc/stdlib/nrand48.c
@@ -15,7 +15,7 @@
long
_DEFUN (_nrand48_r, (r, xseed),
- struct _reent *r _AND
+ struct _reent *r,
unsigned short xseed[3])
{
__dorand48 (r, xseed);
diff --git a/newlib/libc/stdlib/on_exit.c b/newlib/libc/stdlib/on_exit.c
index d22fc37..b21cf0c 100644
--- a/newlib/libc/stdlib/on_exit.c
+++ b/newlib/libc/stdlib/on_exit.c
@@ -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);
diff --git a/newlib/libc/stdlib/putenv_r.c b/newlib/libc/stdlib/putenv_r.c
index a0f4767..a780a14 100644
--- a/newlib/libc/stdlib/putenv_r.c
+++ b/newlib/libc/stdlib/putenv_r.c
@@ -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;
diff --git a/newlib/libc/stdlib/rand48.c b/newlib/libc/stdlib/rand48.c
index b9bf320..0fc5cc0 100644
--- a/newlib/libc/stdlib/rand48.c
+++ b/newlib/libc/stdlib/rand48.c
@@ -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;
diff --git a/newlib/libc/stdlib/realloc.c b/newlib/libc/stdlib/realloc.c
index 0cdbdb6..8258e21 100644
--- a/newlib/libc/stdlib/realloc.c
+++ b/newlib/libc/stdlib/realloc.c
@@ -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);
diff --git a/newlib/libc/stdlib/reallocf.c b/newlib/libc/stdlib/reallocf.c
index a9d3293..b3f1b2a 100644
--- a/newlib/libc/stdlib/reallocf.c
+++ b/newlib/libc/stdlib/reallocf.c
@@ -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);
diff --git a/newlib/libc/stdlib/seed48.c b/newlib/libc/stdlib/seed48.c
index 43629cc..5f3ae2e 100644
--- a/newlib/libc/stdlib/seed48.c
+++ b/newlib/libc/stdlib/seed48.c
@@ -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];
diff --git a/newlib/libc/stdlib/setenv.c b/newlib/libc/stdlib/setenv.c
index d423678..7e89494 100644
--- a/newlib/libc/stdlib/setenv.c
+++ b/newlib/libc/stdlib/setenv.c
@@ -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);
diff --git a/newlib/libc/stdlib/setenv_r.c b/newlib/libc/stdlib/setenv_r.c
index c32c6ac..75f2173 100644
--- a/newlib/libc/stdlib/setenv_r.c
+++ b/newlib/libc/stdlib/setenv_r.c
@@ -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;
diff --git a/newlib/libc/stdlib/srand48.c b/newlib/libc/stdlib/srand48.c
index 69bdbfc..7042e83 100644
--- a/newlib/libc/stdlib/srand48.c
+++ b/newlib/libc/stdlib/srand48.c
@@ -15,7 +15,7 @@
_VOID
_DEFUN (_srand48_r, (r, seed),
- struct _reent *r _AND
+ struct _reent *r,
long seed)
{
_REENT_CHECK_RAND48(r);
diff --git a/newlib/libc/stdlib/strtod.c b/newlib/libc/stdlib/strtod.c
index 236daa5..e3c9b7f 100644
--- a/newlib/libc/stdlib/strtod.c
+++ b/newlib/libc/stdlib/strtod.c
@@ -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 ());
diff --git a/newlib/libc/stdlib/strtol.c b/newlib/libc/stdlib/strtol.c
index ba58b6e..7ffa6a9 100644
--- a/newlib/libc/stdlib/strtol.c
+++ b/newlib/libc/stdlib/strtol.c
@@ -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 ());
diff --git a/newlib/libc/stdlib/strtoll.c b/newlib/libc/stdlib/strtoll.c
index 2922452..5175265 100644
--- a/newlib/libc/stdlib/strtoll.c
+++ b/newlib/libc/stdlib/strtoll.c
@@ -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 ());
diff --git a/newlib/libc/stdlib/strtoul.c b/newlib/libc/stdlib/strtoul.c
index 9414661..e184722 100644
--- a/newlib/libc/stdlib/strtoul.c
+++ b/newlib/libc/stdlib/strtoul.c
@@ -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 ());
diff --git a/newlib/libc/stdlib/strtoull.c b/newlib/libc/stdlib/strtoull.c
index aff1fc7..4dfb28f 100644
--- a/newlib/libc/stdlib/strtoull.c
+++ b/newlib/libc/stdlib/strtoull.c
@@ -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 ());
diff --git a/newlib/libc/stdlib/system.c b/newlib/libc/stdlib/system.c
index 6cacfa5..f172e5d 100644
--- a/newlib/libc/stdlib/system.c
+++ b/newlib/libc/stdlib/system.c
@@ -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];
diff --git a/newlib/libc/stdlib/utoa.c b/newlib/libc/stdlib/utoa.c
index 75e8616..cc54407 100644
--- a/newlib/libc/stdlib/utoa.c
+++ b/newlib/libc/stdlib/utoa.c
@@ -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);
diff --git a/newlib/libc/stdlib/wcrtomb.c b/newlib/libc/stdlib/wcrtomb.c
index df7741a..3b6cbd6 100644
--- a/newlib/libc/stdlib/wcrtomb.c
+++ b/newlib/libc/stdlib/wcrtomb.c
@@ -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__)
diff --git a/newlib/libc/stdlib/wcsnrtombs.c b/newlib/libc/stdlib/wcsnrtombs.c
index ed5f369..3561257 100644
--- a/newlib/libc/stdlib/wcsnrtombs.c
+++ b/newlib/libc/stdlib/wcsnrtombs.c
@@ -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,
diff --git a/newlib/libc/stdlib/wcsrtombs.c b/newlib/libc/stdlib/wcsrtombs.c
index 2b6777c..ac0c9de 100644
--- a/newlib/libc/stdlib/wcsrtombs.c
+++ b/newlib/libc/stdlib/wcsrtombs.c
@@ -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);
diff --git a/newlib/libc/stdlib/wcstod.c b/newlib/libc/stdlib/wcstod.c
index 201a2c3..239f8d2 100644
--- a/newlib/libc/stdlib/wcstod.c
+++ b/newlib/libc/stdlib/wcstod.c
@@ -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 ());
diff --git a/newlib/libc/stdlib/wcstol.c b/newlib/libc/stdlib/wcstol.c
index 417a46d..1f5fd4b 100644
--- a/newlib/libc/stdlib/wcstol.c
+++ b/newlib/libc/stdlib/wcstol.c
@@ -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 ());
diff --git a/newlib/libc/stdlib/wcstoll.c b/newlib/libc/stdlib/wcstoll.c
index 3a7a0e2..be95000 100644
--- a/newlib/libc/stdlib/wcstoll.c
+++ b/newlib/libc/stdlib/wcstoll.c
@@ -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 ());
diff --git a/newlib/libc/stdlib/wcstombs.c b/newlib/libc/stdlib/wcstombs.c
index 9e19378..6df2dac 100644
--- a/newlib/libc/stdlib/wcstombs.c
+++ b/newlib/libc/stdlib/wcstombs.c
@@ -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
diff --git a/newlib/libc/stdlib/wcstombs_r.c b/newlib/libc/stdlib/wcstombs_r.c
index 0680cd7..d965dc2 100644
--- a/newlib/libc/stdlib/wcstombs_r.c
+++ b/newlib/libc/stdlib/wcstombs_r.c
@@ -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;
diff --git a/newlib/libc/stdlib/wcstoul.c b/newlib/libc/stdlib/wcstoul.c
index d649810..2470bfa 100644
--- a/newlib/libc/stdlib/wcstoul.c
+++ b/newlib/libc/stdlib/wcstoul.c
@@ -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 ());
diff --git a/newlib/libc/stdlib/wcstoull.c b/newlib/libc/stdlib/wcstoull.c
index 4bb0cd7..55ab3ca 100644
--- a/newlib/libc/stdlib/wcstoull.c
+++ b/newlib/libc/stdlib/wcstoull.c
@@ -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 ());
diff --git a/newlib/libc/stdlib/wctomb.c b/newlib/libc/stdlib/wctomb.c
index 8b267a3..b68a43b 100644
--- a/newlib/libc/stdlib/wctomb.c
+++ b/newlib/libc/stdlib/wctomb.c
@@ -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
diff --git a/newlib/libc/stdlib/wctomb_r.c b/newlib/libc/stdlib/wctomb_r.c
index 2c018f9..7c4fac1 100644
--- a/newlib/libc/stdlib/wctomb_r.c
+++ b/newlib/libc/stdlib/wctomb_r.c
@@ -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;
diff --git a/newlib/libc/string/bcmp.c b/newlib/libc/string/bcmp.c
index 86aada1..3422377 100644
--- a/newlib/libc/string/bcmp.c
+++ b/newlib/libc/string/bcmp.c
@@ -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)
{
diff --git a/newlib/libc/string/bcopy.c b/newlib/libc/string/bcopy.c
index 22a7f1b..1ad8b3e 100644
--- a/newlib/libc/string/bcopy.c
+++ b/newlib/libc/string/bcopy.c
@@ -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);
diff --git a/newlib/libc/string/index.c b/newlib/libc/string/index.c
index 2c4b490..756bbff 100644
--- a/newlib/libc/string/index.c
+++ b/newlib/libc/string/index.c
@@ -32,7 +32,7 @@ QUICKREF
char *
_DEFUN (index, (s, c),
- _CONST char *s _AND
+ _CONST char *s,
int c)
{
return strchr (s, c);
diff --git a/newlib/libc/string/memccpy.c b/newlib/libc/string/memccpy.c
index 219aa5c..6e49a1c 100644
--- a/newlib/libc/string/memccpy.c
+++ b/newlib/libc/string/memccpy.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)
{
diff --git a/newlib/libc/string/memchr.c b/newlib/libc/string/memchr.c
index 152cd71..a6c5556 100644
--- a/newlib/libc/string/memchr.c
+++ b/newlib/libc/string/memchr.c
@@ -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;
diff --git a/newlib/libc/string/memcmp.c b/newlib/libc/string/memcmp.c
index 8f86e7a..1af9219 100644
--- a/newlib/libc/string/memcmp.c
+++ b/newlib/libc/string/memcmp.c
@@ -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__)
diff --git a/newlib/libc/string/memcpy.c b/newlib/libc/string/memcpy.c
index c76ab48..3d0dca2 100644
--- a/newlib/libc/string/memcpy.c
+++ b/newlib/libc/string/memcpy.c
@@ -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__)
diff --git a/newlib/libc/string/memmem.c b/newlib/libc/string/memmem.c
index 59e19d2..5588b9f 100644
--- a/newlib/libc/string/memmem.c
+++ b/newlib/libc/string/memmem.c
@@ -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,
diff --git a/newlib/libc/string/memmove.c b/newlib/libc/string/memmove.c
index e6275a7..10a3dfd 100644
--- a/newlib/libc/string/memmove.c
+++ b/newlib/libc/string/memmove.c
@@ -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__)
diff --git a/newlib/libc/string/mempcpy.c b/newlib/libc/string/mempcpy.c
index 1a8e7cd..74c453b 100644
--- a/newlib/libc/string/mempcpy.c
+++ b/newlib/libc/string/mempcpy.c
@@ -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__)
diff --git a/newlib/libc/string/memrchr.c b/newlib/libc/string/memrchr.c
index 974cebc..6a2c03e 100644
--- a/newlib/libc/string/memrchr.c
+++ b/newlib/libc/string/memrchr.c
@@ -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;
diff --git a/newlib/libc/string/memset.c b/newlib/libc/string/memset.c
index 7d05478..284c36e 100644
--- a/newlib/libc/string/memset.c
+++ b/newlib/libc/string/memset.c
@@ -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;
diff --git a/newlib/libc/string/rawmemchr.c b/newlib/libc/string/rawmemchr.c
index c1b360d..51fe8e3 100644
--- a/newlib/libc/string/rawmemchr.c
+++ b/newlib/libc/string/rawmemchr.c
@@ -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;
diff --git a/newlib/libc/string/rindex.c b/newlib/libc/string/rindex.c
index 3284361..e18fcb6 100644
--- a/newlib/libc/string/rindex.c
+++ b/newlib/libc/string/rindex.c
@@ -32,7 +32,7 @@ QUICKREF
char *
_DEFUN (rindex, (s, c),
- _CONST char *s _AND
+ _CONST char *s,
int c)
{
return strrchr (s, c);
diff --git a/newlib/libc/string/stpcpy.c b/newlib/libc/string/stpcpy.c
index 6272f1d..5e00b24 100644
--- a/newlib/libc/string/stpcpy.c
+++ b/newlib/libc/string/stpcpy.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__)
diff --git a/newlib/libc/string/stpncpy.c b/newlib/libc/string/stpncpy.c
index aa5acd4..9e8a129 100644
--- a/newlib/libc/string/stpncpy.c
+++ b/newlib/libc/string/stpncpy.c
@@ -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;
diff --git a/newlib/libc/string/strcasecmp.c b/newlib/libc/string/strcasecmp.c
index a6c3486..1ee8f0e 100644
--- a/newlib/libc/string/strcasecmp.c
+++ b/newlib/libc/string/strcasecmp.c
@@ -37,7 +37,7 @@ QUICKREF
int
_DEFUN (strcasecmp, (s1, s2),
- _CONST char *s1 _AND
+ _CONST char *s1,
_CONST char *s2)
{
int d = 0;
diff --git a/newlib/libc/string/strcasestr.c b/newlib/libc/string/strcasestr.c
index 599f502..71ade66 100644
--- a/newlib/libc/string/strcasestr.c
+++ b/newlib/libc/string/strcasestr.c
@@ -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__)
diff --git a/newlib/libc/string/strcat.c b/newlib/libc/string/strcat.c
index 44b6b03..96de39b 100644
--- a/newlib/libc/string/strcat.c
+++ b/newlib/libc/string/strcat.c
@@ -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__)
diff --git a/newlib/libc/string/strchr.c b/newlib/libc/string/strchr.c
index 7147bd4..f293612 100644
--- a/newlib/libc/string/strchr.c
+++ b/newlib/libc/string/strchr.c
@@ -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;
diff --git a/newlib/libc/string/strchrnul.c b/newlib/libc/string/strchrnul.c
index 3b6cd62..3d110b9 100644
--- a/newlib/libc/string/strchrnul.c
+++ b/newlib/libc/string/strchrnul.c
@@ -32,7 +32,7 @@ QUICKREF
char *
_DEFUN (strchrnul, (s1, i),
- _CONST char *s1 _AND
+ _CONST char *s1,
int i)
{
char *s = strchr(s1, i);
diff --git a/newlib/libc/string/strcmp.c b/newlib/libc/string/strcmp.c
index d5e9148..c117c38 100644
--- a/newlib/libc/string/strcmp.c
+++ b/newlib/libc/string/strcmp.c
@@ -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__)
diff --git a/newlib/libc/string/strcoll.c b/newlib/libc/string/strcoll.c
index 551ede6..d95a42e 100644
--- a/newlib/libc/string/strcoll.c
+++ b/newlib/libc/string/strcoll.c
@@ -37,7 +37,7 @@ QUICKREF
int
_DEFUN (strcoll, (a, b),
- _CONST char *a _AND
+ _CONST char *a,
_CONST char *b)
{
diff --git a/newlib/libc/string/strcpy.c b/newlib/libc/string/strcpy.c
index 9670d2c..4354472 100644
--- a/newlib/libc/string/strcpy.c
+++ b/newlib/libc/string/strcpy.c
@@ -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__)
diff --git a/newlib/libc/string/strcspn.c b/newlib/libc/string/strcspn.c
index f80b61f..f0e30c8 100644
--- a/newlib/libc/string/strcspn.c
+++ b/newlib/libc/string/strcspn.c
@@ -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;
diff --git a/newlib/libc/string/strdup_r.c b/newlib/libc/string/strdup_r.c
index ef77a58..474ec96 100644
--- a/newlib/libc/string/strdup_r.c
+++ b/newlib/libc/string/strdup_r.c
@@ -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;
diff --git a/newlib/libc/string/strerror.c b/newlib/libc/string/strerror.c
index 8da7d51..43fa1f5 100644
--- a/newlib/libc/string/strerror.c
+++ b/newlib/libc/string/strerror.c
@@ -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;
diff --git a/newlib/libc/string/strerror_r.c b/newlib/libc/string/strerror_r.c
index af93375..c888f9f 100644
--- a/newlib/libc/string/strerror_r.c
+++ b/newlib/libc/string/strerror_r.c
@@ -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);
diff --git a/newlib/libc/string/strlcat.c b/newlib/libc/string/strlcat.c
index 0c47bd5..c606f3b 100644
--- a/newlib/libc/string/strlcat.c
+++ b/newlib/libc/string/strlcat.c
@@ -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;
diff --git a/newlib/libc/string/strlcpy.c b/newlib/libc/string/strlcpy.c
index c310016..300ac82 100644
--- a/newlib/libc/string/strlcpy.c
+++ b/newlib/libc/string/strlcpy.c
@@ -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;
diff --git a/newlib/libc/string/strncasecmp.c b/newlib/libc/string/strncasecmp.c
index c062942..a30fccf 100644
--- a/newlib/libc/string/strncasecmp.c
+++ b/newlib/libc/string/strncasecmp.c
@@ -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;
diff --git a/newlib/libc/string/strncat.c b/newlib/libc/string/strncat.c
index 761cf87..f800221 100644
--- a/newlib/libc/string/strncat.c
+++ b/newlib/libc/string/strncat.c
@@ -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__)
diff --git a/newlib/libc/string/strncmp.c b/newlib/libc/string/strncmp.c
index 3bbe47b..98a31d3 100644
--- a/newlib/libc/string/strncmp.c
+++ b/newlib/libc/string/strncmp.c
@@ -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__)
diff --git a/newlib/libc/string/strncpy.c b/newlib/libc/string/strncpy.c
index 83596f4..91b2745 100644
--- a/newlib/libc/string/strncpy.c
+++ b/newlib/libc/string/strncpy.c
@@ -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__)
diff --git a/newlib/libc/string/strndup.c b/newlib/libc/string/strndup.c
index caa1b68..64e9ae6 100644
--- a/newlib/libc/string/strndup.c
+++ b/newlib/libc/string/strndup.c
@@ -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);
diff --git a/newlib/libc/string/strndup_r.c b/newlib/libc/string/strndup_r.c
index 2acf63d..c8ec072 100644
--- a/newlib/libc/string/strndup_r.c
+++ b/newlib/libc/string/strndup_r.c
@@ -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;
diff --git a/newlib/libc/string/strnlen.c b/newlib/libc/string/strnlen.c
index 07ece0d..4978f72 100644
--- a/newlib/libc/string/strnlen.c
+++ b/newlib/libc/string/strnlen.c
@@ -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;
diff --git a/newlib/libc/string/strpbrk.c b/newlib/libc/string/strpbrk.c
index 4507a86..f589fbd 100644
--- a/newlib/libc/string/strpbrk.c
+++ b/newlib/libc/string/strpbrk.c
@@ -26,7 +26,7 @@ PORTABILITY
char *
_DEFUN (strpbrk, (s1, s2),
- _CONST char *s1 _AND
+ _CONST char *s1,
_CONST char *s2)
{
_CONST char *c = s2;
diff --git a/newlib/libc/string/strrchr.c b/newlib/libc/string/strrchr.c
index 8217c6d..721bb91 100644
--- a/newlib/libc/string/strrchr.c
+++ b/newlib/libc/string/strrchr.c
@@ -31,7 +31,7 @@ QUICKREF
char *
_DEFUN (strrchr, (s, i),
- _CONST char *s _AND
+ _CONST char *s,
int i)
{
_CONST char *last = NULL;
diff --git a/newlib/libc/string/strsep.c b/newlib/libc/string/strsep.c
index d3d0ad0..e597827 100644
--- a/newlib/libc/string/strsep.c
+++ b/newlib/libc/string/strsep.c
@@ -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);
diff --git a/newlib/libc/string/strspn.c b/newlib/libc/string/strspn.c
index 3f43b8f..287da4d 100644
--- a/newlib/libc/string/strspn.c
+++ b/newlib/libc/string/strspn.c
@@ -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;
diff --git a/newlib/libc/string/strstr.c b/newlib/libc/string/strstr.c
index 288c744..94fe297 100644
--- a/newlib/libc/string/strstr.c
+++ b/newlib/libc/string/strstr.c
@@ -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__)
diff --git a/newlib/libc/string/strtok.c b/newlib/libc/string/strtok.c
index a24c538..92c8017 100644
--- a/newlib/libc/string/strtok.c
+++ b/newlib/libc/string/strtok.c
@@ -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;
diff --git a/newlib/libc/string/strtok_r.c b/newlib/libc/string/strtok_r.c
index 6ace700..0d01dca 100644
--- a/newlib/libc/string/strtok_r.c
+++ b/newlib/libc/string/strtok_r.c
@@ -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);
diff --git a/newlib/libc/string/strxfrm.c b/newlib/libc/string/strxfrm.c
index de39721..55b81b3 100644
--- a/newlib/libc/string/strxfrm.c
+++ b/newlib/libc/string/strxfrm.c
@@ -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;
diff --git a/newlib/libc/string/swab.c b/newlib/libc/string/swab.c
index ecf5abe..b080668 100644
--- a/newlib/libc/string/swab.c
+++ b/newlib/libc/string/swab.c
@@ -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;
diff --git a/newlib/libc/string/u_strerr.c b/newlib/libc/string/u_strerr.c
index 2978df0..d3204df 100644
--- a/newlib/libc/string/u_strerr.c
+++ b/newlib/libc/string/u_strerr.c
@@ -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 */
diff --git a/newlib/libc/string/wcpcpy.c b/newlib/libc/string/wcpcpy.c
index f0f9c4a..0fda226 100644
--- a/newlib/libc/string/wcpcpy.c
+++ b/newlib/libc/string/wcpcpy.c
@@ -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++))
diff --git a/newlib/libc/string/wcpncpy.c b/newlib/libc/string/wcpncpy.c
index 8f7ee79..f643b1e 100644
--- a/newlib/libc/string/wcpncpy.c
+++ b/newlib/libc/string/wcpncpy.c
@@ -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;
diff --git a/newlib/libc/string/wcscasecmp.c b/newlib/libc/string/wcscasecmp.c
index 26c7cc2..f23e372 100644
--- a/newlib/libc/string/wcscasecmp.c
+++ b/newlib/libc/string/wcscasecmp.c
@@ -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;
diff --git a/newlib/libc/string/wcscat.c b/newlib/libc/string/wcscat.c
index 586512d..900c3cc 100644
--- a/newlib/libc/string/wcscat.c
+++ b/newlib/libc/string/wcscat.c
@@ -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;
diff --git a/newlib/libc/string/wcschr.c b/newlib/libc/string/wcschr.c
index c705a08..7590009 100644
--- a/newlib/libc/string/wcschr.c
+++ b/newlib/libc/string/wcschr.c
@@ -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;
diff --git a/newlib/libc/string/wcscmp.c b/newlib/libc/string/wcscmp.c
index 8155742..f14eb5d 100644
--- a/newlib/libc/string/wcscmp.c
+++ b/newlib/libc/string/wcscmp.c
@@ -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)
{
diff --git a/newlib/libc/string/wcscoll.c b/newlib/libc/string/wcscoll.c
index 020f7e5..27a1245 100644
--- a/newlib/libc/string/wcscoll.c
+++ b/newlib/libc/string/wcscoll.c
@@ -34,7 +34,7 @@ PORTABILITY
int
_DEFUN (wcscoll, (a, b),
- _CONST wchar_t *a _AND
+ _CONST wchar_t *a,
_CONST wchar_t *b)
{
diff --git a/newlib/libc/string/wcscpy.c b/newlib/libc/string/wcscpy.c
index 79f065c..2dff639 100644
--- a/newlib/libc/string/wcscpy.c
+++ b/newlib/libc/string/wcscpy.c
@@ -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;
diff --git a/newlib/libc/string/wcscspn.c b/newlib/libc/string/wcscspn.c
index 7be5f5e..3554996 100644
--- a/newlib/libc/string/wcscspn.c
+++ b/newlib/libc/string/wcscspn.c
@@ -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;
diff --git a/newlib/libc/string/wcslcat.c b/newlib/libc/string/wcslcat.c
index 2caa588..1015c4c 100644
--- a/newlib/libc/string/wcslcat.c
+++ b/newlib/libc/string/wcslcat.c
@@ -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;
diff --git a/newlib/libc/string/wcslcpy.c b/newlib/libc/string/wcslcpy.c
index 34352fb..396dda7 100644
--- a/newlib/libc/string/wcslcpy.c
+++ b/newlib/libc/string/wcslcpy.c
@@ -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;
diff --git a/newlib/libc/string/wcsncasecmp.c b/newlib/libc/string/wcsncasecmp.c
index a339bbf..90f3101 100644
--- a/newlib/libc/string/wcsncasecmp.c
+++ b/newlib/libc/string/wcsncasecmp.c
@@ -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;
diff --git a/newlib/libc/string/wcsncat.c b/newlib/libc/string/wcsncat.c
index 34a6947..57dc903 100644
--- a/newlib/libc/string/wcsncat.c
+++ b/newlib/libc/string/wcsncat.c
@@ -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;
diff --git a/newlib/libc/string/wcsncmp.c b/newlib/libc/string/wcsncmp.c
index 72c5d12..83b899d 100644
--- a/newlib/libc/string/wcsncmp.c
+++ b/newlib/libc/string/wcsncmp.c
@@ -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)
{
diff --git a/newlib/libc/string/wcsncpy.c b/newlib/libc/string/wcsncpy.c
index 793e522..d09b95d 100644
--- a/newlib/libc/string/wcsncpy.c
+++ b/newlib/libc/string/wcsncpy.c
@@ -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;
diff --git a/newlib/libc/string/wcsnlen.c b/newlib/libc/string/wcsnlen.c
index 77aad65..e9715e7 100644
--- a/newlib/libc/string/wcsnlen.c
+++ b/newlib/libc/string/wcsnlen.c
@@ -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;
diff --git a/newlib/libc/string/wcspbrk.c b/newlib/libc/string/wcspbrk.c
index 55401f1..b4d8230 100644
--- a/newlib/libc/string/wcspbrk.c
+++ b/newlib/libc/string/wcspbrk.c
@@ -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;
diff --git a/newlib/libc/string/wcsrchr.c b/newlib/libc/string/wcsrchr.c
index b99cb97..68f1e28 100644
--- a/newlib/libc/string/wcsrchr.c
+++ b/newlib/libc/string/wcsrchr.c
@@ -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;
diff --git a/newlib/libc/string/wcsspn.c b/newlib/libc/string/wcsspn.c
index 652d971..8e8ce6c 100644
--- a/newlib/libc/string/wcsspn.c
+++ b/newlib/libc/string/wcsspn.c
@@ -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;
diff --git a/newlib/libc/string/wcsstr.c b/newlib/libc/string/wcsstr.c
index bb6e3ed..2fdec0f 100644
--- a/newlib/libc/string/wcsstr.c
+++ b/newlib/libc/string/wcsstr.c
@@ -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;
diff --git a/newlib/libc/string/wcstok.c b/newlib/libc/string/wcstok.c
index 091f4bd..2467704 100644
--- a/newlib/libc/string/wcstok.c
+++ b/newlib/libc/string/wcstok.c
@@ -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;
diff --git a/newlib/libc/string/wcswidth.c b/newlib/libc/string/wcswidth.c
index 4cb8fa8..3764883 100644
--- a/newlib/libc/string/wcswidth.c
+++ b/newlib/libc/string/wcswidth.c
@@ -35,7 +35,7 @@ PORTABILITY
int
_DEFUN (wcswidth, (pwcs, n),
- _CONST wchar_t *pwcs _AND
+ _CONST wchar_t *pwcs,
size_t n)
{
diff --git a/newlib/libc/string/wcsxfrm.c b/newlib/libc/string/wcsxfrm.c
index e11516f..6911b21 100644
--- a/newlib/libc/string/wcsxfrm.c
+++ b/newlib/libc/string/wcsxfrm.c
@@ -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)
{
diff --git a/newlib/libc/string/wmemchr.c b/newlib/libc/string/wmemchr.c
index 097e47a..2a6f8e1 100644
--- a/newlib/libc/string/wmemchr.c
+++ b/newlib/libc/string/wmemchr.c
@@ -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;
diff --git a/newlib/libc/string/wmemcmp.c b/newlib/libc/string/wmemcmp.c
index a01bf32..bfe1e69 100644
--- a/newlib/libc/string/wmemcmp.c
+++ b/newlib/libc/string/wmemcmp.c
@@ -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;
diff --git a/newlib/libc/string/wmemcpy.c b/newlib/libc/string/wmemcpy.c
index 0e8d6e4..9e4fdc5 100644
--- a/newlib/libc/string/wmemcpy.c
+++ b/newlib/libc/string/wmemcpy.c
@@ -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)
{
diff --git a/newlib/libc/string/wmemmove.c b/newlib/libc/string/wmemmove.c
index 18d2a2b..567f55a 100644
--- a/newlib/libc/string/wmemmove.c
+++ b/newlib/libc/string/wmemmove.c
@@ -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)
{
diff --git a/newlib/libc/string/wmempcpy.c b/newlib/libc/string/wmempcpy.c
index a3b2ce6..f114852 100644
--- a/newlib/libc/string/wmempcpy.c
+++ b/newlib/libc/string/wmempcpy.c
@@ -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));
diff --git a/newlib/libc/string/wmemset.c b/newlib/libc/string/wmemset.c
index 377fbee..f9ec361 100644
--- a/newlib/libc/string/wmemset.c
+++ b/newlib/libc/string/wmemset.c
@@ -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;
diff --git a/newlib/libc/string/xpg_strerror_r.c b/newlib/libc/string/xpg_strerror_r.c
index e503880..bc18587 100644
--- a/newlib/libc/string/xpg_strerror_r.c
+++ b/newlib/libc/string/xpg_strerror_r.c
@@ -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;
diff --git a/newlib/libc/sys/a29khif/kill.c b/newlib/libc/sys/a29khif/kill.c
index ff9fe54..0254367 100644
--- a/newlib/libc/sys/a29khif/kill.c
+++ b/newlib/libc/sys/a29khif/kill.c
@@ -7,7 +7,7 @@
int
_DEFUN (_kill, (pid, sig),
- int pid _AND
+ int pid,
int sig)
{
if (pid == 1 || pid < 0)
diff --git a/newlib/libc/sys/h8300hms/misc.c b/newlib/libc/sys/h8300hms/misc.c
index 6021b5c..4869af2 100644
--- a/newlib/libc/sys/h8300hms/misc.c
+++ b/newlib/libc/sys/h8300hms/misc.c
@@ -19,7 +19,7 @@ int _DEFUN(_getpid,(),)
}
int _DEFUN(_kill,(pid, sig),
- int pid _AND
+ int pid,
int sig)
{
if (pid == 0)
diff --git a/newlib/libc/sys/h8500hms/misc.c b/newlib/libc/sys/h8500hms/misc.c
index a791704..d16c797 100644
--- a/newlib/libc/sys/h8500hms/misc.c
+++ b/newlib/libc/sys/h8500hms/misc.c
@@ -20,7 +20,7 @@ int _DEFUN(_getpid,(),)
}
int _DEFUN(_kill,(pid, sig),
- int pid _AND
+ int pid,
int sig)
{
if (sig == SIGABRT)
diff --git a/newlib/libc/sys/linux/pread.c b/newlib/libc/sys/linux/pread.c
index ff8371e..8a016e0 100644
--- a/newlib/libc/sys/linux/pread.c
+++ b/newlib/libc/sys/linux/pread.c
@@ -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);
diff --git a/newlib/libc/sys/linux/pread64.c b/newlib/libc/sys/linux/pread64.c
index 3ced048..f95989b 100644
--- a/newlib/libc/sys/linux/pread64.c
+++ b/newlib/libc/sys/linux/pread64.c
@@ -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;
diff --git a/newlib/libc/sys/linux/pwrite.c b/newlib/libc/sys/linux/pwrite.c
index 239463e..c2b79ad 100644
--- a/newlib/libc/sys/linux/pwrite.c
+++ b/newlib/libc/sys/linux/pwrite.c
@@ -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);
diff --git a/newlib/libc/sys/linux/pwrite64.c b/newlib/libc/sys/linux/pwrite64.c
index 8767499..d486988 100644
--- a/newlib/libc/sys/linux/pwrite64.c
+++ b/newlib/libc/sys/linux/pwrite64.c
@@ -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;
diff --git a/newlib/libc/sys/sysnec810/misc.c b/newlib/libc/sys/sysnec810/misc.c
index f44c03d..354ecd8 100644
--- a/newlib/libc/sys/sysnec810/misc.c
+++ b/newlib/libc/sys/sysnec810/misc.c
@@ -31,7 +31,7 @@ isatty() {
int
_DEFUN(_fstat,(file, st),
- int file _AND
+ int file,
struct stat *st)
{
st->st_mode = S_IFCHR;
diff --git a/newlib/libc/syscalls/sysexecve.c b/newlib/libc/syscalls/sysexecve.c
index 154c082..3471e89 100644
--- a/newlib/libc/syscalls/sysexecve.c
+++ b/newlib/libc/syscalls/sysexecve.c
@@ -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);
diff --git a/newlib/libc/syscalls/sysfcntl.c b/newlib/libc/syscalls/sysfcntl.c
index 12d09a8..b063d76 100644
--- a/newlib/libc/syscalls/sysfcntl.c
+++ b/newlib/libc/syscalls/sysfcntl.c
@@ -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
diff --git a/newlib/libc/syscalls/sysfstat.c b/newlib/libc/syscalls/sysfstat.c
index 7ce2c9d..1ab7d62 100644
--- a/newlib/libc/syscalls/sysfstat.c
+++ b/newlib/libc/syscalls/sysfstat.c
@@ -6,7 +6,7 @@
int
_DEFUN (fstat, (fd, pstat),
- int fd _AND
+ int fd,
struct stat *pstat)
{
return _fstat_r (_REENT, fd, pstat);
diff --git a/newlib/libc/syscalls/sysgettod.c b/newlib/libc/syscalls/sysgettod.c
index af6d8ab..f52f004 100644
--- a/newlib/libc/syscalls/sysgettod.c
+++ b/newlib/libc/syscalls/sysgettod.c
@@ -6,7 +6,7 @@
int
_DEFUN (gettimeofday, (ptimeval, ptimezone),
- struct timeval *ptimeval _AND
+ struct timeval *ptimeval,
void *ptimezone)
{
return _gettimeofday_r (_REENT, ptimeval, ptimezone);
diff --git a/newlib/libc/syscalls/syskill.c b/newlib/libc/syscalls/syskill.c
index 27f16be..03e06c0 100644
--- a/newlib/libc/syscalls/syskill.c
+++ b/newlib/libc/syscalls/syskill.c
@@ -5,7 +5,7 @@
int
_DEFUN (kill, (pid, sig),
- int pid _AND
+ int pid,
int sig)
{
return _kill_r (_REENT, pid, sig);
diff --git a/newlib/libc/syscalls/syslink.c b/newlib/libc/syscalls/syslink.c
index 3278707..afcf355 100644
--- a/newlib/libc/syscalls/syslink.c
+++ b/newlib/libc/syscalls/syslink.c
@@ -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);
diff --git a/newlib/libc/syscalls/syslseek.c b/newlib/libc/syscalls/syslseek.c
index 275d67c..41cfbf7 100644
--- a/newlib/libc/syscalls/syslseek.c
+++ b/newlib/libc/syscalls/syslseek.c
@@ -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);
diff --git a/newlib/libc/syscalls/sysopen.c b/newlib/libc/syscalls/sysopen.c
index ed0cb60..3909564 100644
--- a/newlib/libc/syscalls/sysopen.c
+++ b/newlib/libc/syscalls/sysopen.c
@@ -11,7 +11,7 @@
int
_DEFUN (open, (file, flags, ...),
- const char *file _AND
+ const char *file,
int flags _DOTS)
{
va_list ap;
diff --git a/newlib/libc/syscalls/sysread.c b/newlib/libc/syscalls/sysread.c
index bcf002d..e45b763 100644
--- a/newlib/libc/syscalls/sysread.c
+++ b/newlib/libc/syscalls/sysread.c
@@ -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);
diff --git a/newlib/libc/syscalls/sysstat.c b/newlib/libc/syscalls/sysstat.c
index fdf029c..4f4cd8a 100644
--- a/newlib/libc/syscalls/sysstat.c
+++ b/newlib/libc/syscalls/sysstat.c
@@ -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);
diff --git a/newlib/libc/syscalls/syswrite.c b/newlib/libc/syscalls/syswrite.c
index 0f080fb..35a1e84 100644
--- a/newlib/libc/syscalls/syswrite.c
+++ b/newlib/libc/syscalls/syswrite.c
@@ -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);
diff --git a/newlib/libc/time/asctime_r.c b/newlib/libc/time/asctime_r.c
index 2ec5369..c38e32f 100644
--- a/newlib/libc/time/asctime_r.c
+++ b/newlib/libc/time/asctime_r.c
@@ -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] = {
diff --git a/newlib/libc/time/ctime_r.c b/newlib/libc/time/ctime_r.c
index fda8cac..3546142 100644
--- a/newlib/libc/time/ctime_r.c
+++ b/newlib/libc/time/ctime_r.c
@@ -6,7 +6,7 @@
char *
_DEFUN (ctime_r, (tim_p, result),
- _CONST time_t * tim_p _AND
+ _CONST time_t * tim_p,
char * result)
{
diff --git a/newlib/libc/time/difftime.c b/newlib/libc/time/difftime.c
index 893fa47..363eb64 100644
--- a/newlib/libc/time/difftime.c
+++ b/newlib/libc/time/difftime.c
@@ -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);
diff --git a/newlib/libc/time/gmtime_r.c b/newlib/libc/time/gmtime_r.c
index 6475df3..01f95eb 100644
--- a/newlib/libc/time/gmtime_r.c
+++ b/newlib/libc/time/gmtime_r.c
@@ -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;
diff --git a/newlib/libc/time/lcltime_r.c b/newlib/libc/time/lcltime_r.c
index 3342e99..9abf683 100644
--- a/newlib/libc/time/lcltime_r.c
+++ b/newlib/libc/time/lcltime_r.c
@@ -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;
diff --git a/newlib/libc/time/strftime.c b/newlib/libc/time/strftime.c
index cf426d6..54df9b2 100644
--- a/newlib/libc/time/strftime.c
+++ b/newlib/libc/time/strftime.c
@@ -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
diff --git a/newlib/libc/unix/pread.c b/newlib/libc/unix/pread.c
index 7d351d9..2360444 100644
--- a/newlib/libc/unix/pread.c
+++ b/newlib/libc/unix/pread.c
@@ -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);
diff --git a/newlib/libc/unix/pwrite.c b/newlib/libc/unix/pwrite.c
index dad8412..2256a30 100644
--- a/newlib/libc/unix/pwrite.c
+++ b/newlib/libc/unix/pwrite.c
@@ -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);
diff --git a/newlib/libc/unix/ttyname_r.c b/newlib/libc/unix/ttyname_r.c
index 32bbd67..673e7f5 100644
--- a/newlib/libc/unix/ttyname_r.c
+++ b/newlib/libc/unix/ttyname_r.c
@@ -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;
diff --git a/newlib/libc/xdr/xdr.c b/newlib/libc/xdr/xdr.c
index 646f9db..8c637fc 100644
--- a/newlib/libc/xdr/xdr.c
+++ b/newlib/libc/xdr/xdr.c
@@ -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)
{
/*
diff --git a/newlib/libc/xdr/xdr_array.c b/newlib/libc/xdr/xdr_array.c
index 98549ac..9c97487 100644
--- a/newlib/libc/xdr/xdr_array.c
+++ b/newlib/libc/xdr/xdr_array.c
@@ -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;
diff --git a/newlib/libc/xdr/xdr_float.c b/newlib/libc/xdr/xdr_float.c
index 00726bb..691e929 100644
--- a/newlib/libc/xdr/xdr_float.c
+++ b/newlib/libc/xdr/xdr_float.c
@@ -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;
diff --git a/newlib/libc/xdr/xdr_float_vax.c b/newlib/libc/xdr/xdr_float_vax.c
index 323e43e..ed94348 100644
--- a/newlib/libc/xdr/xdr_float_vax.c
+++ b/newlib/libc/xdr/xdr_float_vax.c
@@ -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;
diff --git a/newlib/libc/xdr/xdr_mem.c b/newlib/libc/xdr/xdr_mem.c
index 497342d..b49dc3b 100644
--- a/newlib/libc/xdr/xdr_mem.c
+++ b/newlib/libc/xdr/xdr_mem.c
@@ -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;
diff --git a/newlib/libc/xdr/xdr_private.c b/newlib/libc/xdr/xdr_private.c
index 16b37a2..ea557fa 100644
--- a/newlib/libc/xdr/xdr_private.c
+++ b/newlib/libc/xdr/xdr_private.c
@@ -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)
diff --git a/newlib/libc/xdr/xdr_rec.c b/newlib/libc/xdr/xdr_rec.c
index eef4c48..0caadd6 100644
--- a/newlib/libc/xdr/xdr_rec.c
+++ b/newlib/libc/xdr/xdr_rec.c
@@ -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;
diff --git a/newlib/libc/xdr/xdr_reference.c b/newlib/libc/xdr/xdr_reference.c
index 010a7e7..7a5f1d8 100644
--- a/newlib/libc/xdr/xdr_reference.c
+++ b/newlib/libc/xdr/xdr_reference.c
@@ -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;
diff --git a/newlib/libc/xdr/xdr_sizeof.c b/newlib/libc/xdr/xdr_sizeof.c
index 156a2e1..34d1e60 100644
--- a/newlib/libc/xdr/xdr_sizeof.c
+++ b/newlib/libc/xdr/xdr_sizeof.c
@@ -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;
diff --git a/newlib/libc/xdr/xdr_stdio.c b/newlib/libc/xdr/xdr_stdio.c
index c933c68..5bb4b13 100644
--- a/newlib/libc/xdr/xdr_stdio.c
+++ b/newlib/libc/xdr/xdr_stdio.c
@@ -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);