public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] ansification: remove _DEFUN
@ 2018-01-17 17:49 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2018-01-17 17:49 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=9087163804df8af6dc2ec1f675a2341c25f7795f

commit 9087163804df8af6dc2ec1f675a2341c25f7795f
Author: Yaakov Selkowitz <yselkowi@redhat.com>
Date:   Sun Dec 3 21:43:30 2017 -0600

    ansification: remove _DEFUN
    
    Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>

Diff:
---
 libgloss/bfin/_exit.c                     |  3 +-
 libgloss/close.c                          |  3 +-
 libgloss/cr16/fstat.c                     |  3 +-
 libgloss/cr16/getpid.c                    |  3 +-
 libgloss/cr16/isatty.c                    |  3 +-
 libgloss/cr16/kill.c                      |  3 +-
 libgloss/cr16/putnum.c                    |  3 +-
 libgloss/cr16/stat.c                      |  3 +-
 libgloss/crx/fstat.c                      |  3 +-
 libgloss/crx/getpid.c                     |  3 +-
 libgloss/crx/isatty.c                     |  3 +-
 libgloss/crx/kill.c                       |  3 +-
 libgloss/crx/putnum.c                     |  3 +-
 libgloss/crx/stat.c                       |  3 +-
 libgloss/epiphany/_isatty.c               |  2 +-
 libgloss/frv/fstat.c                      |  3 +-
 libgloss/frv/getpid.c                     |  3 +-
 libgloss/frv/isatty.c                     |  3 +-
 libgloss/frv/kill.c                       |  3 +-
 libgloss/frv/print.c                      |  3 +-
 libgloss/frv/putnum.c                     |  3 +-
 libgloss/frv/sim-time.c                   |  9 +--
 libgloss/frv/stat.c                       |  3 +-
 libgloss/fstat.c                          |  3 +-
 libgloss/ft32/fstat.c                     |  3 +-
 libgloss/ft32/getpid.c                    |  3 +-
 libgloss/ft32/isatty.c                    |  3 +-
 libgloss/ft32/kill.c                      |  3 +-
 libgloss/ft32/sim-lseek.S                 |  3 +-
 libgloss/ft32/sim-lseek.c                 |  3 +-
 libgloss/ft32/sim-time.c                  |  6 +-
 libgloss/ft32/stat.c                      |  3 +-
 libgloss/getpid.c                         |  3 +-
 libgloss/isatty.c                         |  3 +-
 libgloss/kill.c                           |  3 +-
 libgloss/libnosys/_exit.c                 |  3 +-
 libgloss/libnosys/chown.c                 |  3 +-
 libgloss/libnosys/close.c                 |  3 +-
 libgloss/libnosys/execve.c                |  3 +-
 libgloss/libnosys/fork.c                  |  3 +-
 libgloss/libnosys/fstat.c                 |  3 +-
 libgloss/libnosys/getpid.c                |  3 +-
 libgloss/libnosys/gettod.c                |  3 +-
 libgloss/libnosys/isatty.c                |  3 +-
 libgloss/libnosys/kill.c                  |  3 +-
 libgloss/libnosys/link.c                  |  3 +-
 libgloss/libnosys/lseek.c                 |  3 +-
 libgloss/libnosys/open.c                  |  3 +-
 libgloss/libnosys/read.c                  |  3 +-
 libgloss/libnosys/readlink.c              |  3 +-
 libgloss/libnosys/stat.c                  |  3 +-
 libgloss/libnosys/symlink.c               |  3 +-
 libgloss/libnosys/times.c                 |  3 +-
 libgloss/libnosys/unlink.c                |  3 +-
 libgloss/libnosys/wait.c                  |  3 +-
 libgloss/libnosys/write.c                 |  3 +-
 libgloss/lm32/isatty.c                    |  3 +-
 libgloss/lseek.c                          |  3 +-
 libgloss/m68k/idp-outbyte.c               |  6 +-
 libgloss/m68k/mc68ec.c                    |  6 +-
 libgloss/mcore/close.c                    |  3 +-
 libgloss/mcore/cmb-exit.c                 |  3 +-
 libgloss/mcore/cmb-inbyte.c               |  3 +-
 libgloss/mcore/cmb-outbyte.c              |  3 +-
 libgloss/mcore/fstat.c                    |  3 +-
 libgloss/mcore/getpid.c                   |  3 +-
 libgloss/mcore/kill.c                     |  3 +-
 libgloss/mcore/lseek.c                    |  3 +-
 libgloss/mcore/open.c                     |  3 +-
 libgloss/mcore/print.c                    |  3 +-
 libgloss/mcore/putnum.c                   |  3 +-
 libgloss/mcore/raise.c                    |  3 +-
 libgloss/mcore/read.c                     |  3 +-
 libgloss/mcore/stat.c                     |  3 +-
 libgloss/mcore/unlink.c                   |  3 +-
 libgloss/mcore/write.c                    |  3 +-
 libgloss/moxie/fstat.c                    |  3 +-
 libgloss/moxie/getpid.c                   |  3 +-
 libgloss/moxie/isatty.c                   |  3 +-
 libgloss/moxie/kill.c                     |  3 +-
 libgloss/moxie/print.c                    |  3 +-
 libgloss/moxie/putnum.c                   |  3 +-
 libgloss/moxie/qemu-time.c                |  9 +--
 libgloss/moxie/sim-lseek.S                |  3 +-
 libgloss/moxie/sim-lseek.c                |  3 +-
 libgloss/moxie/sim-time.c                 |  9 +--
 libgloss/moxie/stat.c                     |  3 +-
 libgloss/open.c                           |  3 +-
 libgloss/print.c                          |  3 +-
 libgloss/putnum.c                         |  3 +-
 libgloss/read.c                           |  3 +-
 libgloss/spu/getpid.c                     |  2 +-
 libgloss/stat.c                           |  3 +-
 libgloss/tic6x/getpid.c                   |  3 +-
 libgloss/tic6x/kill.c                     |  3 +-
 libgloss/unlink.c                         |  3 +-
 libgloss/write.c                          |  3 +-
 libgloss/xc16x/misc.c                     |  8 +--
 libgloss/xstormy16/close.c                |  3 +-
 libgloss/xstormy16/fstat.c                |  3 +-
 libgloss/xstormy16/getpid.c               |  3 +-
 libgloss/xstormy16/isatty.c               |  3 +-
 libgloss/xstormy16/kill.c                 |  3 +-
 libgloss/xstormy16/lseek.c                |  3 +-
 libgloss/xstormy16/open.c                 |  3 +-
 libgloss/xstormy16/stat.c                 |  3 +-
 libgloss/xstormy16/unlink.c               |  3 +-
 newlib/libc/argz/argz_add.c               |  3 +-
 newlib/libc/argz/argz_add_sep.c           |  3 +-
 newlib/libc/argz/argz_append.c            |  3 +-
 newlib/libc/argz/argz_count.c             |  3 +-
 newlib/libc/argz/argz_create.c            |  3 +-
 newlib/libc/argz/argz_create_sep.c        |  3 +-
 newlib/libc/argz/argz_delete.c            |  3 +-
 newlib/libc/argz/argz_extract.c           |  3 +-
 newlib/libc/argz/argz_insert.c            |  3 +-
 newlib/libc/argz/argz_next.c              |  3 +-
 newlib/libc/argz/argz_replace.c           |  3 +-
 newlib/libc/argz/argz_stringify.c         |  3 +-
 newlib/libc/argz/envz_add.c               |  3 +-
 newlib/libc/argz/envz_entry.c             |  3 +-
 newlib/libc/argz/envz_get.c               |  3 +-
 newlib/libc/argz/envz_merge.c             |  3 +-
 newlib/libc/argz/envz_remove.c            |  3 +-
 newlib/libc/argz/envz_strip.c             |  3 +-
 newlib/libc/ctype/isalnum.c               |  2 +-
 newlib/libc/ctype/isalpha.c               |  2 +-
 newlib/libc/ctype/isascii.c               |  2 +-
 newlib/libc/ctype/isblank.c               |  2 +-
 newlib/libc/ctype/iscntrl.c               |  2 +-
 newlib/libc/ctype/isdigit.c               |  2 +-
 newlib/libc/ctype/islower.c               |  2 +-
 newlib/libc/ctype/isprint.c               |  4 +-
 newlib/libc/ctype/ispunct.c               |  2 +-
 newlib/libc/ctype/isspace.c               |  2 +-
 newlib/libc/ctype/isupper.c               |  2 +-
 newlib/libc/ctype/iswalnum.c              |  2 +-
 newlib/libc/ctype/iswalpha.c              |  2 +-
 newlib/libc/ctype/iswblank.c              |  2 +-
 newlib/libc/ctype/iswcntrl.c              |  2 +-
 newlib/libc/ctype/iswctype.c              |  2 +-
 newlib/libc/ctype/iswdigit.c              |  2 +-
 newlib/libc/ctype/iswgraph.c              |  2 +-
 newlib/libc/ctype/iswlower.c              |  2 +-
 newlib/libc/ctype/iswprint.c              |  2 +-
 newlib/libc/ctype/iswpunct.c              |  2 +-
 newlib/libc/ctype/iswspace.c              |  2 +-
 newlib/libc/ctype/iswupper.c              |  2 +-
 newlib/libc/ctype/iswxdigit.c             |  2 +-
 newlib/libc/ctype/isxdigit.c              |  2 +-
 newlib/libc/ctype/jp2uc.c                 |  4 +-
 newlib/libc/ctype/toascii.c               |  2 +-
 newlib/libc/ctype/tolower.c               |  2 +-
 newlib/libc/ctype/toupper.c               |  2 +-
 newlib/libc/ctype/towctrans.c             |  6 +-
 newlib/libc/ctype/towlower.c              |  2 +-
 newlib/libc/ctype/towupper.c              |  2 +-
 newlib/libc/ctype/wctrans.c               |  6 +-
 newlib/libc/ctype/wctype.c                |  6 +-
 newlib/libc/iconv/ces/euc.c               | 21 +++----
 newlib/libc/iconv/ces/table-pcs.c         | 24 +++-----
 newlib/libc/iconv/ces/table.c             | 30 ++++------
 newlib/libc/iconv/ces/ucs-2-internal.c    |  9 +--
 newlib/libc/iconv/ces/ucs-2.c             | 15 ++---
 newlib/libc/iconv/ces/ucs-4-internal.c    |  9 +--
 newlib/libc/iconv/ces/ucs-4.c             | 15 ++---
 newlib/libc/iconv/ces/us-ascii.c          |  9 +--
 newlib/libc/iconv/ces/utf-16.c            | 18 ++----
 newlib/libc/iconv/ces/utf-8.c             |  9 +--
 newlib/libc/iconv/lib/aliasesi.c          |  9 +--
 newlib/libc/iconv/lib/iconv.c             | 17 ++----
 newlib/libc/iconv/lib/iconvnls.c          | 24 +++-----
 newlib/libc/iconv/lib/nullconv.c          | 22 +++----
 newlib/libc/iconv/lib/ucsconv.c           | 25 +++-----
 newlib/libc/include/_ansi.h               |  2 -
 newlib/libc/locale/locale.c               |  6 +-
 newlib/libc/locale/localeconv.c           |  3 +-
 newlib/libc/machine/microblaze/strcmp.c   |  3 +-
 newlib/libc/machine/microblaze/strcpy.c   |  3 +-
 newlib/libc/machine/microblaze/strlen.c   |  3 +-
 newlib/libc/machine/powerpc/atosfix16.c   |  6 +-
 newlib/libc/machine/powerpc/atosfix32.c   |  6 +-
 newlib/libc/machine/powerpc/atosfix64.c   |  6 +-
 newlib/libc/machine/powerpc/atoufix16.c   |  6 +-
 newlib/libc/machine/powerpc/atoufix32.c   |  6 +-
 newlib/libc/machine/powerpc/atoufix64.c   |  6 +-
 newlib/libc/machine/powerpc/strtosfix16.c |  6 +-
 newlib/libc/machine/powerpc/strtosfix32.c |  6 +-
 newlib/libc/machine/powerpc/strtosfix64.c |  6 +-
 newlib/libc/machine/powerpc/strtoufix16.c |  6 +-
 newlib/libc/machine/powerpc/strtoufix32.c |  6 +-
 newlib/libc/machine/powerpc/strtoufix64.c |  6 +-
 newlib/libc/machine/powerpc/ufix64toa.c   |  3 +-
 newlib/libc/machine/powerpc/vec_calloc.c  |  3 +-
 newlib/libc/machine/powerpc/vec_free.c    |  3 +-
 newlib/libc/machine/powerpc/vec_malloc.c  |  3 +-
 newlib/libc/machine/powerpc/vec_realloc.c |  3 +-
 newlib/libc/machine/powerpc/vfprintf.c    |  6 +-
 newlib/libc/machine/powerpc/vfscanf.c     |  6 +-
 newlib/libc/machine/spu/assert.c          |  6 +-
 newlib/libc/machine/spu/clearerr.c        |  3 +-
 newlib/libc/machine/spu/creat.c           |  3 +-
 newlib/libc/machine/spu/fclose.c          |  3 +-
 newlib/libc/machine/spu/fdopen.c          |  3 +-
 newlib/libc/machine/spu/feof.c            |  3 +-
 newlib/libc/machine/spu/ferror.c          |  3 +-
 newlib/libc/machine/spu/fflush.c          |  3 +-
 newlib/libc/machine/spu/fgetc.c           |  3 +-
 newlib/libc/machine/spu/fgetpos.c         |  3 +-
 newlib/libc/machine/spu/fgets.c           |  3 +-
 newlib/libc/machine/spu/fileno.c          |  3 +-
 newlib/libc/machine/spu/fopen.c           |  3 +-
 newlib/libc/machine/spu/fputs.c           |  3 +-
 newlib/libc/machine/spu/fread.c           |  3 +-
 newlib/libc/machine/spu/freopen.c         |  3 +-
 newlib/libc/machine/spu/fseek.c           |  3 +-
 newlib/libc/machine/spu/fsetpos.c         |  3 +-
 newlib/libc/machine/spu/ftell.c           |  3 +-
 newlib/libc/machine/spu/fwrite.c          |  3 +-
 newlib/libc/machine/spu/perror.c          |  3 +-
 newlib/libc/machine/spu/puts.c            |  3 +-
 newlib/libc/machine/spu/rewind.c          |  3 +-
 newlib/libc/machine/spu/setbuf.c          |  3 +-
 newlib/libc/machine/spu/setvbuf.c         |  3 +-
 newlib/libc/machine/spu/stdio.c           |  9 +--
 newlib/libc/machine/spu/tmpnam.c          |  3 +-
 newlib/libc/machine/spu/vfprintf.c        |  3 +-
 newlib/libc/machine/spu/vfscanf.c         |  3 +-
 newlib/libc/machine/spu/vprintf.c         |  3 +-
 newlib/libc/machine/spu/vscanf.c          |  3 +-
 newlib/libc/machine/spu/vsnprintf.c       |  3 +-
 newlib/libc/machine/spu/vsprintf.c        |  3 +-
 newlib/libc/machine/spu/vsscanf.c         |  3 +-
 newlib/libc/misc/__dprintf.c              | 12 ++--
 newlib/libc/posix/_isatty.c               |  2 +-
 newlib/libc/posix/closedir.c              |  3 +-
 newlib/libc/posix/creat.c                 |  3 +-
 newlib/libc/posix/execl.c                 |  6 +-
 newlib/libc/posix/execle.c                |  6 +-
 newlib/libc/posix/execlp.c                |  6 +-
 newlib/libc/posix/execv.c                 |  3 +-
 newlib/libc/posix/execve.c                |  3 +-
 newlib/libc/posix/execvp.c                |  6 +-
 newlib/libc/posix/isatty.c                |  2 +-
 newlib/libc/posix/opendir.c               |  3 +-
 newlib/libc/posix/popen.c                 |  6 +-
 newlib/libc/posix/posix_spawn.c           | 63 +++++++-------------
 newlib/libc/posix/readdir.c               |  3 +-
 newlib/libc/posix/readdir_r.c             |  3 +-
 newlib/libc/posix/rewinddir.c             |  3 +-
 newlib/libc/posix/scandir.c               |  6 +-
 newlib/libc/posix/seekdir.c               |  3 +-
 newlib/libc/posix/telldir.c               |  9 +--
 newlib/libc/reent/execr.c                 |  9 +--
 newlib/libc/reent/fcntlr.c                |  3 +-
 newlib/libc/reent/fstat64r.c              |  3 +-
 newlib/libc/reent/gettimeofdayr.c         |  3 +-
 newlib/libc/reent/linkr.c                 |  3 +-
 newlib/libc/reent/lseek64r.c              |  3 +-
 newlib/libc/reent/lseekr.c                |  3 +-
 newlib/libc/reent/mkdirr.c                |  3 +-
 newlib/libc/reent/openr.c                 |  3 +-
 newlib/libc/reent/readr.c                 |  3 +-
 newlib/libc/reent/reent.c                 |  6 +-
 newlib/libc/reent/renamer.c               |  3 +-
 newlib/libc/reent/sbrkr.c                 |  3 +-
 newlib/libc/reent/signalr.c               |  6 +-
 newlib/libc/reent/stat64r.c               |  3 +-
 newlib/libc/reent/statr.c                 |  3 +-
 newlib/libc/reent/timesr.c                |  3 +-
 newlib/libc/reent/unlinkr.c               |  3 +-
 newlib/libc/reent/writer.c                |  3 +-
 newlib/libc/search/bsearch.c              |  3 +-
 newlib/libc/search/hash.c                 |  3 +-
 newlib/libc/search/hcreate.c              |  5 +-
 newlib/libc/search/qsort.c                | 15 ++---
 newlib/libc/search/tdelete.c              |  3 +-
 newlib/libc/search/tdestroy.c             |  3 +-
 newlib/libc/search/tfind.c                |  3 +-
 newlib/libc/search/tsearch.c              |  3 +-
 newlib/libc/search/twalk.c                |  3 +-
 newlib/libc/signal/psignal.c              |  3 +-
 newlib/libc/signal/raise.c                |  6 +-
 newlib/libc/signal/signal.c               | 20 +++----
 newlib/libc/stdio/asiprintf.c             |  6 +-
 newlib/libc/stdio/asniprintf.c            |  6 +-
 newlib/libc/stdio/asnprintf.c             |  6 +-
 newlib/libc/stdio/asprintf.c              |  6 +-
 newlib/libc/stdio/clearerr.c              |  3 +-
 newlib/libc/stdio/clearerr_u.c            |  3 +-
 newlib/libc/stdio/diprintf.c              |  6 +-
 newlib/libc/stdio/dprintf.c               |  6 +-
 newlib/libc/stdio/fclose.c                |  6 +-
 newlib/libc/stdio/fcloseall.c             |  3 +-
 newlib/libc/stdio/fdopen.c                |  6 +-
 newlib/libc/stdio/feof.c                  |  3 +-
 newlib/libc/stdio/feof_u.c                |  3 +-
 newlib/libc/stdio/ferror.c                |  3 +-
 newlib/libc/stdio/ferror_u.c              |  3 +-
 newlib/libc/stdio/fflush.c                | 12 ++--
 newlib/libc/stdio/fgetc.c                 |  6 +-
 newlib/libc/stdio/fgetc_u.c               |  6 +-
 newlib/libc/stdio/fgetpos.c               |  6 +-
 newlib/libc/stdio/fgets.c                 |  6 +-
 newlib/libc/stdio/fgetwc.c                |  9 +--
 newlib/libc/stdio/fgetwc_u.c              |  6 +-
 newlib/libc/stdio/fgetws.c                |  6 +-
 newlib/libc/stdio/fileno.c                |  3 +-
 newlib/libc/stdio/fileno_u.c              |  3 +-
 newlib/libc/stdio/findfp.c                | 21 +++----
 newlib/libc/stdio/fiprintf.c              |  6 +-
 newlib/libc/stdio/flags.c                 |  3 +-
 newlib/libc/stdio/fmemopen.c              | 21 +++----
 newlib/libc/stdio/fopen.c                 |  6 +-
 newlib/libc/stdio/fopencookie.c           | 21 +++----
 newlib/libc/stdio/fprintf.c               |  6 +-
 newlib/libc/stdio/fpurge.c                |  9 +--
 newlib/libc/stdio/fputc.c                 |  6 +-
 newlib/libc/stdio/fputc_u.c               |  6 +-
 newlib/libc/stdio/fputs.c                 |  6 +-
 newlib/libc/stdio/fputwc.c                |  9 +--
 newlib/libc/stdio/fputwc_u.c              |  6 +-
 newlib/libc/stdio/fputws.c                |  6 +-
 newlib/libc/stdio/fread.c                 |  9 +--
 newlib/libc/stdio/freopen.c               |  6 +-
 newlib/libc/stdio/fseek.c                 |  6 +-
 newlib/libc/stdio/fseeko.c                |  6 +-
 newlib/libc/stdio/fsetlocking.c           |  3 +-
 newlib/libc/stdio/fsetpos.c               |  6 +-
 newlib/libc/stdio/ftell.c                 |  6 +-
 newlib/libc/stdio/ftello.c                |  6 +-
 newlib/libc/stdio/funopen.c               | 21 +++----
 newlib/libc/stdio/fvwrite.c               |  3 +-
 newlib/libc/stdio/fwalk.c                 |  6 +-
 newlib/libc/stdio/fwide.c                 |  6 +-
 newlib/libc/stdio/fwprintf.c              |  6 +-
 newlib/libc/stdio/fwrite.c                |  6 +-
 newlib/libc/stdio/getc.c                  |  6 +-
 newlib/libc/stdio/getc_u.c                |  6 +-
 newlib/libc/stdio/getchar.c               |  3 +-
 newlib/libc/stdio/getchar_u.c             |  3 +-
 newlib/libc/stdio/getdelim.c              |  3 +-
 newlib/libc/stdio/getline.c               |  3 +-
 newlib/libc/stdio/gets.c                  |  6 +-
 newlib/libc/stdio/getw.c                  |  3 +-
 newlib/libc/stdio/getwc.c                 |  6 +-
 newlib/libc/stdio/getwc_u.c               |  6 +-
 newlib/libc/stdio/getwchar.c              |  3 +-
 newlib/libc/stdio/getwchar_u.c            |  3 +-
 newlib/libc/stdio/iprintf.c               |  6 +-
 newlib/libc/stdio/makebuf.c               |  6 +-
 newlib/libc/stdio/mktemp.c                | 39 ++++--------
 newlib/libc/stdio/nano-vfprintf.c         | 21 +++----
 newlib/libc/stdio/nano-vfscanf.c          | 18 ++----
 newlib/libc/stdio/open_memstream.c        | 27 +++------
 newlib/libc/stdio/perror.c                |  6 +-
 newlib/libc/stdio/printf.c                |  6 +-
 newlib/libc/stdio/putc.c                  |  6 +-
 newlib/libc/stdio/putc_u.c                |  6 +-
 newlib/libc/stdio/putchar.c               |  6 +-
 newlib/libc/stdio/putchar_u.c             |  6 +-
 newlib/libc/stdio/puts.c                  |  6 +-
 newlib/libc/stdio/putw.c                  |  3 +-
 newlib/libc/stdio/putwc.c                 |  6 +-
 newlib/libc/stdio/putwc_u.c               |  6 +-
 newlib/libc/stdio/putwchar.c              |  6 +-
 newlib/libc/stdio/putwchar_u.c            |  6 +-
 newlib/libc/stdio/refill.c                |  6 +-
 newlib/libc/stdio/remove.c                |  6 +-
 newlib/libc/stdio/rename.c                |  3 +-
 newlib/libc/stdio/rewind.c                |  6 +-
 newlib/libc/stdio/rget.c                  |  6 +-
 newlib/libc/stdio/sccl.c                  |  3 +-
 newlib/libc/stdio/setbuf.c                |  3 +-
 newlib/libc/stdio/setbuffer.c             |  3 +-
 newlib/libc/stdio/setlinebuf.c            |  3 +-
 newlib/libc/stdio/setvbuf.c               |  3 +-
 newlib/libc/stdio/siprintf.c              |  6 +-
 newlib/libc/stdio/siscanf.c               |  6 +-
 newlib/libc/stdio/sniprintf.c             |  6 +-
 newlib/libc/stdio/snprintf.c              |  6 +-
 newlib/libc/stdio/sprintf.c               |  6 +-
 newlib/libc/stdio/sscanf.c                |  6 +-
 newlib/libc/stdio/stdio.c                 | 18 ++----
 newlib/libc/stdio/stdio_ext.c             | 21 +++----
 newlib/libc/stdio/swprintf.c              |  6 +-
 newlib/libc/stdio/tmpfile.c               |  3 +-
 newlib/libc/stdio/tmpnam.c                | 15 ++---
 newlib/libc/stdio/ungetc.c                |  9 +--
 newlib/libc/stdio/ungetwc.c               |  6 +-
 newlib/libc/stdio/vasiprintf.c            |  6 +-
 newlib/libc/stdio/vasniprintf.c           |  6 +-
 newlib/libc/stdio/vasnprintf.c            |  6 +-
 newlib/libc/stdio/vasprintf.c             |  6 +-
 newlib/libc/stdio/vdiprintf.c             |  6 +-
 newlib/libc/stdio/vdprintf.c              |  6 +-
 newlib/libc/stdio/vfprintf.c              | 24 +++-----
 newlib/libc/stdio/vfscanf.c               | 21 +++----
 newlib/libc/stdio/vfwprintf.c             | 12 ++--
 newlib/libc/stdio/vfwscanf.c              | 18 ++----
 newlib/libc/stdio/viprintf.c              |  6 +-
 newlib/libc/stdio/viscanf.c               |  6 +-
 newlib/libc/stdio/vprintf.c               |  6 +-
 newlib/libc/stdio/vscanf.c                |  6 +-
 newlib/libc/stdio/vsiprintf.c             |  6 +-
 newlib/libc/stdio/vsiscanf.c              |  6 +-
 newlib/libc/stdio/vsniprintf.c            |  6 +-
 newlib/libc/stdio/vsnprintf.c             |  6 +-
 newlib/libc/stdio/vsprintf.c              |  6 +-
 newlib/libc/stdio/vsscanf.c               |  6 +-
 newlib/libc/stdio/vswprintf.c             |  6 +-
 newlib/libc/stdio/vwprintf.c              |  6 +-
 newlib/libc/stdio/wbuf.c                  |  6 +-
 newlib/libc/stdio/wprintf.c               |  6 +-
 newlib/libc/stdio/wsetup.c                |  3 +-
 newlib/libc/stdio64/fdopen64.c            |  6 +-
 newlib/libc/stdio64/fgetpos64.c           |  6 +-
 newlib/libc/stdio64/fopen64.c             |  6 +-
 newlib/libc/stdio64/freopen64.c           |  6 +-
 newlib/libc/stdio64/fseeko64.c            |  6 +-
 newlib/libc/stdio64/fsetpos64.c           |  6 +-
 newlib/libc/stdio64/ftello64.c            |  6 +-
 newlib/libc/stdio64/stdio64.c             |  6 +-
 newlib/libc/stdio64/tmpfile64.c           |  3 +-
 newlib/libc/stdlib/_Exit.c                |  3 +-
 newlib/libc/stdlib/__adjust.c             |  3 +-
 newlib/libc/stdlib/__atexit.c             |  4 +-
 newlib/libc/stdlib/__call_atexit.c        |  3 +-
 newlib/libc/stdlib/__exp10.c              |  3 +-
 newlib/libc/stdlib/__ten_mu.c             |  3 +-
 newlib/libc/stdlib/a64l.c                 |  3 +-
 newlib/libc/stdlib/abs.c                  |  2 +-
 newlib/libc/stdlib/assert.c               |  6 +-
 newlib/libc/stdlib/atexit.c               |  4 +-
 newlib/libc/stdlib/atof.c                 |  3 +-
 newlib/libc/stdlib/atoff.c                |  3 +-
 newlib/libc/stdlib/atoi.c                 |  6 +-
 newlib/libc/stdlib/atol.c                 |  4 +-
 newlib/libc/stdlib/atoll.c                |  6 +-
 newlib/libc/stdlib/calloc.c               |  3 +-
 newlib/libc/stdlib/cxa_atexit.c           |  4 +-
 newlib/libc/stdlib/cxa_finalize.c         |  3 +-
 newlib/libc/stdlib/div.c                  |  3 +-
 newlib/libc/stdlib/drand48.c              |  3 +-
 newlib/libc/stdlib/dtoa.c                 |  8 +--
 newlib/libc/stdlib/dtoastub.c             |  4 +-
 newlib/libc/stdlib/ecvtbuf.c              | 18 ++----
 newlib/libc/stdlib/efgcvt.c               | 18 ++----
 newlib/libc/stdlib/erand48.c              |  6 +-
 newlib/libc/stdlib/exit.c                 |  3 +-
 newlib/libc/stdlib/gdtoa-gethex.c         |  9 +--
 newlib/libc/stdlib/gdtoa-hexnan.c         |  9 +--
 newlib/libc/stdlib/getenv.c               |  6 +-
 newlib/libc/stdlib/getenv_r.c             |  6 +-
 newlib/libc/stdlib/itoa.c                 |  6 +-
 newlib/libc/stdlib/jrand48.c              |  6 +-
 newlib/libc/stdlib/l64a.c                 |  6 +-
 newlib/libc/stdlib/labs.c                 |  3 +-
 newlib/libc/stdlib/lcong48.c              |  6 +-
 newlib/libc/stdlib/ldiv.c                 |  3 +-
 newlib/libc/stdlib/llabs.c                |  3 +-
 newlib/libc/stdlib/lldiv.c                |  3 +-
 newlib/libc/stdlib/lrand48.c              |  3 +-
 newlib/libc/stdlib/malign.c               |  3 +-
 newlib/libc/stdlib/malloc.c               |  6 +-
 newlib/libc/stdlib/mblen.c                |  3 +-
 newlib/libc/stdlib/mblen_r.c              |  3 +-
 newlib/libc/stdlib/mbrtowc.c              |  6 +-
 newlib/libc/stdlib/mbsnrtowcs.c           |  6 +-
 newlib/libc/stdlib/mbsrtowcs.c            |  6 +-
 newlib/libc/stdlib/mbstowcs.c             |  3 +-
 newlib/libc/stdlib/mbstowcs_r.c           |  3 +-
 newlib/libc/stdlib/mbtowc.c               |  3 +-
 newlib/libc/stdlib/mbtowc_r.c             | 18 ++----
 newlib/libc/stdlib/mprec.c                | 48 ++++++---------
 newlib/libc/stdlib/mrand48.c              |  3 +-
 newlib/libc/stdlib/msize.c                |  3 +-
 newlib/libc/stdlib/mstats.c               |  9 +--
 newlib/libc/stdlib/mtrim.c                |  3 +-
 newlib/libc/stdlib/nrand48.c              |  6 +-
 newlib/libc/stdlib/on_exit.c              |  4 +-
 newlib/libc/stdlib/putenv.c               |  3 +-
 newlib/libc/stdlib/putenv_r.c             |  3 +-
 newlib/libc/stdlib/rand.c                 |  2 +-
 newlib/libc/stdlib/rand48.c               |  3 +-
 newlib/libc/stdlib/rand_r.c               |  2 +-
 newlib/libc/stdlib/random.c               |  2 +-
 newlib/libc/stdlib/realloc.c              |  3 +-
 newlib/libc/stdlib/reallocf.c             |  6 +-
 newlib/libc/stdlib/rpmatch.c              |  3 +-
 newlib/libc/stdlib/seed48.c               |  6 +-
 newlib/libc/stdlib/setenv.c               |  6 +-
 newlib/libc/stdlib/setenv_r.c             |  6 +-
 newlib/libc/stdlib/srand48.c              |  6 +-
 newlib/libc/stdlib/strtod.c               | 15 ++---
 newlib/libc/stdlib/strtol.c               |  6 +-
 newlib/libc/stdlib/strtoll.c              |  6 +-
 newlib/libc/stdlib/strtoul.c              |  6 +-
 newlib/libc/stdlib/strtoull.c             |  6 +-
 newlib/libc/stdlib/system.c               | 12 ++--
 newlib/libc/stdlib/utoa.c                 |  6 +-
 newlib/libc/stdlib/valloc.c               |  6 +-
 newlib/libc/stdlib/wcrtomb.c              |  6 +-
 newlib/libc/stdlib/wcsnrtombs.c           |  6 +-
 newlib/libc/stdlib/wcsrtombs.c            |  6 +-
 newlib/libc/stdlib/wcstod.c               | 12 ++--
 newlib/libc/stdlib/wcstol.c               |  6 +-
 newlib/libc/stdlib/wcstoll.c              |  6 +-
 newlib/libc/stdlib/wcstombs.c             |  3 +-
 newlib/libc/stdlib/wcstombs_r.c           |  3 +-
 newlib/libc/stdlib/wcstoul.c              |  6 +-
 newlib/libc/stdlib/wcstoull.c             |  6 +-
 newlib/libc/stdlib/wctomb.c               |  3 +-
 newlib/libc/stdlib/wctomb_r.c             | 18 ++----
 newlib/libc/string/bcmp.c                 |  3 +-
 newlib/libc/string/bcopy.c                |  3 +-
 newlib/libc/string/gnu_basename.c         |  3 +-
 newlib/libc/string/index.c                |  3 +-
 newlib/libc/string/memccpy.c              |  3 +-
 newlib/libc/string/memchr.c               |  3 +-
 newlib/libc/string/memcmp.c               |  3 +-
 newlib/libc/string/memcpy.c               |  3 +-
 newlib/libc/string/memmem.c               |  3 +-
 newlib/libc/string/memmove.c              |  3 +-
 newlib/libc/string/mempcpy.c              |  3 +-
 newlib/libc/string/memrchr.c              |  3 +-
 newlib/libc/string/memset.c               |  3 +-
 newlib/libc/string/rawmemchr.c            |  3 +-
 newlib/libc/string/rindex.c               |  3 +-
 newlib/libc/string/stpcpy.c               |  3 +-
 newlib/libc/string/stpncpy.c              |  3 +-
 newlib/libc/string/strcasecmp.c           |  3 +-
 newlib/libc/string/strcasestr.c           |  3 +-
 newlib/libc/string/strcat.c               |  3 +-
 newlib/libc/string/strchr.c               |  3 +-
 newlib/libc/string/strchrnul.c            |  3 +-
 newlib/libc/string/strcmp.c               |  3 +-
 newlib/libc/string/strcoll.c              |  3 +-
 newlib/libc/string/strcpy.c               |  3 +-
 newlib/libc/string/strcspn.c              |  3 +-
 newlib/libc/string/strdup.c               |  2 +-
 newlib/libc/string/strdup_r.c             |  3 +-
 newlib/libc/string/strerror.c             |  6 +-
 newlib/libc/string/strerror_r.c           |  3 +-
 newlib/libc/string/strlcat.c              |  3 +-
 newlib/libc/string/strlcpy.c              |  3 +-
 newlib/libc/string/strlen.c               |  3 +-
 newlib/libc/string/strlwr.c               |  3 +-
 newlib/libc/string/strncasecmp.c          |  3 +-
 newlib/libc/string/strncat.c              |  3 +-
 newlib/libc/string/strncmp.c              |  3 +-
 newlib/libc/string/strncpy.c              |  3 +-
 newlib/libc/string/strndup.c              |  3 +-
 newlib/libc/string/strndup_r.c            |  3 +-
 newlib/libc/string/strnlen.c              |  3 +-
 newlib/libc/string/strpbrk.c              |  3 +-
 newlib/libc/string/strrchr.c              |  3 +-
 newlib/libc/string/strsep.c               |  3 +-
 newlib/libc/string/strsignal.c            |  3 +-
 newlib/libc/string/strspn.c               |  3 +-
 newlib/libc/string/strstr.c               |  3 +-
 newlib/libc/string/strtok.c               |  3 +-
 newlib/libc/string/strtok_r.c             |  6 +-
 newlib/libc/string/strupr.c               |  3 +-
 newlib/libc/string/strxfrm.c              |  3 +-
 newlib/libc/string/swab.c                 |  3 +-
 newlib/libc/string/u_strerr.c             |  3 +-
 newlib/libc/string/wcpcpy.c               |  3 +-
 newlib/libc/string/wcpncpy.c              |  3 +-
 newlib/libc/string/wcscasecmp.c           |  3 +-
 newlib/libc/string/wcscat.c               |  3 +-
 newlib/libc/string/wcschr.c               |  3 +-
 newlib/libc/string/wcscmp.c               |  3 +-
 newlib/libc/string/wcscoll.c              |  3 +-
 newlib/libc/string/wcscpy.c               |  3 +-
 newlib/libc/string/wcscspn.c              |  3 +-
 newlib/libc/string/wcslcat.c              |  3 +-
 newlib/libc/string/wcslcpy.c              |  3 +-
 newlib/libc/string/wcslen.c               |  3 +-
 newlib/libc/string/wcsncasecmp.c          |  3 +-
 newlib/libc/string/wcsncat.c              |  3 +-
 newlib/libc/string/wcsncmp.c              |  3 +-
 newlib/libc/string/wcsncpy.c              |  3 +-
 newlib/libc/string/wcsnlen.c              |  3 +-
 newlib/libc/string/wcspbrk.c              |  3 +-
 newlib/libc/string/wcsrchr.c              |  3 +-
 newlib/libc/string/wcsspn.c               |  3 +-
 newlib/libc/string/wcsstr.c               |  3 +-
 newlib/libc/string/wcstok.c               |  3 +-
 newlib/libc/string/wcswidth.c             |  3 +-
 newlib/libc/string/wcsxfrm.c              |  3 +-
 newlib/libc/string/wcwidth.c              |  6 +-
 newlib/libc/string/wmemchr.c              |  3 +-
 newlib/libc/string/wmemcmp.c              |  3 +-
 newlib/libc/string/wmemcpy.c              |  3 +-
 newlib/libc/string/wmemmove.c             |  3 +-
 newlib/libc/string/wmempcpy.c             |  3 +-
 newlib/libc/string/wmemset.c              |  3 +-
 newlib/libc/string/xpg_strerror_r.c       |  3 +-
 newlib/libc/sys/a29khif/kill.c            |  3 +-
 newlib/libc/sys/h8300hms/misc.c           |  8 +--
 newlib/libc/sys/h8500hms/misc.c           |  8 +--
 newlib/libc/sys/linux/ctermid.c           |  3 +-
 newlib/libc/sys/linux/getpwent.c          |  9 +--
 newlib/libc/sys/linux/pread.c             |  6 +-
 newlib/libc/sys/linux/pread64.c           |  3 +-
 newlib/libc/sys/linux/pwrite.c            |  6 +-
 newlib/libc/sys/linux/pwrite64.c          |  3 +-
 newlib/libc/sys/sparc64/ieee.c            | 12 ++--
 newlib/libc/sys/sun4/ieee.c               | 12 ++--
 newlib/libc/sys/sysnec810/misc.c          |  3 +-
 newlib/libc/sys/sysvi386/fpx.c            |  9 +--
 newlib/libc/sys/sysvnecv70/fpx.c          |  9 +--
 newlib/libc/syscalls/sysclose.c           |  3 +-
 newlib/libc/syscalls/sysexecve.c          |  3 +-
 newlib/libc/syscalls/sysfcntl.c           |  3 +-
 newlib/libc/syscalls/sysfstat.c           |  3 +-
 newlib/libc/syscalls/sysgettod.c          |  3 +-
 newlib/libc/syscalls/sysisatty.c          |  3 +-
 newlib/libc/syscalls/syskill.c            |  3 +-
 newlib/libc/syscalls/syslink.c            |  3 +-
 newlib/libc/syscalls/syslseek.c           |  3 +-
 newlib/libc/syscalls/sysopen.c            |  3 +-
 newlib/libc/syscalls/sysread.c            |  3 +-
 newlib/libc/syscalls/syssbrk.c            |  3 +-
 newlib/libc/syscalls/sysstat.c            |  3 +-
 newlib/libc/syscalls/systimes.c           |  3 +-
 newlib/libc/syscalls/sysunlink.c          |  3 +-
 newlib/libc/syscalls/syswait.c            |  3 +-
 newlib/libc/syscalls/syswrite.c           |  3 +-
 newlib/libc/time/asctime.c                |  3 +-
 newlib/libc/time/asctime_r.c              |  3 +-
 newlib/libc/time/ctime.c                  |  3 +-
 newlib/libc/time/ctime_r.c                |  3 +-
 newlib/libc/time/difftime.c               |  3 +-
 newlib/libc/time/gmtime.c                 |  3 +-
 newlib/libc/time/gmtime_r.c               |  3 +-
 newlib/libc/time/lcltime.c                |  3 +-
 newlib/libc/time/lcltime_r.c              |  3 +-
 newlib/libc/time/mktime.c                 |  6 +-
 newlib/libc/time/strftime.c               |  6 +-
 newlib/libc/time/time.c                   |  3 +-
 newlib/libc/time/tzcalc_limits.c          |  3 +-
 newlib/libc/time/tzset_r.c                |  6 +-
 newlib/libc/unix/basename.c               |  3 +-
 newlib/libc/unix/dirname.c                |  3 +-
 newlib/libc/unix/pread.c                  |  6 +-
 newlib/libc/unix/pwrite.c                 |  6 +-
 newlib/libc/unix/ttyname.c                |  3 +-
 newlib/libc/unix/ttyname_r.c              |  3 +-
 newlib/libc/xdr/xdr.c                     | 99 +++++++++++--------------------
 newlib/libc/xdr/xdr_array.c               |  6 +-
 newlib/libc/xdr/xdr_float.c               |  6 +-
 newlib/libc/xdr/xdr_float_vax.c           |  6 +-
 newlib/libc/xdr/xdr_mem.c                 | 48 +++++----------
 newlib/libc/xdr/xdr_private.c             |  9 +--
 newlib/libc/xdr/xdr_rec.c                 | 69 +++++++--------------
 newlib/libc/xdr/xdr_reference.c           |  6 +-
 newlib/libc/xdr/xdr_sizeof.c              | 24 +++-----
 newlib/libc/xdr/xdr_stdio.c               | 33 ++++-------
 newlib/libm/common/s_isinf.c              |  3 +-
 newlib/libm/common/s_isinfd.c             |  3 +-
 newlib/libm/common/s_isnand.c             |  3 +-
 newlib/libm/common/sf_isinf.c             |  6 +-
 newlib/libm/common/sf_isinff.c            |  6 +-
 newlib/libm/common/sf_isnan.c             |  6 +-
 newlib/libm/common/sf_isnanf.c            |  6 +-
 newlib/libm/machine/i386/f_math.h         |  6 +-
 newlib/libm/mathfp/s_acos.c               |  3 +-
 newlib/libm/mathfp/s_asin.c               |  3 +-
 newlib/libm/mathfp/s_asine.c              |  3 +-
 newlib/libm/mathfp/s_atan.c               |  3 +-
 newlib/libm/mathfp/s_atan2.c              |  3 +-
 newlib/libm/mathfp/s_atangent.c           |  3 +-
 newlib/libm/mathfp/s_ceil.c               |  3 +-
 newlib/libm/mathfp/s_cos.c                |  3 +-
 newlib/libm/mathfp/s_cosh.c               |  3 +-
 newlib/libm/mathfp/s_exp.c                |  3 +-
 newlib/libm/mathfp/s_exp2.c               |  3 +-
 newlib/libm/mathfp/s_fabs.c               |  3 +-
 newlib/libm/mathfp/s_floor.c              |  3 +-
 newlib/libm/mathfp/s_ldexp.c              |  3 +-
 newlib/libm/mathfp/s_log.c                |  3 +-
 newlib/libm/mathfp/s_log10.c              |  3 +-
 newlib/libm/mathfp/s_logarithm.c          |  3 +-
 newlib/libm/mathfp/s_numtest.c            |  3 +-
 newlib/libm/mathfp/s_sin.c                |  3 +-
 newlib/libm/mathfp/s_sincos.c             |  3 +-
 newlib/libm/mathfp/s_sine.c               |  3 +-
 newlib/libm/mathfp/s_sineh.c              |  3 +-
 newlib/libm/mathfp/s_sinf.c               |  3 +-
 newlib/libm/mathfp/s_sinh.c               |  3 +-
 newlib/libm/mathfp/s_sqrt.c               |  3 +-
 newlib/libm/mathfp/s_tan.c                |  3 +-
 newlib/libm/mathfp/s_tanh.c               |  3 +-
 newlib/libm/mathfp/sf_acos.c              |  3 +-
 newlib/libm/mathfp/sf_asin.c              |  3 +-
 newlib/libm/mathfp/sf_asine.c             |  3 +-
 newlib/libm/mathfp/sf_atan.c              |  3 +-
 newlib/libm/mathfp/sf_atan2.c             |  3 +-
 newlib/libm/mathfp/sf_atangent.c          |  3 +-
 newlib/libm/mathfp/sf_ceil.c              |  3 +-
 newlib/libm/mathfp/sf_cos.c               |  3 +-
 newlib/libm/mathfp/sf_cosh.c              |  3 +-
 newlib/libm/mathfp/sf_exp.c               |  3 +-
 newlib/libm/mathfp/sf_exp2.c              |  3 +-
 newlib/libm/mathfp/sf_fabs.c              |  3 +-
 newlib/libm/mathfp/sf_floor.c             |  3 +-
 newlib/libm/mathfp/sf_fmod.c              |  3 +-
 newlib/libm/mathfp/sf_ldexp.c             |  3 +-
 newlib/libm/mathfp/sf_log.c               |  3 +-
 newlib/libm/mathfp/sf_log10.c             |  3 +-
 newlib/libm/mathfp/sf_logarithm.c         |  3 +-
 newlib/libm/mathfp/sf_numtest.c           |  3 +-
 newlib/libm/mathfp/sf_sin.c               |  3 +-
 newlib/libm/mathfp/sf_sincos.c            |  3 +-
 newlib/libm/mathfp/sf_sine.c              |  3 +-
 newlib/libm/mathfp/sf_sineh.c             |  3 +-
 newlib/libm/mathfp/sf_sinh.c              |  3 +-
 newlib/libm/mathfp/sf_sqrt.c              |  3 +-
 newlib/libm/mathfp/sf_tan.c               |  3 +-
 newlib/libm/mathfp/sf_tanh.c              |  3 +-
 newlib/libm/test/convert.c                | 12 ++--
 newlib/libm/test/dcvt.c                   | 33 ++++-------
 newlib/libm/test/math.c                   | 33 ++++-------
 newlib/libm/test/string.c                 |  6 +-
 newlib/libm/test/test.c                   | 27 +++------
 newlib/libm/test/test_ieee.c              |  3 +-
 newlib/libm/test/test_is.c                | 43 +++++++-------
 729 files changed, 1338 insertions(+), 2605 deletions(-)

diff --git a/libgloss/bfin/_exit.c b/libgloss/bfin/_exit.c
index e818632..e55cf08 100644
--- a/libgloss/bfin/_exit.c
+++ b/libgloss/bfin/_exit.c
@@ -17,8 +17,7 @@
 #include <_ansi.h>
 
 void
-_DEFUN (_exit, (rc),
-	int rc)
+_exit (int rc)
 {
   while (1)
     asm volatile ("EXCPT 0;");
diff --git a/libgloss/close.c b/libgloss/close.c
index 7aafcea..48156aa 100644
--- a/libgloss/close.c
+++ b/libgloss/close.c
@@ -18,8 +18,7 @@
  * close -- We don't need to do anything, but pretend we did.
  */
 int
-_DEFUN (close ,(fd),
-       int fd)
+close  (int fd)
 {
   return (0);
 }
diff --git a/libgloss/cr16/fstat.c b/libgloss/cr16/fstat.c
index 73e1fa2..781b2a2 100644
--- a/libgloss/cr16/fstat.c
+++ b/libgloss/cr16/fstat.c
@@ -19,8 +19,7 @@
  * fstat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (_fstat, (fd, buf),
-       int fd,
+_fstat (int fd,
        struct stat *buf)
 {
   buf->st_mode = S_IFCHR;	/* Always pretend to be a tty */
diff --git a/libgloss/cr16/getpid.c b/libgloss/cr16/getpid.c
index d254c9b..efe1900 100644
--- a/libgloss/cr16/getpid.c
+++ b/libgloss/cr16/getpid.c
@@ -19,8 +19,7 @@
  * getpid -- only one process, so just return 1.
  */
 int
-_DEFUN (_getpid, (),
-        )
+_getpid (void)
 {
   return __MYPID;
 }
diff --git a/libgloss/cr16/isatty.c b/libgloss/cr16/isatty.c
index 604e8f0..fa3cd03 100644
--- a/libgloss/cr16/isatty.c
+++ b/libgloss/cr16/isatty.c
@@ -20,8 +20,7 @@
  *           serial port, we'll say yes and return a 1.
  */
 int
-_DEFUN (_isatty, (fd),
-       int fd)
+_isatty (int fd)
 {
   return (1);
 }
diff --git a/libgloss/cr16/kill.c b/libgloss/cr16/kill.c
index 43c3ec5..f51ddb5 100644
--- a/libgloss/cr16/kill.c
+++ b/libgloss/cr16/kill.c
@@ -20,8 +20,7 @@ extern void _exit (int) __attribute__((__noreturn__));
  * kill -- go out via exit...
  */
 int
-_DEFUN (_kill, (pid, sig),
-        int pid,
+_kill (int pid,
         int sig)
 {
   if(pid == __MYPID)
diff --git a/libgloss/cr16/putnum.c b/libgloss/cr16/putnum.c
index 3317bbf..af72322 100644
--- a/libgloss/cr16/putnum.c
+++ b/libgloss/cr16/putnum.c
@@ -18,8 +18,7 @@
  * putnum -- print a 32 bit number in hex
  */
 void
-_DEFUN (putnum, (num),
-	unsigned int num)
+putnum (unsigned int num)
 {
   char  buf[9];
   int   cnt;
diff --git a/libgloss/cr16/stat.c b/libgloss/cr16/stat.c
index 743fc94..3900a1b 100644
--- a/libgloss/cr16/stat.c
+++ b/libgloss/cr16/stat.c
@@ -20,8 +20,7 @@
  * stat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (_stat, (path, buf),
-       const char *path,
+_stat (const char *path,
        struct stat *buf)
 {
   errno = EIO;
diff --git a/libgloss/crx/fstat.c b/libgloss/crx/fstat.c
index 75f8635..e96cc07 100644
--- a/libgloss/crx/fstat.c
+++ b/libgloss/crx/fstat.c
@@ -19,8 +19,7 @@
  * fstat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (fstat, (fd, buf),
-       int fd,
+fstat (int fd,
        struct stat *buf)
 {
   buf->st_mode = S_IFCHR;	/* Always pretend to be a tty */
diff --git a/libgloss/crx/getpid.c b/libgloss/crx/getpid.c
index 3c1a7b8..912ca18 100644
--- a/libgloss/crx/getpid.c
+++ b/libgloss/crx/getpid.c
@@ -19,8 +19,7 @@
  * getpid -- only one process, so just return 1.
  */
 int
-_DEFUN (getpid, (),
-        )
+getpid (void)
 {
   return __MYPID;
 }
diff --git a/libgloss/crx/isatty.c b/libgloss/crx/isatty.c
index ac3d041..c0039a5 100644
--- a/libgloss/crx/isatty.c
+++ b/libgloss/crx/isatty.c
@@ -20,8 +20,7 @@
  *           serial port, we'll say yes and return a 1.
  */
 int
-_DEFUN (isatty, (fd),
-       int fd)
+isatty (int fd)
 {
   return (1);
 }
diff --git a/libgloss/crx/kill.c b/libgloss/crx/kill.c
index db5018c..98cd3c4 100644
--- a/libgloss/crx/kill.c
+++ b/libgloss/crx/kill.c
@@ -19,8 +19,7 @@
  * kill -- go out via exit...
  */
 int
-_DEFUN (kill, (pid, sig),
-        int pid,
+kill (int pid,
         int sig)
 {
   if(pid == __MYPID)
diff --git a/libgloss/crx/putnum.c b/libgloss/crx/putnum.c
index 3317bbf..af72322 100644
--- a/libgloss/crx/putnum.c
+++ b/libgloss/crx/putnum.c
@@ -18,8 +18,7 @@
  * putnum -- print a 32 bit number in hex
  */
 void
-_DEFUN (putnum, (num),
-	unsigned int num)
+putnum (unsigned int num)
 {
   char  buf[9];
   int   cnt;
diff --git a/libgloss/crx/stat.c b/libgloss/crx/stat.c
index 9562b90..497ef83 100644
--- a/libgloss/crx/stat.c
+++ b/libgloss/crx/stat.c
@@ -20,8 +20,7 @@
  * stat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (stat, (path, buf),
-       const char *path,
+stat (const char *path,
        struct stat *buf)
 {
   errno = EIO;
diff --git a/libgloss/epiphany/_isatty.c b/libgloss/epiphany/_isatty.c
index 9ec5060..cfb1bf6 100644
--- a/libgloss/epiphany/_isatty.c
+++ b/libgloss/epiphany/_isatty.c
@@ -20,7 +20,7 @@
 #include <errno.h>
 
 int
-_DEFUN(_isatty, (fd), int fd)
+_isatty (int fd)
 {
   struct stat buf;
 
diff --git a/libgloss/frv/fstat.c b/libgloss/frv/fstat.c
index 680c4a1..99f0abf 100644
--- a/libgloss/frv/fstat.c
+++ b/libgloss/frv/fstat.c
@@ -19,8 +19,7 @@
  * fstat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (_fstat, (fd, buf),
-       int fd,
+_fstat (int fd,
        struct stat *buf)
 {
   buf->st_mode = S_IFCHR;	/* Always pretend to be a tty */
diff --git a/libgloss/frv/getpid.c b/libgloss/frv/getpid.c
index e6d5682..1809a2d 100644
--- a/libgloss/frv/getpid.c
+++ b/libgloss/frv/getpid.c
@@ -18,8 +18,7 @@
  * getpid -- only one process, so just return 1.
  */
 int
-_DEFUN (_getpid, (),
-        )
+_getpid (void)
 {
   return __MYPID;
 }
diff --git a/libgloss/frv/isatty.c b/libgloss/frv/isatty.c
index e4c9906..65c02b7 100644
--- a/libgloss/frv/isatty.c
+++ b/libgloss/frv/isatty.c
@@ -20,8 +20,7 @@
  *           serial port, we'll say yes and return a 1.
  */
 int
-_DEFUN (_isatty, (fd),
-       int fd)
+_isatty (int fd)
 {
   return (1);
 }
diff --git a/libgloss/frv/kill.c b/libgloss/frv/kill.c
index 8dda1e9..3be632e 100644
--- a/libgloss/frv/kill.c
+++ b/libgloss/frv/kill.c
@@ -20,8 +20,7 @@ extern void _exit (int) __attribute__((__noreturn__));
  * kill -- go out via exit...
  */
 int
-_DEFUN (_kill, (pid, sig),
-        int pid,
+_kill (int pid,
         int sig)
 {
   if(pid == __MYPID)
diff --git a/libgloss/frv/print.c b/libgloss/frv/print.c
index 8c8be84..3dc3d0f 100644
--- a/libgloss/frv/print.c
+++ b/libgloss/frv/print.c
@@ -18,8 +18,7 @@
  * print -- do a raw print of a string
  */ 
 void
-_DEFUN (_print, (ptr),
-char *ptr)
+_print (char *ptr)
 {
   while (*ptr) {
     outbyte (*ptr++);
diff --git a/libgloss/frv/putnum.c b/libgloss/frv/putnum.c
index c7fa121..a07315e 100644
--- a/libgloss/frv/putnum.c
+++ b/libgloss/frv/putnum.c
@@ -18,8 +18,7 @@
  * putnum -- print a 32 bit number in hex
  */
 void
-_DEFUN (_putnum, (num),
-	unsigned int num)
+_putnum (unsigned int num)
 {
   char  buf[9];
   int   cnt;
diff --git a/libgloss/frv/sim-time.c b/libgloss/frv/sim-time.c
index 196f855..7a6af4a 100644
--- a/libgloss/frv/sim-time.c
+++ b/libgloss/frv/sim-time.c
@@ -38,8 +38,7 @@ extern time_t _sim_time (void) __asm__("_sim_time");
  * time -- return current time in seconds.
  */
 time_t
-_DEFUN (time, time (t),
-	time_t *t)
+time (time_t *t)
 {
   time_t ret = _sim_time ();
 
@@ -53,8 +52,7 @@ _DEFUN (time, time (t),
  * _times -- no clock, so return an error.
  */
 int
-_DEFUN (_times, _times (buf),
-	struct tms *buf)
+_times (struct tms *buf)
 {
   errno = EINVAL;
   return (-1);
@@ -65,8 +63,7 @@ _DEFUN (_times, _times (buf),
  * microseconds.
  */
 int
-_DEFUN (_gettimeofday, _gettimeofday (tv, tz),
-	struct timeval *tv,
+_gettimeofday (struct timeval *tv,
 	void *tzvp)
 {
   struct timezone *tz = tzvp;
diff --git a/libgloss/frv/stat.c b/libgloss/frv/stat.c
index ceaedc2..b471f54 100644
--- a/libgloss/frv/stat.c
+++ b/libgloss/frv/stat.c
@@ -20,8 +20,7 @@
  * stat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (_stat, (path, buf),
-       const char *path,
+_stat (const char *path,
        struct stat *buf)
 {
   errno = EIO;
diff --git a/libgloss/fstat.c b/libgloss/fstat.c
index e7f9133..c9d14d1 100644
--- a/libgloss/fstat.c
+++ b/libgloss/fstat.c
@@ -19,8 +19,7 @@
  * fstat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (fstat, (fd, buf),
-       int fd,
+fstat (int fd,
        struct stat *buf)
 {
   buf->st_mode = S_IFCHR;	/* Always pretend to be a tty */
diff --git a/libgloss/ft32/fstat.c b/libgloss/ft32/fstat.c
index 0bd432e..517d134 100644
--- a/libgloss/ft32/fstat.c
+++ b/libgloss/ft32/fstat.c
@@ -19,8 +19,7 @@
  * fstat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (_fstat, (fd, buf),
-       int fd,
+_fstat (int fd,
        struct stat *buf)
 {
   buf->st_mode = S_IFCHR;        /* Always pretend to be a tty */
diff --git a/libgloss/ft32/getpid.c b/libgloss/ft32/getpid.c
index 75bba42..435d093 100644
--- a/libgloss/ft32/getpid.c
+++ b/libgloss/ft32/getpid.c
@@ -18,8 +18,7 @@
  * getpid -- only one process, so just return 1.
  */
 int
-_DEFUN (_getpid, (),
-        )
+_getpid (void)
 {
   return __MYPID;
 }
diff --git a/libgloss/ft32/isatty.c b/libgloss/ft32/isatty.c
index fd2d737..def8ff0 100644
--- a/libgloss/ft32/isatty.c
+++ b/libgloss/ft32/isatty.c
@@ -20,8 +20,7 @@
  *           serial port, we'll say yes and return a 1.
  */
 int
-_DEFUN (_isatty, (fd),
-       int fd)
+_isatty (int fd)
 {
   return (1);
 }
diff --git a/libgloss/ft32/kill.c b/libgloss/ft32/kill.c
index 4b2241f..06ec59c 100644
--- a/libgloss/ft32/kill.c
+++ b/libgloss/ft32/kill.c
@@ -20,8 +20,7 @@ extern void _exit (int) __attribute__((__noreturn__));
  * kill -- go out via exit...
  */
 int
-_DEFUN (_kill, (pid, sig),
-        int pid,
+_kill (int pid,
         int sig)
 {
   if(pid == __MYPID)
diff --git a/libgloss/ft32/sim-lseek.S b/libgloss/ft32/sim-lseek.S
index c2a134c..488edf3 100644
--- a/libgloss/ft32/sim-lseek.S
+++ b/libgloss/ft32/sim-lseek.S
@@ -22,8 +22,7 @@
  * an error.
  */
 off_t
-_DEFUN (_lseek, (fd,  offset, whence),
-       int fd,
+_lseek (int fd,
        off_t offset,
        int whence)
 {
diff --git a/libgloss/ft32/sim-lseek.c b/libgloss/ft32/sim-lseek.c
index e5c08c8..d35e082 100644
--- a/libgloss/ft32/sim-lseek.c
+++ b/libgloss/ft32/sim-lseek.c
@@ -22,8 +22,7 @@
  * an error.
  */
 off_t
-_DEFUN (_lseek, (fd,  offset, whence),
-       int fd,
+_lseek (int fd,
        off_t offset,
        int whence)
 {
diff --git a/libgloss/ft32/sim-time.c b/libgloss/ft32/sim-time.c
index 8f417eb..9d2993b 100644
--- a/libgloss/ft32/sim-time.c
+++ b/libgloss/ft32/sim-time.c
@@ -21,8 +21,7 @@
  * _times -- no clock, so return an error.
  */
 int
-_DEFUN (_times, _times (buf),
-        struct tms *buf)
+_times (struct tms *buf)
 {
   errno = EINVAL;
   return (-1);
@@ -33,8 +32,7 @@ _DEFUN (_times, _times (buf),
  * microseconds.
  */
 int
-_DEFUN (_gettimeofday, _gettimeofday (tv, tz),
-        struct timeval *tv,
+_gettimeofday (struct timeval *tv,
         void *tzvp)
 {
   struct timezone *tz = tzvp;
diff --git a/libgloss/ft32/stat.c b/libgloss/ft32/stat.c
index 4d738ef..df7ef39 100644
--- a/libgloss/ft32/stat.c
+++ b/libgloss/ft32/stat.c
@@ -20,8 +20,7 @@
  * stat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (_stat, (path, buf),
-       const char *path,
+_stat (const char *path,
        struct stat *buf)
 {
   errno = EIO;
diff --git a/libgloss/getpid.c b/libgloss/getpid.c
index 07f7f92..9814fd5 100644
--- a/libgloss/getpid.c
+++ b/libgloss/getpid.c
@@ -18,8 +18,7 @@
  * getpid -- only one process, so just return 1.
  */
 int
-_DEFUN (getpid, (),
-        )
+getpid (void)
 {
   return __MYPID;
 }
diff --git a/libgloss/isatty.c b/libgloss/isatty.c
index 675d99b..2b54861 100644
--- a/libgloss/isatty.c
+++ b/libgloss/isatty.c
@@ -20,8 +20,7 @@
  *           serial port, we'll say yes, return a 1.
  */
 int
-_DEFUN (isatty, (fd),
-       int fd)
+isatty (int fd)
 {
   return (1);
 }
diff --git a/libgloss/kill.c b/libgloss/kill.c
index ada45f6..a0eaee7 100644
--- a/libgloss/kill.c
+++ b/libgloss/kill.c
@@ -18,8 +18,7 @@
  * kill -- go out via exit...
  */
 int
-_DEFUN (kill, (pid, sig),
-        int pid,
+kill (int pid,
         int sig)
 {
   if(pid == __MYPID)
diff --git a/libgloss/libnosys/_exit.c b/libgloss/libnosys/_exit.c
index 44d845b..731dea7 100644
--- a/libgloss/libnosys/_exit.c
+++ b/libgloss/libnosys/_exit.c
@@ -6,8 +6,7 @@
 #include <_syslist.h>
 
 void
-_DEFUN (_exit, (rc),
-	int rc)
+_exit (int rc)
 {
   /* Default stub just causes a divide by 0 exception.  */
   int x = rc / INT_MAX;
diff --git a/libgloss/libnosys/chown.c b/libgloss/libnosys/chown.c
index 0ddb85d..faea82b 100644
--- a/libgloss/libnosys/chown.c
+++ b/libgloss/libnosys/chown.c
@@ -12,8 +12,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_chown, (path, owner, group),
-        const char *path,
+_chown (const char *path,
         uid_t owner,
         gid_t group)
 {
diff --git a/libgloss/libnosys/close.c b/libgloss/libnosys/close.c
index b759b86..8dc3e8b 100644
--- a/libgloss/libnosys/close.c
+++ b/libgloss/libnosys/close.c
@@ -11,8 +11,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_close, (fildes),
-        int fildes)
+_close (int fildes)
 {
   errno = ENOSYS;
   return -1;
diff --git a/libgloss/libnosys/execve.c b/libgloss/libnosys/execve.c
index a93641a..950a43c 100644
--- a/libgloss/libnosys/execve.c
+++ b/libgloss/libnosys/execve.c
@@ -11,8 +11,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_execve, (name, argv, env),
-        char  *name,
+_execve (char  *name,
         char **argv,
         char **env)
 {
diff --git a/libgloss/libnosys/fork.c b/libgloss/libnosys/fork.c
index 5fbf68b..c4724a3 100644
--- a/libgloss/libnosys/fork.c
+++ b/libgloss/libnosys/fork.c
@@ -11,8 +11,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_fork, (),
-        void)
+_fork (void)
 {
   errno = ENOSYS;
   return -1;
diff --git a/libgloss/libnosys/fstat.c b/libgloss/libnosys/fstat.c
index d04b407..c85b9f2 100644
--- a/libgloss/libnosys/fstat.c
+++ b/libgloss/libnosys/fstat.c
@@ -13,8 +13,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_fstat, (fildes, st),
-        int          fildes,
+_fstat (int          fildes,
         struct stat *st)
 {
   errno = ENOSYS;
diff --git a/libgloss/libnosys/getpid.c b/libgloss/libnosys/getpid.c
index 9ed416c..f8d451e 100644
--- a/libgloss/libnosys/getpid.c
+++ b/libgloss/libnosys/getpid.c
@@ -11,8 +11,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_getpid, (),
-        void)
+_getpid (void)
 {
   errno = ENOSYS;
   return -1;
diff --git a/libgloss/libnosys/gettod.c b/libgloss/libnosys/gettod.c
index 5e0b2db..2b5354e 100644
--- a/libgloss/libnosys/gettod.c
+++ b/libgloss/libnosys/gettod.c
@@ -15,8 +15,7 @@ extern int errno;
 struct timeval;
 
 int
-_DEFUN (_gettimeofday, (ptimeval, ptimezone),
-        struct timeval  *ptimeval,
+_gettimeofday (struct timeval  *ptimeval,
         void *ptimezone)
 {
   errno = ENOSYS;
diff --git a/libgloss/libnosys/isatty.c b/libgloss/libnosys/isatty.c
index d93e177..a175bf9 100644
--- a/libgloss/libnosys/isatty.c
+++ b/libgloss/libnosys/isatty.c
@@ -11,8 +11,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_isatty, (file),
-        int file)
+_isatty (int file)
 {
   errno = ENOSYS;
   return 0;
diff --git a/libgloss/libnosys/kill.c b/libgloss/libnosys/kill.c
index c583287..27c4f8c 100644
--- a/libgloss/libnosys/kill.c
+++ b/libgloss/libnosys/kill.c
@@ -11,8 +11,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_kill, (pid, sig),
-        int pid,
+_kill (int pid,
         int sig)
 {
   errno = ENOSYS;
diff --git a/libgloss/libnosys/link.c b/libgloss/libnosys/link.c
index b27b5bc..0bae1ef 100644
--- a/libgloss/libnosys/link.c
+++ b/libgloss/libnosys/link.c
@@ -11,8 +11,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_link, (existing, new),
-        char *existing,
+_link (char *existing,
         char *new)
 {
   errno = ENOSYS;
diff --git a/libgloss/libnosys/lseek.c b/libgloss/libnosys/lseek.c
index f583a14..fcc7be4 100644
--- a/libgloss/libnosys/lseek.c
+++ b/libgloss/libnosys/lseek.c
@@ -11,8 +11,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_lseek, (file, ptr, dir),
-        int   file,
+_lseek (int   file,
         int   ptr,
         int   dir)
 {
diff --git a/libgloss/libnosys/open.c b/libgloss/libnosys/open.c
index ee8bece..0c864a5 100644
--- a/libgloss/libnosys/open.c
+++ b/libgloss/libnosys/open.c
@@ -11,8 +11,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_open, (file, flags, mode),
-        char *file,
+_open (char *file,
         int   flags,
         int   mode)
 {
diff --git a/libgloss/libnosys/read.c b/libgloss/libnosys/read.c
index 0ff3a9a..cfc2812 100644
--- a/libgloss/libnosys/read.c
+++ b/libgloss/libnosys/read.c
@@ -11,8 +11,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_read, (file, ptr, len),
-        int   file,
+_read (int   file,
         char *ptr,
         int   len)
 {
diff --git a/libgloss/libnosys/readlink.c b/libgloss/libnosys/readlink.c
index 00f3f89..014c956 100644
--- a/libgloss/libnosys/readlink.c
+++ b/libgloss/libnosys/readlink.c
@@ -12,8 +12,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_readlink, (path, buf, bufsize),
-        const char *path,
+_readlink (const char *path,
         char *buf,
         size_t bufsize)
 {
diff --git a/libgloss/libnosys/stat.c b/libgloss/libnosys/stat.c
index 9fa7003..734f672 100644
--- a/libgloss/libnosys/stat.c
+++ b/libgloss/libnosys/stat.c
@@ -13,8 +13,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_stat, (file, st),
-        const char  *file,
+_stat (const char  *file,
         struct stat *st)
 {
   errno = ENOSYS;
diff --git a/libgloss/libnosys/symlink.c b/libgloss/libnosys/symlink.c
index cf7a158..bebfbba 100644
--- a/libgloss/libnosys/symlink.c
+++ b/libgloss/libnosys/symlink.c
@@ -11,8 +11,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_symlink, (path1, path2),
-        const char *path1,
+_symlink (const char *path1,
         const char *path2)
 {
   errno = ENOSYS;
diff --git a/libgloss/libnosys/times.c b/libgloss/libnosys/times.c
index f205e50..908cd8d 100644
--- a/libgloss/libnosys/times.c
+++ b/libgloss/libnosys/times.c
@@ -12,8 +12,7 @@ extern int errno;
 #include "warning.h"
 
 clock_t
-_DEFUN (_times, (buf),
-        struct tms *buf)
+_times (struct tms *buf)
 {
   errno = ENOSYS;
   return -1;
diff --git a/libgloss/libnosys/unlink.c b/libgloss/libnosys/unlink.c
index c543709..3414bf8 100644
--- a/libgloss/libnosys/unlink.c
+++ b/libgloss/libnosys/unlink.c
@@ -11,8 +11,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_unlink, (name),
-        char *name)
+_unlink (char *name)
 {
   errno = ENOSYS;
   return -1;
diff --git a/libgloss/libnosys/wait.c b/libgloss/libnosys/wait.c
index 2a785be..029dcbc 100644
--- a/libgloss/libnosys/wait.c
+++ b/libgloss/libnosys/wait.c
@@ -11,8 +11,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_wait, (status),
-        int  *status)
+_wait (int  *status)
 {
   errno = ENOSYS;
   return -1;
diff --git a/libgloss/libnosys/write.c b/libgloss/libnosys/write.c
index 0ada770..33d727b 100644
--- a/libgloss/libnosys/write.c
+++ b/libgloss/libnosys/write.c
@@ -11,8 +11,7 @@ extern int errno;
 #include "warning.h"
 
 int
-_DEFUN (_write, (file, ptr, len),
-        int   file,
+_write (int   file,
         char *ptr,
         int   len)
 {
diff --git a/libgloss/lm32/isatty.c b/libgloss/lm32/isatty.c
index 69833fa..d90b4df 100644
--- a/libgloss/lm32/isatty.c
+++ b/libgloss/lm32/isatty.c
@@ -33,8 +33,7 @@
  *           other files are not. 
  */
 int
-_DEFUN (_isatty, (fd),
-       int fd)
+_isatty (int fd)
 {
   if ((fd == 0) || (fd == 1) || (fd == 2))
     return 1;
diff --git a/libgloss/lseek.c b/libgloss/lseek.c
index 42a28d9..2fde60d 100644
--- a/libgloss/lseek.c
+++ b/libgloss/lseek.c
@@ -20,8 +20,7 @@
  * lseek --  Since a serial port is non-seekable, we return an error.
  */
 off_t
-_DEFUN (lseek, (fd,  offset, whence),
-       int fd,
+lseek (int fd,
        off_t offset,
        int whence)
 {
diff --git a/libgloss/m68k/idp-outbyte.c b/libgloss/m68k/idp-outbyte.c
index a95dc0c..761d679 100644
--- a/libgloss/m68k/idp-outbyte.c
+++ b/libgloss/m68k/idp-outbyte.c
@@ -32,8 +32,7 @@
  *           to channel A.
  */
 static void
-_DEFUN (raw_outbyte, (byte),
-	char byte)
+raw_outbyte (char byte)
 {
   /* First, wait for the UART to finish clocking out the last
      character we sent, if any.  Then, give it the next character to
@@ -64,8 +63,7 @@ _DEFUN (raw_outbyte, (byte),
  *      latter we put in libidp.a, which is selected by idp.ld.
  */
 void
-_DEFUN (outbyte, (byte),
-        char byte)
+outbyte (char byte)
 {
 #ifdef GDB_MONITOR_OUTPUT
   raw_outbyte (0x0f);
diff --git a/libgloss/m68k/mc68ec.c b/libgloss/m68k/mc68ec.c
index d5ee9b5..76e737f 100644
--- a/libgloss/m68k/mc68ec.c
+++ b/libgloss/m68k/mc68ec.c
@@ -25,8 +25,7 @@
  *          prompt. It can be restarted from there.
  */
 void
-_DEFUN (_exit, (status),
-	int_status)
+_exit (int_status)
 {
   /* Use `i' constraint to get proper immediate-operand syntax for
      target assembler configuration.  */
@@ -38,8 +37,7 @@ _DEFUN (_exit, (status),
  *          use the timer, but I'm waiting for docs. (sigh)
  */
 void
-_DEFUN (delay, (num),
-        int num)
+delay (int num)
 {
   while (num--)
     {
diff --git a/libgloss/mcore/close.c b/libgloss/mcore/close.c
index b94cb60..0a9f811 100644
--- a/libgloss/mcore/close.c
+++ b/libgloss/mcore/close.c
@@ -18,8 +18,7 @@
  * close -- We don't need to do anything, but pretend we did.
  */
 int
-_DEFUN (_close ,(fd),
-       int fd)
+_close  (int fd)
 {
   return (0);
 }
diff --git a/libgloss/mcore/cmb-exit.c b/libgloss/mcore/cmb-exit.c
index 0e1de85..84703eb 100644
--- a/libgloss/mcore/cmb-exit.c
+++ b/libgloss/mcore/cmb-exit.c
@@ -18,8 +18,7 @@
  * _exit --  Just cause a breakpoint so user can see why we exited.
  */
 void
-_DEFUN (_exit, (val),
-       int val)
+_exit (int val)
 {
     while (1) {
 	asm("bkpt");
diff --git a/libgloss/mcore/cmb-inbyte.c b/libgloss/mcore/cmb-inbyte.c
index 839ffe6..9bfbbde 100644
--- a/libgloss/mcore/cmb-inbyte.c
+++ b/libgloss/mcore/cmb-inbyte.c
@@ -15,8 +15,7 @@
 #include <_ansi.h>
 
 int
-_DEFUN (inbyte, (),
-	void)
+inbyte (void)
 
 {
     return -1;
diff --git a/libgloss/mcore/cmb-outbyte.c b/libgloss/mcore/cmb-outbyte.c
index ea2aaef..ea31cc5 100644
--- a/libgloss/mcore/cmb-outbyte.c
+++ b/libgloss/mcore/cmb-outbyte.c
@@ -33,8 +33,7 @@
  * outbyte -- send a byte to the UART.
  */
 void
-_DEFUN (outbyte, (ch),
-	char ch)
+outbyte (char ch)
 {
     while (!(*SRREG & TRDY))
 	;
diff --git a/libgloss/mcore/fstat.c b/libgloss/mcore/fstat.c
index 6a2323a..671f56a 100644
--- a/libgloss/mcore/fstat.c
+++ b/libgloss/mcore/fstat.c
@@ -19,8 +19,7 @@
  * fstat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (_fstat, (fd, buf),
-       int fd,
+_fstat (int fd,
        struct stat *buf)
 {
   buf->st_mode = S_IFCHR;	/* Always pretend to be a tty */
diff --git a/libgloss/mcore/getpid.c b/libgloss/mcore/getpid.c
index eee2ac0..cc9e857 100644
--- a/libgloss/mcore/getpid.c
+++ b/libgloss/mcore/getpid.c
@@ -18,8 +18,7 @@
  * getpid -- only one process, so just return 1.
  */
 int
-_DEFUN (_getpid, (),
-        )
+_getpid (void)
 {
   return __MYPID;
 }
diff --git a/libgloss/mcore/kill.c b/libgloss/mcore/kill.c
index 8883c8e..833fe89 100644
--- a/libgloss/mcore/kill.c
+++ b/libgloss/mcore/kill.c
@@ -18,8 +18,7 @@
  * kill -- go out via exit...
  */
 int
-_DEFUN (_kill, (pid, sig),
-        int pid,
+_kill (int pid,
         int sig)
 {
   if(pid == __MYPID)
diff --git a/libgloss/mcore/lseek.c b/libgloss/mcore/lseek.c
index 423e11e..dc419c7 100644
--- a/libgloss/mcore/lseek.c
+++ b/libgloss/mcore/lseek.c
@@ -20,8 +20,7 @@
  * lseek --  Since a serial port is non-seekable, we return an error.
  */
 off_t
-_DEFUN (_lseek, (fd,  offset, whence),
-       int fd,
+_lseek (int fd,
        off_t offset,
        int whence)
 {
diff --git a/libgloss/mcore/open.c b/libgloss/mcore/open.c
index 6b816e8..fdc1b30 100644
--- a/libgloss/mcore/open.c
+++ b/libgloss/mcore/open.c
@@ -20,8 +20,7 @@
  *         we return an error.
  */
 int
-_DEFUN (_open, (buf, flags, mode),
-       const char *buf,
+_open (const char *buf,
        int flags,
        int mode)
 {
diff --git a/libgloss/mcore/print.c b/libgloss/mcore/print.c
index d0d2bce..f5d0dba 100644
--- a/libgloss/mcore/print.c
+++ b/libgloss/mcore/print.c
@@ -18,8 +18,7 @@
  * print -- do a raw print of a string
  */ 
 void
-_DEFUN (_print, (ptr),
-char *ptr)
+_print (char *ptr)
 {
   while (*ptr) {
     outbyte (*ptr++);
diff --git a/libgloss/mcore/putnum.c b/libgloss/mcore/putnum.c
index 2e37c09..10e298b 100644
--- a/libgloss/mcore/putnum.c
+++ b/libgloss/mcore/putnum.c
@@ -18,8 +18,7 @@
  * putnum -- print a 32 bit number in hex
  */
 void
-_DEFUN (_putnum, (num),
-	unsigned int num)
+_putnum (unsigned int num)
 {
   char  buf[9];
   int   cnt;
diff --git a/libgloss/mcore/raise.c b/libgloss/mcore/raise.c
index 6657aa6..e392077 100644
--- a/libgloss/mcore/raise.c
+++ b/libgloss/mcore/raise.c
@@ -15,8 +15,7 @@
 #include "glue.h"
 
 int
-_DEFUN (_raise, (sig),
-	int sig)
+_raise (int sig)
 {
   return _kill (_getpid (), sig);
 }
diff --git a/libgloss/mcore/read.c b/libgloss/mcore/read.c
index d97d98d..d7c5670 100644
--- a/libgloss/mcore/read.c
+++ b/libgloss/mcore/read.c
@@ -21,8 +21,7 @@ extern char inbyte (void);
  *          we only have stdin.
  */
 int
-_DEFUN (_read, (fd, buf, nbytes),
-       int fd,
+_read (int fd,
        char *buf,
        int nbytes)
 {
diff --git a/libgloss/mcore/stat.c b/libgloss/mcore/stat.c
index d07042a..1e16e0e 100644
--- a/libgloss/mcore/stat.c
+++ b/libgloss/mcore/stat.c
@@ -20,8 +20,7 @@
  * stat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (_stat, (path, buf),
-       const char *path,
+_stat (const char *path,
        struct stat *buf)
 {
   errno = EIO;
diff --git a/libgloss/mcore/unlink.c b/libgloss/mcore/unlink.c
index 16dda14..9cbcfc5 100644
--- a/libgloss/mcore/unlink.c
+++ b/libgloss/mcore/unlink.c
@@ -20,8 +20,7 @@
  *           we just return an error.
  */
 int
-_DEFUN (_unlink, (path),
-        char * path)
+_unlink (char * path)
 {
   errno = EIO;
   return (-1);
diff --git a/libgloss/mcore/write.c b/libgloss/mcore/write.c
index 189ea62..87dca10 100644
--- a/libgloss/mcore/write.c
+++ b/libgloss/mcore/write.c
@@ -22,8 +22,7 @@ extern int  _EXFUN (outbyte, (char x));
  *          open will only return an error.
  */
 int
-_DEFUN (_write, (fd, buf, nbytes),
-       int fd,
+_write (int fd,
        char *buf,
        int nbytes)
 {
diff --git a/libgloss/moxie/fstat.c b/libgloss/moxie/fstat.c
index 38dd07b..78dd932 100644
--- a/libgloss/moxie/fstat.c
+++ b/libgloss/moxie/fstat.c
@@ -19,8 +19,7 @@
  * fstat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (_fstat, (fd, buf),
-       int fd,
+_fstat (int fd,
        struct stat *buf)
 {
   buf->st_mode = S_IFCHR;	/* Always pretend to be a tty */
diff --git a/libgloss/moxie/getpid.c b/libgloss/moxie/getpid.c
index 957eee7..93704ce 100644
--- a/libgloss/moxie/getpid.c
+++ b/libgloss/moxie/getpid.c
@@ -18,8 +18,7 @@
  * getpid -- only one process, so just return 1.
  */
 int
-_DEFUN (_getpid, (),
-        )
+_getpid (void)
 {
   return __MYPID;
 }
diff --git a/libgloss/moxie/isatty.c b/libgloss/moxie/isatty.c
index 73ade07..f986aa7 100644
--- a/libgloss/moxie/isatty.c
+++ b/libgloss/moxie/isatty.c
@@ -20,8 +20,7 @@
  *           serial port, we'll say yes and return a 1.
  */
 int
-_DEFUN (_isatty, (fd),
-       int fd)
+_isatty (int fd)
 {
   return (1);
 }
diff --git a/libgloss/moxie/kill.c b/libgloss/moxie/kill.c
index d602829..623f158 100644
--- a/libgloss/moxie/kill.c
+++ b/libgloss/moxie/kill.c
@@ -20,8 +20,7 @@ extern void _exit (int) __attribute__((__noreturn__));
  * kill -- go out via exit...
  */
 int
-_DEFUN (_kill, (pid, sig),
-        int pid,
+_kill (int pid,
         int sig)
 {
   if(pid == __MYPID)
diff --git a/libgloss/moxie/print.c b/libgloss/moxie/print.c
index a20743a..1857258 100644
--- a/libgloss/moxie/print.c
+++ b/libgloss/moxie/print.c
@@ -18,8 +18,7 @@
  * print -- do a raw print of a string
  */ 
 void
-_DEFUN (_print, (ptr),
-char *ptr)
+_print (char *ptr)
 {
   while (*ptr) {
     outbyte (*ptr++);
diff --git a/libgloss/moxie/putnum.c b/libgloss/moxie/putnum.c
index f5bac1f..0f7e894 100644
--- a/libgloss/moxie/putnum.c
+++ b/libgloss/moxie/putnum.c
@@ -18,8 +18,7 @@
  * putnum -- print a 32 bit number in hex
  */
 void
-_DEFUN (_putnum, (num),
-	unsigned int num)
+_putnum (unsigned int num)
 {
   char  buf[9];
   int   cnt;
diff --git a/libgloss/moxie/qemu-time.c b/libgloss/moxie/qemu-time.c
index 1abd5a9..0049c24 100644
--- a/libgloss/moxie/qemu-time.c
+++ b/libgloss/moxie/qemu-time.c
@@ -40,8 +40,7 @@
  * _times -- FIXME
  */
 int
-_DEFUN (_times, _times (buf),
-	struct tms *buf)
+_times (struct tms *buf)
 {
   errno = EINVAL;
   return (-1);
@@ -70,8 +69,7 @@ rtc_write (unsigned char reg, unsigned char val)
  * time -- return current time in seconds.
  */
 time_t
-_DEFUN (time, time (t),
-	time_t *t)
+time (time_t *t)
 {
   struct tm tm;
   time_t ret;
@@ -100,8 +98,7 @@ _DEFUN (time, time (t),
  * return the microseconds.
  */
 int
-_DEFUN (_gettimeofday, _gettimeofday (tv, tz),
-	struct timeval *tv,
+_gettimeofday (struct timeval *tv,
 	void *tzvp)
 {
   struct timezone *tz = tzvp;
diff --git a/libgloss/moxie/sim-lseek.S b/libgloss/moxie/sim-lseek.S
index 5e5493c..86fb675 100644
--- a/libgloss/moxie/sim-lseek.S
+++ b/libgloss/moxie/sim-lseek.S
@@ -22,8 +22,7 @@
  * an error.
  */
 off_t
-_DEFUN (_lseek, (fd,  offset, whence),
-       int fd,
+_lseek (int fd,
        off_t offset,
        int whence)
 {
diff --git a/libgloss/moxie/sim-lseek.c b/libgloss/moxie/sim-lseek.c
index d22d722..dacd769 100644
--- a/libgloss/moxie/sim-lseek.c
+++ b/libgloss/moxie/sim-lseek.c
@@ -22,8 +22,7 @@
  * an error.
  */
 off_t
-_DEFUN (_lseek, (fd,  offset, whence),
-       int fd,
+_lseek (int fd,
        off_t offset,
        int whence)
 {
diff --git a/libgloss/moxie/sim-time.c b/libgloss/moxie/sim-time.c
index d3f43d3..53793bf 100644
--- a/libgloss/moxie/sim-time.c
+++ b/libgloss/moxie/sim-time.c
@@ -37,8 +37,7 @@ extern time_t _sim_time (void) __asm__("_sim_time");
  * time -- return current time in seconds.
  */
 time_t
-_DEFUN (time, time (t),
-	time_t *t)
+time (time_t *t)
 {
   time_t ret = _sim_time ();
 
@@ -52,8 +51,7 @@ _DEFUN (time, time (t),
  * _times -- no clock, so return an error.
  */
 int
-_DEFUN (_times, _times (buf),
-	struct tms *buf)
+_times (struct tms *buf)
 {
   errno = EINVAL;
   return (-1);
@@ -64,8 +62,7 @@ _DEFUN (_times, _times (buf),
  * microseconds.
  */
 int
-_DEFUN (_gettimeofday, _gettimeofday (tv, tz),
-	struct timeval *tv,
+_gettimeofday (struct timeval *tv,
 	void *tzvp)
 {
   struct timezone *tz = tzvp;
diff --git a/libgloss/moxie/stat.c b/libgloss/moxie/stat.c
index 01a9582..c80e8d3 100644
--- a/libgloss/moxie/stat.c
+++ b/libgloss/moxie/stat.c
@@ -20,8 +20,7 @@
  * stat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (_stat, (path, buf),
-       const char *path,
+_stat (const char *path,
        struct stat *buf)
 {
   errno = EIO;
diff --git a/libgloss/open.c b/libgloss/open.c
index 90787b1..a0eb171 100644
--- a/libgloss/open.c
+++ b/libgloss/open.c
@@ -20,8 +20,7 @@
  *         we return an error.
  */
 int
-_DEFUN (open, (buf, flags, mode),
-       const char *buf,
+open (const char *buf,
        int flags,
        int mode)
 {
diff --git a/libgloss/print.c b/libgloss/print.c
index 8f78ff2..76d543b 100644
--- a/libgloss/print.c
+++ b/libgloss/print.c
@@ -18,8 +18,7 @@
  * print -- do a raw print of a string
  */ 
 void
-_DEFUN (print, (ptr),
-char *ptr)
+print (char *ptr)
 {
   while (*ptr) {
     outbyte (*ptr++);
diff --git a/libgloss/putnum.c b/libgloss/putnum.c
index 842e10f..c368c41 100644
--- a/libgloss/putnum.c
+++ b/libgloss/putnum.c
@@ -18,8 +18,7 @@
  * putnum -- print a 32 bit number in hex
  */
 void
-_DEFUN (putnum, (num),
-	unsigned int num)
+putnum (unsigned int num)
 {
   char  buf[9];
   int   cnt;
diff --git a/libgloss/read.c b/libgloss/read.c
index 507c980..24108ce 100644
--- a/libgloss/read.c
+++ b/libgloss/read.c
@@ -21,8 +21,7 @@ extern char inbyte (void);
  *          we only have stdin.
  */
 int
-_DEFUN (read, (fd, buf, nbytes),
-       int fd,
+read (int fd,
        char *buf,
        int nbytes)
 {
diff --git a/libgloss/spu/getpid.c b/libgloss/spu/getpid.c
index ff2d820..8936172 100644
--- a/libgloss/spu/getpid.c
+++ b/libgloss/spu/getpid.c
@@ -31,7 +31,7 @@ Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
 */
 
 int
-getpid ()
+getpid (void)
 {
 	return (1);
 }
diff --git a/libgloss/stat.c b/libgloss/stat.c
index 5957645..4d63128 100644
--- a/libgloss/stat.c
+++ b/libgloss/stat.c
@@ -20,8 +20,7 @@
  * stat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (stat, (path, buf),
-       const char *path,
+stat (const char *path,
        struct stat *buf)
 {
   errno = EIO;
diff --git a/libgloss/tic6x/getpid.c b/libgloss/tic6x/getpid.c
index 3c1a7b8..912ca18 100644
--- a/libgloss/tic6x/getpid.c
+++ b/libgloss/tic6x/getpid.c
@@ -19,8 +19,7 @@
  * getpid -- only one process, so just return 1.
  */
 int
-_DEFUN (getpid, (),
-        )
+getpid (void)
 {
   return __MYPID;
 }
diff --git a/libgloss/tic6x/kill.c b/libgloss/tic6x/kill.c
index db5018c..98cd3c4 100644
--- a/libgloss/tic6x/kill.c
+++ b/libgloss/tic6x/kill.c
@@ -19,8 +19,7 @@
  * kill -- go out via exit...
  */
 int
-_DEFUN (kill, (pid, sig),
-        int pid,
+kill (int pid,
         int sig)
 {
   if(pid == __MYPID)
diff --git a/libgloss/unlink.c b/libgloss/unlink.c
index 15ea7e8..76c1a4f 100644
--- a/libgloss/unlink.c
+++ b/libgloss/unlink.c
@@ -20,8 +20,7 @@
  *           we just return an error.
  */
 int
-_DEFUN (unlink, (path),
-        char * path)
+unlink (char * path)
 {
   errno = EIO;
   return (-1);
diff --git a/libgloss/write.c b/libgloss/write.c
index 69f452c..4b25cfc 100644
--- a/libgloss/write.c
+++ b/libgloss/write.c
@@ -22,8 +22,7 @@ extern int  _EXFUN (outbyte, (char x));
  *          open will only return an error.
  */
 int
-_DEFUN (write, (fd, buf, nbytes),
-       int fd,
+write (int fd,
        char *buf,
        int nbytes)
 {
diff --git a/libgloss/xc16x/misc.c b/libgloss/xc16x/misc.c
index 2eb951a..d965501 100644
--- a/libgloss/xc16x/misc.c
+++ b/libgloss/xc16x/misc.c
@@ -17,21 +17,19 @@
 /* _raise(), getpid(), and kill() are required by abort().
    getpid/kill are prefixed with '_' because of MISSING_SYSCALL_NAMES.  */
 
-int _DEFUN(_raise,(sig),
-	   int sig)
+int _raise (int sig)
 {
   errno = ENOSYS;
   return -1;
 }
 
-int _DEFUN(_getpid,(),)
+int _getpid (void)
 {
   errno = ENOSYS;
   return -1;
 }
 
-int _DEFUN(_kill,(pid, sig),
-	   int pid,
+int _kill (int pid,
 	   int sig)
 {
   errno = ENOSYS;
diff --git a/libgloss/xstormy16/close.c b/libgloss/xstormy16/close.c
index 5fcfbf5..2b50e64 100644
--- a/libgloss/xstormy16/close.c
+++ b/libgloss/xstormy16/close.c
@@ -18,8 +18,7 @@
  * close -- We don't need to do anything, but pretend we did.
  */
 int
-_DEFUN (_close ,(fd),
-       int fd)
+_close  (int fd)
 {
   return (0);
 }
diff --git a/libgloss/xstormy16/fstat.c b/libgloss/xstormy16/fstat.c
index 2926cca..b962036 100644
--- a/libgloss/xstormy16/fstat.c
+++ b/libgloss/xstormy16/fstat.c
@@ -19,8 +19,7 @@
  * fstat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (_fstat, (fd, buf),
-       int fd,
+_fstat (int fd,
        struct stat *buf)
 {
   buf->st_mode = S_IFCHR;	/* Always pretend to be a tty */
diff --git a/libgloss/xstormy16/getpid.c b/libgloss/xstormy16/getpid.c
index 0f081a1..e49fde4 100644
--- a/libgloss/xstormy16/getpid.c
+++ b/libgloss/xstormy16/getpid.c
@@ -18,8 +18,7 @@
  * getpid -- only one process, so just return 1.
  */
 int
-_DEFUN (_getpid, (),
-        )
+_getpid (void)
 {
   return __MYPID;
 }
diff --git a/libgloss/xstormy16/isatty.c b/libgloss/xstormy16/isatty.c
index 0e92a9f..f7d8fa0 100644
--- a/libgloss/xstormy16/isatty.c
+++ b/libgloss/xstormy16/isatty.c
@@ -20,8 +20,7 @@
  *           serial port, we'll say yes and return a 1.
  */
 int
-_DEFUN (_isatty, (fd),
-       int fd)
+_isatty (int fd)
 {
   return (1);
 }
diff --git a/libgloss/xstormy16/kill.c b/libgloss/xstormy16/kill.c
index 2374dc2..f5ccd21 100644
--- a/libgloss/xstormy16/kill.c
+++ b/libgloss/xstormy16/kill.c
@@ -18,8 +18,7 @@
  * kill -- go out via exit...
  */
 int
-_DEFUN (_kill, (pid, sig),
-        int pid,
+_kill (int pid,
         int sig)
 {
   if(pid == __MYPID)
diff --git a/libgloss/xstormy16/lseek.c b/libgloss/xstormy16/lseek.c
index 11dbab0..c006657 100644
--- a/libgloss/xstormy16/lseek.c
+++ b/libgloss/xstormy16/lseek.c
@@ -20,8 +20,7 @@
  * lseek --  Since a serial port is non-seekable, we return an error.
  */
 off_t
-_DEFUN (_lseek, (fd,  offset, whence),
-       int fd,
+_lseek (int fd,
        off_t offset,
        int whence)
 {
diff --git a/libgloss/xstormy16/open.c b/libgloss/xstormy16/open.c
index 600f929..f96484c 100644
--- a/libgloss/xstormy16/open.c
+++ b/libgloss/xstormy16/open.c
@@ -20,8 +20,7 @@
  *         we return an error.
  */
 int
-_DEFUN (_open, (buf, flags, mode),
-       const char *buf,
+_open (const char *buf,
        int flags,
        int mode)
 {
diff --git a/libgloss/xstormy16/stat.c b/libgloss/xstormy16/stat.c
index b80b83c..7d089ed 100644
--- a/libgloss/xstormy16/stat.c
+++ b/libgloss/xstormy16/stat.c
@@ -20,8 +20,7 @@
  * stat -- Since we have no file system, we just return an error.
  */
 int
-_DEFUN (_stat, (path, buf),
-       const char *path,
+_stat (const char *path,
        struct stat *buf)
 {
   errno = EIO;
diff --git a/libgloss/xstormy16/unlink.c b/libgloss/xstormy16/unlink.c
index 1c56663..10180ac 100644
--- a/libgloss/xstormy16/unlink.c
+++ b/libgloss/xstormy16/unlink.c
@@ -20,8 +20,7 @@
  *           we just return an error.
  */
 int
-_DEFUN (_unlink, (path),
-        char * path)
+_unlink (char * path)
 {
   errno = EIO;
   return (-1);
diff --git a/newlib/libc/argz/argz_add.c b/newlib/libc/argz/argz_add.c
index 3194f08..a1a8d3d 100644
--- a/newlib/libc/argz/argz_add.c
+++ b/newlib/libc/argz/argz_add.c
@@ -11,8 +11,7 @@
 #include <stdlib.h>
 
 error_t
-_DEFUN (argz_add, (argz, argz_len, str),
-       char **argz,
+argz_add (char **argz,
        size_t *argz_len,
        const char *str)
 {
diff --git a/newlib/libc/argz/argz_add_sep.c b/newlib/libc/argz/argz_add_sep.c
index 92c7371..f2964e6 100644
--- a/newlib/libc/argz/argz_add_sep.c
+++ b/newlib/libc/argz/argz_add_sep.c
@@ -11,8 +11,7 @@
 #include <argz.h>
 
 error_t
-_DEFUN (argz_add_sep, (argz, argz_len, str, sep),
-       char **argz,
+argz_add_sep (char **argz,
        size_t *argz_len,
        const char *str,
        int sep)
diff --git a/newlib/libc/argz/argz_append.c b/newlib/libc/argz/argz_append.c
index a84f8e0..de0cc82 100644
--- a/newlib/libc/argz/argz_append.c
+++ b/newlib/libc/argz/argz_append.c
@@ -11,8 +11,7 @@
 #include <stdlib.h>
 
 error_t
-_DEFUN (argz_append, (argz, argz_len, buf, buf_len),
-       char **argz,
+argz_append (char **argz,
        size_t *argz_len,
        const char *buf,
        size_t buf_len)
diff --git a/newlib/libc/argz/argz_count.c b/newlib/libc/argz/argz_count.c
index 33d0eec..4c0007c 100644
--- a/newlib/libc/argz/argz_count.c
+++ b/newlib/libc/argz/argz_count.c
@@ -10,8 +10,7 @@
 #include <sys/types.h>
 
 size_t
-_DEFUN (argz_count, (argz, argz_len), 
-       const char *argz,
+argz_count (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 d4b8b05..4ab622d 100644
--- a/newlib/libc/argz/argz_create.c
+++ b/newlib/libc/argz/argz_create.c
@@ -11,8 +11,7 @@
 #include <stdlib.h>
 
 error_t
-_DEFUN (argz_create, (argv, argz, argz_len),
-       char *const argv[],
+argz_create (char *const argv[],
        char **argz,
        size_t *argz_len)
 {
diff --git a/newlib/libc/argz/argz_create_sep.c b/newlib/libc/argz/argz_create_sep.c
index afff44c..bf578e6 100644
--- a/newlib/libc/argz/argz_create_sep.c
+++ b/newlib/libc/argz/argz_create_sep.c
@@ -11,8 +11,7 @@
 #include <stdlib.h>
 
 error_t
-_DEFUN (argz_create_sep, (string, sep, argz, argz_len),
-       const char *string,
+argz_create_sep (const char *string,
        int sep,
        char **argz,
        size_t *argz_len)
diff --git a/newlib/libc/argz/argz_delete.c b/newlib/libc/argz/argz_delete.c
index a4e1227..aa1fe4c 100644
--- a/newlib/libc/argz/argz_delete.c
+++ b/newlib/libc/argz/argz_delete.c
@@ -11,8 +11,7 @@
 #include <stdlib.h>
 
 error_t
-_DEFUN (argz_delete, (argz, argz_len, entry),
-       char **argz,
+argz_delete (char **argz,
        size_t *argz_len,
        char *entry)
 {
diff --git a/newlib/libc/argz/argz_extract.c b/newlib/libc/argz/argz_extract.c
index 4932de6..e97b769 100644
--- a/newlib/libc/argz/argz_extract.c
+++ b/newlib/libc/argz/argz_extract.c
@@ -9,8 +9,7 @@
 #include <sys/types.h>
 
 void
-_DEFUN (argz_extract, (argz, argz_len, argv),
-       char *argz,
+argz_extract (char *argz,
        size_t argz_len,
        char **argv)
 {
diff --git a/newlib/libc/argz/argz_insert.c b/newlib/libc/argz/argz_insert.c
index 5965e04..abdfeb0 100644
--- a/newlib/libc/argz/argz_insert.c
+++ b/newlib/libc/argz/argz_insert.c
@@ -13,8 +13,7 @@
 #include <stddef.h>
 
 error_t
-_DEFUN (argz_insert, (argz, argz_len, before, entry),
-       char **argz,
+argz_insert (char **argz,
        size_t *argz_len,
        char *before,
        const char *entry)
diff --git a/newlib/libc/argz/argz_next.c b/newlib/libc/argz/argz_next.c
index 3f67221..0d6f21d 100644
--- a/newlib/libc/argz/argz_next.c
+++ b/newlib/libc/argz/argz_next.c
@@ -11,8 +11,7 @@
 #include <stdlib.h>
 
 char *
-_DEFUN (argz_next, (argz, argz_len, entry),
-       char *argz,
+argz_next (char *argz,
        size_t argz_len,
        const char *entry)
 {
diff --git a/newlib/libc/argz/argz_replace.c b/newlib/libc/argz/argz_replace.c
index e6c6ead..f2e0d52 100644
--- a/newlib/libc/argz/argz_replace.c
+++ b/newlib/libc/argz/argz_replace.c
@@ -13,8 +13,7 @@
 #include "buf_findstr.h"
 
 error_t
-_DEFUN (argz_replace, (argz, argz_len, str, with, replace_count),
-       char **argz,
+argz_replace (char **argz,
        size_t *argz_len,
        const char *str,
        const char *with,
diff --git a/newlib/libc/argz/argz_stringify.c b/newlib/libc/argz/argz_stringify.c
index 72895f5..98f6c9b 100644
--- a/newlib/libc/argz/argz_stringify.c
+++ b/newlib/libc/argz/argz_stringify.c
@@ -10,8 +10,7 @@
 #include <sys/types.h>
 
 void
-_DEFUN (argz_stringify, (argz, argz_len, sep),
-       char *argz,
+argz_stringify (char *argz,
        size_t argz_len,
        int sep)
 {
diff --git a/newlib/libc/argz/envz_add.c b/newlib/libc/argz/envz_add.c
index f01d099..60ecf17 100644
--- a/newlib/libc/argz/envz_add.c
+++ b/newlib/libc/argz/envz_add.c
@@ -12,8 +12,7 @@
 #include <envz.h>
 
 error_t
-_DEFUN (envz_add, (envz, envz_len, name, value),
-       char **envz,
+envz_add (char **envz,
        size_t *envz_len,
        const char *name,
        const char *value)
diff --git a/newlib/libc/argz/envz_entry.c b/newlib/libc/argz/envz_entry.c
index bbe3852..869c332 100644
--- a/newlib/libc/argz/envz_entry.c
+++ b/newlib/libc/argz/envz_entry.c
@@ -13,8 +13,7 @@
 #include "buf_findstr.h"
 
 char *
-_DEFUN (envz_entry, (envz, envz_len, name),
-       const char *envz,
+envz_entry (const char *envz,
        size_t envz_len,
        const char *name)
 {
diff --git a/newlib/libc/argz/envz_get.c b/newlib/libc/argz/envz_get.c
index 62d3d0c..9863642 100644
--- a/newlib/libc/argz/envz_get.c
+++ b/newlib/libc/argz/envz_get.c
@@ -13,8 +13,7 @@
 #include "buf_findstr.h"
 
 char *
-_DEFUN (envz_get, (envz, envz_len, name),
-       const char *envz,
+envz_get (const char *envz,
        size_t envz_len,
        const char *name)
 {
diff --git a/newlib/libc/argz/envz_merge.c b/newlib/libc/argz/envz_merge.c
index 9299069..3be7c1f 100644
--- a/newlib/libc/argz/envz_merge.c
+++ b/newlib/libc/argz/envz_merge.c
@@ -12,8 +12,7 @@
 #include <envz.h>
 
 error_t
-_DEFUN (envz_merge, (envz, envz_len, envz2, envz2_len, override),
-       char **envz,
+envz_merge (char **envz,
        size_t *envz_len,
        const char *envz2,
        size_t envz2_len,
diff --git a/newlib/libc/argz/envz_remove.c b/newlib/libc/argz/envz_remove.c
index 2558656..8fc9e8f 100644
--- a/newlib/libc/argz/envz_remove.c
+++ b/newlib/libc/argz/envz_remove.c
@@ -12,8 +12,7 @@
 #include <envz.h>
 
 void
-_DEFUN (envz_remove, (envz, envz_len, name),
-       char **envz,
+envz_remove (char **envz,
        size_t *envz_len,
        const char *name)
 {
diff --git a/newlib/libc/argz/envz_strip.c b/newlib/libc/argz/envz_strip.c
index 857f849..8efa5cb 100644
--- a/newlib/libc/argz/envz_strip.c
+++ b/newlib/libc/argz/envz_strip.c
@@ -12,8 +12,7 @@
 #include <envz.h>
 
 void
-_DEFUN (envz_strip, (envz, envz_len),
-       char **envz,
+envz_strip (char **envz,
        size_t *envz_len)
 {
   char *entry = 0;
diff --git a/newlib/libc/ctype/isalnum.c b/newlib/libc/ctype/isalnum.c
index ebb414c..d926f97 100644
--- a/newlib/libc/ctype/isalnum.c
+++ b/newlib/libc/ctype/isalnum.c
@@ -44,7 +44,7 @@ No OS subroutines are required.
 #undef isalnum
 
 int
-_DEFUN(isalnum,(c),int c)
+isalnum (int c)
 {
 	return(__CTYPE_PTR[c+1] & (_U|_L|_N));
 }
diff --git a/newlib/libc/ctype/isalpha.c b/newlib/libc/ctype/isalpha.c
index 7a737a5..8b8e78a 100644
--- a/newlib/libc/ctype/isalpha.c
+++ b/newlib/libc/ctype/isalpha.c
@@ -43,7 +43,7 @@ No supporting OS subroutines are required.
 
 #undef isalpha
 int
-_DEFUN(isalpha,(c),int c)
+isalpha (int c)
 {
 	return(__CTYPE_PTR[c+1] & (_U|_L));
 }
diff --git a/newlib/libc/ctype/isascii.c b/newlib/libc/ctype/isascii.c
index 71f299f..5adb812 100644
--- a/newlib/libc/ctype/isascii.c
+++ b/newlib/libc/ctype/isascii.c
@@ -44,7 +44,7 @@ No supporting OS subroutines are required.
 #undef isascii
 
 int 
-_DEFUN(isascii,(c),int c)
+isascii (int c)
 {
 	return c >= 0 && c< 128;
 }
diff --git a/newlib/libc/ctype/isblank.c b/newlib/libc/ctype/isblank.c
index e054b94..0ebc219 100644
--- a/newlib/libc/ctype/isblank.c
+++ b/newlib/libc/ctype/isblank.c
@@ -42,7 +42,7 @@ No supporting OS subroutines are required.
 
 #undef isblank
 int
-_DEFUN(isblank,(c),int c)
+isblank (int c)
 {
 	return ((__CTYPE_PTR[c+1] & _B) || (c == '\t'));
 }
diff --git a/newlib/libc/ctype/iscntrl.c b/newlib/libc/ctype/iscntrl.c
index b57b717..ebbdd73 100644
--- a/newlib/libc/ctype/iscntrl.c
+++ b/newlib/libc/ctype/iscntrl.c
@@ -46,7 +46,7 @@ No supporting OS subroutines are required.
 
 #undef iscntrl
 int
-_DEFUN(iscntrl,(c),int c)
+iscntrl (int c)
 {
 	return(__CTYPE_PTR[c+1] & _C);
 }
diff --git a/newlib/libc/ctype/isdigit.c b/newlib/libc/ctype/isdigit.c
index 5cd411b..a5c5119 100644
--- a/newlib/libc/ctype/isdigit.c
+++ b/newlib/libc/ctype/isdigit.c
@@ -45,7 +45,7 @@ No supporting OS subroutines are required.
 
 #undef isdigit
 int
-_DEFUN(isdigit,(c),int c)
+isdigit (int c)
 {
 	return(__CTYPE_PTR[c+1] & _N);
 }
diff --git a/newlib/libc/ctype/islower.c b/newlib/libc/ctype/islower.c
index a6fb889..2b34404 100644
--- a/newlib/libc/ctype/islower.c
+++ b/newlib/libc/ctype/islower.c
@@ -43,7 +43,7 @@ No supporting OS subroutines are required.
 
 #undef islower
 int
-_DEFUN(islower,(c),int c)
+islower (int c)
 {
 	return ((__CTYPE_PTR[c+1] & (_U|_L)) == _L);
 }
diff --git a/newlib/libc/ctype/isprint.c b/newlib/libc/ctype/isprint.c
index afabe8b..e34fbe2 100644
--- a/newlib/libc/ctype/isprint.c
+++ b/newlib/libc/ctype/isprint.c
@@ -57,7 +57,7 @@ No supporting OS subroutines are required.
 
 #undef isgraph
 int
-_DEFUN(isgraph,(c),int c)
+isgraph (int c)
 {
 	return(__CTYPE_PTR[c+1] & (_P|_U|_L|_N));
 }
@@ -65,7 +65,7 @@ _DEFUN(isgraph,(c),int c)
 
 #undef isprint
 int
-_DEFUN(isprint,(c),int c)
+isprint (int c)
 {
 	return(__CTYPE_PTR[c+1] & (_P|_U|_L|_N|_B));
 }
diff --git a/newlib/libc/ctype/ispunct.c b/newlib/libc/ctype/ispunct.c
index 83796dc..9c5a3fc 100644
--- a/newlib/libc/ctype/ispunct.c
+++ b/newlib/libc/ctype/ispunct.c
@@ -45,7 +45,7 @@ No supporting OS subroutines are required.
 
 #undef ispunct
 int
-_DEFUN(ispunct,(c),int c)
+ispunct (int c)
 {
 	return(__CTYPE_PTR[c+1] & _P);
 }
diff --git a/newlib/libc/ctype/isspace.c b/newlib/libc/ctype/isspace.c
index 68dc5cb..0def2c0 100644
--- a/newlib/libc/ctype/isspace.c
+++ b/newlib/libc/ctype/isspace.c
@@ -44,7 +44,7 @@ No supporting OS subroutines are required.
 
 #undef isspace
 int
-_DEFUN(isspace,(c),int c)
+isspace (int c)
 {
 	return(__CTYPE_PTR[c+1] & _S);
 }
diff --git a/newlib/libc/ctype/isupper.c b/newlib/libc/ctype/isupper.c
index 10fa230..aeed383 100644
--- a/newlib/libc/ctype/isupper.c
+++ b/newlib/libc/ctype/isupper.c
@@ -41,7 +41,7 @@ No supporting OS subroutines are required.
 
 #undef isupper
 int
-_DEFUN(isupper,(c),int c)
+isupper (int c)
 {
 	return ((__CTYPE_PTR[c+1] & (_U|_L)) == _U);
 }
diff --git a/newlib/libc/ctype/iswalnum.c b/newlib/libc/ctype/iswalnum.c
index d929543..45273a8 100644
--- a/newlib/libc/ctype/iswalnum.c
+++ b/newlib/libc/ctype/iswalnum.c
@@ -37,7 +37,7 @@ No supporting OS subroutines are required.
 #include <wctype.h>
 
 int
-_DEFUN(iswalnum,(c),wint_t c)
+iswalnum (wint_t c)
 {
   return (iswalpha (c) || iswdigit (c));
 }
diff --git a/newlib/libc/ctype/iswalpha.c b/newlib/libc/ctype/iswalpha.c
index 973aa09..2906cd1 100644
--- a/newlib/libc/ctype/iswalpha.c
+++ b/newlib/libc/ctype/iswalpha.c
@@ -74,7 +74,7 @@ No supporting OS subroutines are required.
 #endif /* _MB_CAPABLE */
 
 int
-_DEFUN(iswalpha,(c), wint_t c)
+iswalpha (wint_t c)
 {
 #ifdef _MB_CAPABLE
   unsigned const char *table;
diff --git a/newlib/libc/ctype/iswblank.c b/newlib/libc/ctype/iswblank.c
index b83683d9..ef91572 100644
--- a/newlib/libc/ctype/iswblank.c
+++ b/newlib/libc/ctype/iswblank.c
@@ -69,7 +69,7 @@ No supporting OS subroutines are required.
 #include "local.h"
 
 int
-_DEFUN(iswblank,(c), wint_t c)
+iswblank (wint_t c)
 {
 #ifdef _MB_CAPABLE
   c = _jp2uc (c);
diff --git a/newlib/libc/ctype/iswcntrl.c b/newlib/libc/ctype/iswcntrl.c
index c96ed34..249a0a8 100644
--- a/newlib/libc/ctype/iswcntrl.c
+++ b/newlib/libc/ctype/iswcntrl.c
@@ -69,7 +69,7 @@ No supporting OS subroutines are required.
 #include "local.h"
 
 int
-_DEFUN(iswcntrl,(c), wint_t c)
+iswcntrl (wint_t c)
 {
 #ifdef _MB_CAPABLE
   c = _jp2uc (c);
diff --git a/newlib/libc/ctype/iswctype.c b/newlib/libc/ctype/iswctype.c
index 89c0f9a..027cb8a 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, wctype_t desc)
+iswctype (wint_t c, wctype_t desc)
 {
   switch (desc)
     {
diff --git a/newlib/libc/ctype/iswdigit.c b/newlib/libc/ctype/iswdigit.c
index 7926f8d..2b26141 100644
--- a/newlib/libc/ctype/iswdigit.c
+++ b/newlib/libc/ctype/iswdigit.c
@@ -36,7 +36,7 @@ No supporting OS subroutines are required.
 #include <wctype.h>
 
 int
-_DEFUN(iswdigit,(c), wint_t c)
+iswdigit (wint_t c)
 {
   return (c >= (wint_t)'0' && c <= (wint_t)'9');
 }
diff --git a/newlib/libc/ctype/iswgraph.c b/newlib/libc/ctype/iswgraph.c
index 90e1f97..e0df4aa 100644
--- a/newlib/libc/ctype/iswgraph.c
+++ b/newlib/libc/ctype/iswgraph.c
@@ -65,7 +65,7 @@ No supporting OS subroutines are required.
 #include <wctype.h>
 
 int
-_DEFUN(iswgraph,(c),wint_t c)
+iswgraph (wint_t c)
 {
   return (iswprint (c) && !iswspace (c));
 }
diff --git a/newlib/libc/ctype/iswlower.c b/newlib/libc/ctype/iswlower.c
index 19cfdc4..8b38835 100644
--- a/newlib/libc/ctype/iswlower.c
+++ b/newlib/libc/ctype/iswlower.c
@@ -36,7 +36,7 @@ No supporting OS subroutines are required.
 #include <wctype.h>
 
 int
-_DEFUN(iswlower,(c),wint_t c)
+iswlower (wint_t c)
 {
 	return (towupper (c) != c);
 }
diff --git a/newlib/libc/ctype/iswprint.c b/newlib/libc/ctype/iswprint.c
index 51a5001..c6050b5 100644
--- a/newlib/libc/ctype/iswprint.c
+++ b/newlib/libc/ctype/iswprint.c
@@ -73,7 +73,7 @@ No supporting OS subroutines are required.
 #endif /* _MB_CAPABLE */
 
 int
-_DEFUN(iswprint,(c), wint_t c)
+iswprint (wint_t c)
 {
 #ifdef _MB_CAPABLE
   unsigned const char *table;
diff --git a/newlib/libc/ctype/iswpunct.c b/newlib/libc/ctype/iswpunct.c
index b1069a2..8ab7038 100644
--- a/newlib/libc/ctype/iswpunct.c
+++ b/newlib/libc/ctype/iswpunct.c
@@ -69,7 +69,7 @@ No supporting OS subroutines are required.
 #include "local.h"
 
 int
-_DEFUN(iswpunct,(c), wint_t c)
+iswpunct (wint_t c)
 {
   return (!iswalnum (c) && iswgraph (c));
 }
diff --git a/newlib/libc/ctype/iswspace.c b/newlib/libc/ctype/iswspace.c
index d6ba3e9..ae3841a 100644
--- a/newlib/libc/ctype/iswspace.c
+++ b/newlib/libc/ctype/iswspace.c
@@ -69,7 +69,7 @@ No supporting OS subroutines are required.
 #include "local.h"
 
 int
-_DEFUN(iswspace,(c), wint_t c)
+iswspace (wint_t c)
 {
 #ifdef _MB_CAPABLE
   c = _jp2uc (c);
diff --git a/newlib/libc/ctype/iswupper.c b/newlib/libc/ctype/iswupper.c
index 49f0093..c4969a3 100644
--- a/newlib/libc/ctype/iswupper.c
+++ b/newlib/libc/ctype/iswupper.c
@@ -36,7 +36,7 @@ No supporting OS subroutines are required.
 #include <wctype.h>
 
 int
-_DEFUN(iswupper,(c),wint_t c)
+iswupper (wint_t c)
 {
   return (towlower (c) != c);
 }
diff --git a/newlib/libc/ctype/iswxdigit.c b/newlib/libc/ctype/iswxdigit.c
index 3f47962..4367186 100644
--- a/newlib/libc/ctype/iswxdigit.c
+++ b/newlib/libc/ctype/iswxdigit.c
@@ -36,7 +36,7 @@ No supporting OS subroutines are required.
 #include <wctype.h>
 
 int
-_DEFUN(iswxdigit,(c), wint_t c)
+iswxdigit (wint_t c)
 {
   return ((c >= (wint_t)'0' && c <= (wint_t)'9') ||
 	  (c >= (wint_t)'a' && c <= (wint_t)'f') ||
diff --git a/newlib/libc/ctype/isxdigit.c b/newlib/libc/ctype/isxdigit.c
index f5e858c..2bfe18d 100644
--- a/newlib/libc/ctype/isxdigit.c
+++ b/newlib/libc/ctype/isxdigit.c
@@ -44,7 +44,7 @@ No supporting OS subroutines are required.
 
 #undef isxdigit
 int
-_DEFUN(isxdigit,(c),int c)
+isxdigit (int c)
 {
 	return(__CTYPE_PTR[c+1] & ((_X)|(_N)));
 }
diff --git a/newlib/libc/ctype/jp2uc.c b/newlib/libc/ctype/jp2uc.c
index 8fbd1b0..29eec0f 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, int type)
+__jp2uc (wint_t c, int type)
 {
   int index, adj;
   unsigned char byte1, byte2;
@@ -152,7 +152,7 @@ _DEFUN (__jp2uc, (c, type), wint_t c, int type)
 }
 
 wint_t
-_DEFUN (_jp2uc, (c), wint_t c)
+_jp2uc (wint_t c)
 {
   if (!strcmp (__current_locale_charset (), "JIS"))
     c = __jp2uc (c, JP_JIS);
diff --git a/newlib/libc/ctype/toascii.c b/newlib/libc/ctype/toascii.c
index 450e231..de5b8e1 100644
--- a/newlib/libc/ctype/toascii.c
+++ b/newlib/libc/ctype/toascii.c
@@ -41,7 +41,7 @@ No supporting OS subroutines are required.
 #undef toascii
 
 int
-_DEFUN(toascii,(c),int c)
+toascii (int c)
 {
   return (c)&0177;
 }
diff --git a/newlib/libc/ctype/tolower.c b/newlib/libc/ctype/tolower.c
index 5ebd3cd..aae2ce0 100644
--- a/newlib/libc/ctype/tolower.c
+++ b/newlib/libc/ctype/tolower.c
@@ -62,7 +62,7 @@ No supporting OS subroutines are required.
 
 #undef tolower
 int
-_DEFUN(tolower,(c),int c)
+tolower (int c)
 {
 #if defined (_MB_EXTENDED_CHARSETS_ISO) || defined (_MB_EXTENDED_CHARSETS_WINDOWS)
   if ((unsigned char) c <= 0x7f) 
diff --git a/newlib/libc/ctype/toupper.c b/newlib/libc/ctype/toupper.c
index d9089a9..61951b0 100644
--- a/newlib/libc/ctype/toupper.c
+++ b/newlib/libc/ctype/toupper.c
@@ -62,7 +62,7 @@ No supporting OS subroutines are required.
 
 #undef toupper
 int
-_DEFUN(toupper,(c),int c)
+toupper (int c)
 {
 #if defined (_MB_EXTENDED_CHARSETS_ISO) || defined (_MB_EXTENDED_CHARSETS_WINDOWS)
   if ((unsigned char) c <= 0x7f)
diff --git a/newlib/libc/ctype/towctrans.c b/newlib/libc/ctype/towctrans.c
index 3500cba..edbdfce 100644
--- a/newlib/libc/ctype/towctrans.c
+++ b/newlib/libc/ctype/towctrans.c
@@ -76,8 +76,7 @@ No supporting OS subroutines are required.
 #include "local.h"
 
 wint_t
-_DEFUN (_towctrans_r, (r, c, w), 
-	struct _reent *r,
+_towctrans_r (struct _reent *r,
 	wint_t c,
 	wctrans_t w)
 {
@@ -94,8 +93,7 @@ _DEFUN (_towctrans_r, (r, c, w),
 
 #ifndef _REENT_ONLY
 wint_t
-_DEFUN (towctrans, (c, w),
-	wint_t c,
+towctrans (wint_t c,
         wctrans_t w)
 {
   return _towctrans_r (_REENT, c, w);
diff --git a/newlib/libc/ctype/towlower.c b/newlib/libc/ctype/towlower.c
index 4485fde..db390db 100644
--- a/newlib/libc/ctype/towlower.c
+++ b/newlib/libc/ctype/towlower.c
@@ -73,7 +73,7 @@ No supporting OS subroutines are required.
 #include "local.h"
 
 wint_t
-_DEFUN(towlower,(c), wint_t c)
+towlower (wint_t c)
 {
 #ifdef _MB_CAPABLE
   c = _jp2uc (c);
diff --git a/newlib/libc/ctype/towupper.c b/newlib/libc/ctype/towupper.c
index 06d12ea..306f72b 100644
--- a/newlib/libc/ctype/towupper.c
+++ b/newlib/libc/ctype/towupper.c
@@ -73,7 +73,7 @@ No supporting OS subroutines are required.
 #include "local.h"
 
 wint_t
-_DEFUN(towupper,(c), wint_t c)
+towupper (wint_t c)
 {
 #ifdef _MB_CAPABLE
   c = _jp2uc (c);
diff --git a/newlib/libc/ctype/wctrans.c b/newlib/libc/ctype/wctrans.c
index 7183c45..4a58df1 100644
--- a/newlib/libc/ctype/wctrans.c
+++ b/newlib/libc/ctype/wctrans.c
@@ -75,8 +75,7 @@ No supporting OS subroutines are required.
 #include "local.h"
 
 wctrans_t
-_DEFUN (_wctrans_r, (r, c), 
-	struct _reent *r,
+_wctrans_r (struct _reent *r,
 	const char *c)
 {
   if (!strcmp (c, "tolower"))
@@ -92,8 +91,7 @@ _DEFUN (_wctrans_r, (r, c),
 
 #ifndef _REENT_ONLY
 wctrans_t
-_DEFUN (wctrans, (c),
-	const char *c)
+wctrans (const char *c)
 {
   return _wctrans_r (_REENT, c);
 }
diff --git a/newlib/libc/ctype/wctype.c b/newlib/libc/ctype/wctype.c
index 6cd9425..5f2ae7a 100644
--- a/newlib/libc/ctype/wctype.c
+++ b/newlib/libc/ctype/wctype.c
@@ -76,8 +76,7 @@ No supporting OS subroutines are required.
 #include "local.h"
 
 wctype_t
-_DEFUN (_wctype_r, (r, c), 
-	struct _reent *r,
+_wctype_r (struct _reent *r,
 	const char *c)
 {
   switch (*c)
@@ -135,8 +134,7 @@ _DEFUN (_wctype_r, (r, c),
 
 #ifndef _REENT_ONLY
 wctype_t
-_DEFUN (wctype, (c),
-	const char *c)
+wctype (const char *c)
 {
   return _wctype_r (_REENT, c);
 }
diff --git a/newlib/libc/iconv/ces/euc.c b/newlib/libc/iconv/ces/euc.c
index fb0a50e..29d36f9 100644
--- a/newlib/libc/iconv/ces/euc.c
+++ b/newlib/libc/iconv/ces/euc.c
@@ -101,8 +101,7 @@ static euc_cs_desc_t euc_kr_cs_desc [] =
 
 #if defined (ICONV_FROM_UCS_CES_EUC)
 static void *
-_DEFUN(euc_from_ucs_init, (rptr, encoding),
-                          struct _reent *rptr,
+euc_from_ucs_init (struct _reent *rptr,
                           const char *encoding)
 {
   int i;
@@ -165,8 +164,7 @@ error1:
 }
 
 static size_t
-_DEFUN(euc_from_ucs_close, (rptr, data),
-                           struct _reent *rptr,
+euc_from_ucs_close (struct _reent *rptr,
                            void *data)
 {
   int i;
@@ -185,8 +183,7 @@ _DEFUN(euc_from_ucs_close, (rptr, data),
 }
 
 static size_t
-_DEFUN(euc_convert_from_ucs, (data, in, outbuf, outbytesleft),
-                             void *data,
+euc_convert_from_ucs (void *data,
                              register ucs4_t in,
                              unsigned char **outbuf,
                              size_t *outbytesleft)
@@ -261,8 +258,7 @@ _DEFUN(euc_convert_from_ucs, (data, in, outbuf, outbytesleft),
 
 #if defined (ICONV_TO_UCS_CES_EUC)
 static void *
-_DEFUN(euc_to_ucs_init, (rptr, encoding),
-                        struct _reent *rptr,
+euc_to_ucs_init (struct _reent *rptr,
                         const char *encoding)
 {
   int i;
@@ -325,8 +321,7 @@ error1:
 }
 
 static size_t
-_DEFUN(euc_to_ucs_close, (rptr, data),
-                         struct _reent *rptr,
+euc_to_ucs_close (struct _reent *rptr,
                          void *data)
 {
   int i;
@@ -345,8 +340,7 @@ _DEFUN(euc_to_ucs_close, (rptr, data),
 }
 
 static ucs4_t
-_DEFUN(euc_convert_to_ucs, (data, inbuf, inbytesleft),
-                           void *data,
+euc_convert_to_ucs (void *data,
                            const unsigned char **inbuf,
                            size_t *inbytesleft)
 {
@@ -432,8 +426,7 @@ _DEFUN(euc_convert_to_ucs, (data, inbuf, inbytesleft),
 #endif /* ICONV_TO_UCS_CES_EUC */
 
 static int
-_DEFUN(euc_get_mb_cur_max, (data),
-                           void *data)
+euc_get_mb_cur_max (void *data)
 {
   return ((euc_data_t *)data)->mb_cur_max;
 }
diff --git a/newlib/libc/iconv/ces/table-pcs.c b/newlib/libc/iconv/ces/table-pcs.c
index 77b820b..45cfe62 100644
--- a/newlib/libc/iconv/ces/table-pcs.c
+++ b/newlib/libc/iconv/ces/table-pcs.c
@@ -40,8 +40,7 @@
 
 #if defined (ICONV_FROM_UCS_CES_TABLE_PCS)
 static size_t
-_DEFUN(table_pcs_convert_from_ucs, (data, in, outbuf, outbytesleft),
-                               void *data,
+table_pcs_convert_from_ucs (void *data,
                                ucs4_t in,
                                unsigned char **outbuf,
                                size_t *outbytesleft)
@@ -65,24 +64,21 @@ _DEFUN(table_pcs_convert_from_ucs, (data, in, outbuf, outbytesleft),
 }
 
 static void *
-_DEFUN(table_pcs_from_ucs_init, (rptr, encoding),
-                                struct _reent *rptr,
+table_pcs_from_ucs_init (struct _reent *rptr,
                                 const char *encoding)
 {
   return _iconv_from_ucs_ces_handlers_table.init (rptr, encoding);
 }
 
 static size_t
-_DEFUN(table_pcs_from_ucs_close, (rptr, data),
-                                 struct _reent *rptr,
+table_pcs_from_ucs_close (struct _reent *rptr,
                                  void *data)
 {
   return _iconv_from_ucs_ces_handlers_table.close (rptr, data);
 }
 
 static int
-_DEFUN(table_pcs_from_ucs_get_mb_cur_max, (data),
-                                           void *data)
+table_pcs_from_ucs_get_mb_cur_max (void *data)
 {
   return _iconv_from_ucs_ces_handlers_table.get_mb_cur_max (data);
 }
@@ -91,8 +87,7 @@ _DEFUN(table_pcs_from_ucs_get_mb_cur_max, (data),
 
 #if defined (ICONV_TO_UCS_CES_TABLE_P[...]

[diff truncated at 100000 bytes]


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-17 17:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-17 17:49 [newlib-cygwin] ansification: remove _DEFUN Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).