mbox series

[v2,00/17] Newlib ANSI-fication

Message ID 20171207181909.1112-1-yselkowi@redhat.com
Headers show
Series Newlib ANSI-fication | expand

Message

Yaakov Selkowitz Dec. 7, 2017, 6:18 p.m. UTC
Yaakov Selkowitz (17):
  ansification: remove _AND
  ansification: remove _CONST
  ansification: remove _DOTS
  ansification: remove _NOARGS
  ansification: remove _PARAMS
  ansification: remove _VOID_PTR
  ansification: remove _PTR
  ansification: remove _CAST_VOID
  ansification: remove _DEFUN_VOID
  ansification: remove _VOID
  ansification: remove _VOLATILE, _SIGNED
  ansification: remove _DEFUN
  ansification: remove _EXFNPTR, _EXPARM
  ansification: remove _EXFUN, _EXFUN_NOTHROW
  ansification: remove _HAVE_STDC
  ansification: fix makedoc for ANSI C
  ansification: remove ansidecl.h from makedoc

 libgloss/aarch64/_exit.c                     |   2 +-
 libgloss/aarch64/_kill.c                     |   2 +-
 libgloss/aarch64/svc.h                       |   6 +-
 libgloss/aarch64/syscalls.c                  |  64 +--
 libgloss/arm/_exit.c                         |   4 +-
 libgloss/arm/_kill.c                         |   2 +-
 libgloss/arm/swi.h                           |   6 +-
 libgloss/arm/syscalls.c                      |  64 +--
 libgloss/bfin/_exit.c                        |   5 +-
 libgloss/close.c                             |   3 +-
 libgloss/cr16/fstat.c                        |   3 +-
 libgloss/cr16/getpid.c                       |   3 +-
 libgloss/cr16/isatty.c                       |   5 +-
 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                        |   5 +-
 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                        |   5 +-
 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                       |   5 +-
 libgloss/ft32/kill.c                         |   3 +-
 libgloss/ft32/sim-lseek.S                    |   5 +-
 libgloss/ft32/sim-lseek.c                    |   5 +-
 libgloss/ft32/sim-time.c                     |   6 +-
 libgloss/ft32/stat.c                         |   3 +-
 libgloss/getpid.c                            |   3 +-
 libgloss/isatty.c                            |   5 +-
 libgloss/kill.c                              |   3 +-
 libgloss/libnosys/_exit.c                    |   5 +-
 libgloss/libnosys/chown.c                    |   5 +-
 libgloss/libnosys/close.c                    |   3 +-
 libgloss/libnosys/execve.c                   |   5 +-
 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                    |   5 +-
 libgloss/libnosys/open.c                     |   5 +-
 libgloss/libnosys/read.c                     |   5 +-
 libgloss/libnosys/readlink.c                 |   5 +-
 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                    |   5 +-
 libgloss/lm32/isatty.c                       |   3 +-
 libgloss/lseek.c                             |   5 +-
 libgloss/m68k/idp-inbyte.c                   |   2 +-
 libgloss/m68k/idp-outbyte.c                  |   6 +-
 libgloss/m68k/mc68ec.c                       |   6 +-
 libgloss/m68k/mvme-stub.c                    |   8 +-
 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                       |   5 +-
 libgloss/mcore/open.c                        |   5 +-
 libgloss/mcore/print.c                       |   3 +-
 libgloss/mcore/putnum.c                      |   3 +-
 libgloss/mcore/raise.c                       |   3 +-
 libgloss/mcore/read.c                        |   7 +-
 libgloss/mcore/stat.c                        |   3 +-
 libgloss/mcore/unlink.c                      |   3 +-
 libgloss/mcore/write.c                       |   7 +-
 libgloss/moxie/fstat.c                       |   3 +-
 libgloss/moxie/getpid.c                      |   3 +-
 libgloss/moxie/isatty.c                      |   5 +-
 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                   |   5 +-
 libgloss/moxie/sim-lseek.c                   |   5 +-
 libgloss/moxie/sim-time.c                    |   9 +-
 libgloss/moxie/stat.c                        |   3 +-
 libgloss/open.c                              |   5 +-
 libgloss/print.c                             |   3 +-
 libgloss/putnum.c                            |   3 +-
 libgloss/read.c                              |   7 +-
 libgloss/sparc_leon/asm-leon/clock.h         |   4 +-
 libgloss/sparc_leon/console_dbg.c            |   4 -
 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                             |   7 +-
 libgloss/xc16x/misc.c                        |   8 +-
 libgloss/xstormy16/close.c                   |   3 +-
 libgloss/xstormy16/fstat.c                   |   3 +-
 libgloss/xstormy16/getpid.c                  |   3 +-
 libgloss/xstormy16/isatty.c                  |   5 +-
 libgloss/xstormy16/kill.c                    |   3 +-
 libgloss/xstormy16/lseek.c                   |   5 +-
 libgloss/xstormy16/open.c                    |   5 +-
 libgloss/xstormy16/stat.c                    |   3 +-
 libgloss/xstormy16/unlink.c                  |   3 +-
 newlib/doc/ansidecl.h                        | 116 -----
 newlib/doc/makedoc.c                         | 136 +++---
 newlib/libc/argz/argz_add.c                  |   5 +-
 newlib/libc/argz/argz_add_sep.c              |   7 +-
 newlib/libc/argz/argz_append.c               |   7 +-
 newlib/libc/argz/argz_count.c                |   3 +-
 newlib/libc/argz/argz_create.c               |   5 +-
 newlib/libc/argz/argz_create_sep.c           |   7 +-
 newlib/libc/argz/argz_delete.c               |   5 +-
 newlib/libc/argz/argz_extract.c              |   5 +-
 newlib/libc/argz/argz_insert.c               |   7 +-
 newlib/libc/argz/argz_next.c                 |   5 +-
 newlib/libc/argz/argz_replace.c              |   9 +-
 newlib/libc/argz/argz_stringify.c            |   5 +-
 newlib/libc/argz/envz_add.c                  |   7 +-
 newlib/libc/argz/envz_entry.c                |   5 +-
 newlib/libc/argz/envz_get.c                  |   5 +-
 newlib/libc/argz/envz_merge.c                |   9 +-
 newlib/libc/argz/envz_remove.c               |   5 +-
 newlib/libc/argz/envz_strip.c                |   3 +-
 newlib/libc/ctype/ctype_.c                   |   6 +-
 newlib/libc/ctype/ctype_.h                   |   2 +-
 newlib/libc/ctype/ctype_cp.h                 |   4 +-
 newlib/libc/ctype/ctype_iso.h                |   4 +-
 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/local.h                    |   2 +-
 newlib/libc/ctype/toascii.c                  |   2 +-
 newlib/libc/ctype/tolower.c                  |   2 +-
 newlib/libc/ctype/toupper.c                  |   2 +-
 newlib/libc/ctype/towctrans.c                |   8 +-
 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/ccs/big5.c                 |  10 +-
 newlib/libc/iconv/ccs/ccs.h                  |  10 +-
 newlib/libc/iconv/ccs/ccsbi.c                |   2 +-
 newlib/libc/iconv/ccs/ccsbi.h                |  82 ++--
 newlib/libc/iconv/ccs/cns11643_plane1.c      |  10 +-
 newlib/libc/iconv/ccs/cns11643_plane14.c     |  10 +-
 newlib/libc/iconv/ccs/cns11643_plane2.c      |  10 +-
 newlib/libc/iconv/ccs/cp775.c                |   6 +-
 newlib/libc/iconv/ccs/cp850.c                |   6 +-
 newlib/libc/iconv/ccs/cp852.c                |   6 +-
 newlib/libc/iconv/ccs/cp855.c                |   6 +-
 newlib/libc/iconv/ccs/cp866.c                |   6 +-
 newlib/libc/iconv/ccs/iso_8859_1.c           |   6 +-
 newlib/libc/iconv/ccs/iso_8859_10.c          |   6 +-
 newlib/libc/iconv/ccs/iso_8859_11.c          |   6 +-
 newlib/libc/iconv/ccs/iso_8859_13.c          |   6 +-
 newlib/libc/iconv/ccs/iso_8859_14.c          |   6 +-
 newlib/libc/iconv/ccs/iso_8859_15.c          |   6 +-
 newlib/libc/iconv/ccs/iso_8859_2.c           |   6 +-
 newlib/libc/iconv/ccs/iso_8859_3.c           |   6 +-
 newlib/libc/iconv/ccs/iso_8859_4.c           |   6 +-
 newlib/libc/iconv/ccs/iso_8859_5.c           |   6 +-
 newlib/libc/iconv/ccs/iso_8859_6.c           |   6 +-
 newlib/libc/iconv/ccs/iso_8859_7.c           |   6 +-
 newlib/libc/iconv/ccs/iso_8859_8.c           |   6 +-
 newlib/libc/iconv/ccs/iso_8859_9.c           |   6 +-
 newlib/libc/iconv/ccs/iso_ir_111.c           |   6 +-
 newlib/libc/iconv/ccs/jis_x0201_1976.c       |   6 +-
 newlib/libc/iconv/ccs/jis_x0208_1990.c       |  10 +-
 newlib/libc/iconv/ccs/jis_x0212_1990.c       |  10 +-
 newlib/libc/iconv/ccs/koi8_r.c               |   6 +-
 newlib/libc/iconv/ccs/koi8_ru.c              |   6 +-
 newlib/libc/iconv/ccs/koi8_u.c               |   6 +-
 newlib/libc/iconv/ccs/koi8_uni.c             |   6 +-
 newlib/libc/iconv/ccs/ksx1001.c              |  10 +-
 newlib/libc/iconv/ccs/mktbl.pl               |  14 +-
 newlib/libc/iconv/ccs/win_1250.c             |   6 +-
 newlib/libc/iconv/ccs/win_1251.c             |   6 +-
 newlib/libc/iconv/ccs/win_1252.c             |   6 +-
 newlib/libc/iconv/ccs/win_1253.c             |   6 +-
 newlib/libc/iconv/ccs/win_1254.c             |   6 +-
 newlib/libc/iconv/ccs/win_1255.c             |   6 +-
 newlib/libc/iconv/ccs/win_1256.c             |   6 +-
 newlib/libc/iconv/ccs/win_1257.c             |   6 +-
 newlib/libc/iconv/ccs/win_1258.c             |   6 +-
 newlib/libc/iconv/ces/cesbi.c                |  68 +--
 newlib/libc/iconv/ces/cesbi.h                |  40 +-
 newlib/libc/iconv/ces/euc.c                  |  57 +--
 newlib/libc/iconv/ces/mkdeps.pl              |  24 +-
 newlib/libc/iconv/ces/table-pcs.c            |  46 +-
 newlib/libc/iconv/ces/table.c                | 124 +++--
 newlib/libc/iconv/ces/ucs-2-internal.c       |  19 +-
 newlib/libc/iconv/ces/ucs-2.c                |  35 +-
 newlib/libc/iconv/ces/ucs-4-internal.c       |  19 +-
 newlib/libc/iconv/ces/ucs-4.c                |  35 +-
 newlib/libc/iconv/ces/us-ascii.c             |  19 +-
 newlib/libc/iconv/ces/utf-16.c               |  46 +-
 newlib/libc/iconv/ces/utf-8.c                |  21 +-
 newlib/libc/iconv/lib/aliasesbi.c            |   2 +-
 newlib/libc/iconv/lib/aliasesi.c             |  41 +-
 newlib/libc/iconv/lib/conv.h                 |  60 +--
 newlib/libc/iconv/lib/iconv.c                |  63 ++-
 newlib/libc/iconv/lib/iconvnls.c             |  78 ++--
 newlib/libc/iconv/lib/local.h                |   5 +-
 newlib/libc/iconv/lib/nullconv.c             |  50 +-
 newlib/libc/iconv/lib/ucsconv.c              |  73 ++-
 newlib/libc/iconv/lib/ucsconv.h              |  88 ++--
 newlib/libc/include/_ansi.h                  |  60 +--
 newlib/libc/include/alloca.h                 |   2 +-
 newlib/libc/include/assert.h                 |   8 +-
 newlib/libc/include/ctype.h                  |  34 +-
 newlib/libc/include/envlock.h                |   4 +-
 newlib/libc/include/getopt.h                 |  28 +-
 newlib/libc/include/iconv.h                  |  16 +-
 newlib/libc/include/ieeefp.h                 |  16 +-
 newlib/libc/include/libgen.h                 |   4 +-
 newlib/libc/include/locale.h                 |   8 +-
 newlib/libc/include/machine/fastmath.h       |   2 -
 newlib/libc/include/malloc.h                 |  54 +--
 newlib/libc/include/math.h                   | 448 +++++++++---------
 newlib/libc/include/pthread.h                | 352 +++++++-------
 newlib/libc/include/reent.h                  |  50 +-
 newlib/libc/include/rpc/xdr.h                | 128 +++---
 newlib/libc/include/setjmp.h                 |   6 +-
 newlib/libc/include/signal.h                 |  10 +-
 newlib/libc/include/spawn.h                  |  81 ++--
 newlib/libc/include/stdio.h                  | 662 +++++++++++++--------------
 newlib/libc/include/stdio_ext.h              |  18 +-
 newlib/libc/include/stdlib.h                 | 276 +++++------
 newlib/libc/include/string.h                 | 104 ++---
 newlib/libc/include/sys/_default_fcntl.h     |  18 +-
 newlib/libc/include/sys/errno.h              |   4 +-
 newlib/libc/include/sys/iconvnls.h           |  28 +-
 newlib/libc/include/sys/lock.h               |  20 +-
 newlib/libc/include/sys/reent.h              |  42 +-
 newlib/libc/include/sys/resource.h           |   2 +-
 newlib/libc/include/sys/signal.h             |  47 +-
 newlib/libc/include/sys/stat.h               |  42 +-
 newlib/libc/include/sys/stdio.h              |   4 +-
 newlib/libc/include/sys/time.h               |  24 +-
 newlib/libc/include/sys/timeb.h              |   2 +-
 newlib/libc/include/sys/times.h              |   4 +-
 newlib/libc/include/sys/unistd.h             | 266 +++++------
 newlib/libc/include/time.h                   |  85 ++--
 newlib/libc/include/unctrl.h                 |   4 +-
 newlib/libc/include/wchar.h                  | 326 ++++++-------
 newlib/libc/include/wctype.h                 |  36 +-
 newlib/libc/locale/locale.c                  |  14 +-
 newlib/libc/locale/localeconv.c              |   5 +-
 newlib/libc/machine/cris/sys/errno.h         |   4 +-
 newlib/libc/machine/cris/sys/fcntl.h         |  12 +-
 newlib/libc/machine/microblaze/abort.c       |   4 +-
 newlib/libc/machine/microblaze/strcmp.c      |   5 +-
 newlib/libc/machine/microblaze/strcpy.c      |   9 +-
 newlib/libc/machine/microblaze/strlen.c      |   7 +-
 newlib/libc/machine/nds32/abort.c            |   4 +-
 newlib/libc/machine/powerpc/atosfix16.c      |   8 +-
 newlib/libc/machine/powerpc/atosfix32.c      |   8 +-
 newlib/libc/machine/powerpc/atosfix64.c      |   8 +-
 newlib/libc/machine/powerpc/atoufix16.c      |   8 +-
 newlib/libc/machine/powerpc/atoufix32.c      |   8 +-
 newlib/libc/machine/powerpc/atoufix64.c      |   8 +-
 newlib/libc/machine/powerpc/machine/malloc.h |  12 +-
 newlib/libc/machine/powerpc/machine/stdlib.h |  78 ++--
 newlib/libc/machine/powerpc/strtosfix16.c    |   8 +-
 newlib/libc/machine/powerpc/strtosfix32.c    |   8 +-
 newlib/libc/machine/powerpc/strtosfix64.c    |   8 +-
 newlib/libc/machine/powerpc/strtoufix16.c    |   8 +-
 newlib/libc/machine/powerpc/strtoufix32.c    |   8 +-
 newlib/libc/machine/powerpc/strtoufix64.c    |   8 +-
 newlib/libc/machine/powerpc/ufix64toa.c      |  17 +-
 newlib/libc/machine/powerpc/vec_calloc.c     |   5 +-
 newlib/libc/machine/powerpc/vec_free.c       |   3 +-
 newlib/libc/machine/powerpc/vec_malloc.c     |   5 +-
 newlib/libc/machine/powerpc/vec_realloc.c    |   5 +-
 newlib/libc/machine/powerpc/vfprintf.c       |  42 +-
 newlib/libc/machine/powerpc/vfscanf.c        |  30 +-
 newlib/libc/machine/spu/assert.c             |  12 +-
 newlib/libc/machine/spu/c99ppe.h             |   4 +-
 newlib/libc/machine/spu/clearerr.c           |   5 +-
 newlib/libc/machine/spu/creat.c              |   3 +-
 newlib/libc/machine/spu/fclose.c             |   3 +-
 newlib/libc/machine/spu/fdopen.c             |   5 +-
 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              |   5 +-
 newlib/libc/machine/spu/fileno.c             |   3 +-
 newlib/libc/machine/spu/fopen.c              |   9 +-
 newlib/libc/machine/spu/fputs.c              |   5 +-
 newlib/libc/machine/spu/fread.c              |   7 +-
 newlib/libc/machine/spu/freopen.c            |   9 +-
 newlib/libc/machine/spu/fseek.c              |   5 +-
 newlib/libc/machine/spu/fsetpos.c            |   7 +-
 newlib/libc/machine/spu/ftell.c              |   3 +-
 newlib/libc/machine/spu/fwrite.c             |   9 +-
 newlib/libc/machine/spu/impure.c             |   2 +-
 newlib/libc/machine/spu/perror.c             |   5 +-
 newlib/libc/machine/spu/puts.c               |   3 +-
 newlib/libc/machine/spu/remove.c             |   2 +-
 newlib/libc/machine/spu/rename.c             |   8 +-
 newlib/libc/machine/spu/rewind.c             |   3 +-
 newlib/libc/machine/spu/setbuf.c             |   3 +-
 newlib/libc/machine/spu/setvbuf.c            |   7 +-
 newlib/libc/machine/spu/stdio.c              |  17 +-
 newlib/libc/machine/spu/sys/errno.h          |   2 +-
 newlib/libc/machine/spu/tmpfile.c            |   2 +-
 newlib/libc/machine/spu/tmpnam.c             |   3 +-
 newlib/libc/machine/spu/vfprintf.c           |   9 +-
 newlib/libc/machine/spu/vfscanf.c            |   9 +-
 newlib/libc/machine/spu/vprintf.c            |   9 +-
 newlib/libc/machine/spu/vscanf.c             |   7 +-
 newlib/libc/machine/spu/vsnprintf.c          |  13 +-
 newlib/libc/machine/spu/vsprintf.c           |   9 +-
 newlib/libc/machine/spu/vsscanf.c            |  13 +-
 newlib/libc/machine/xscale/strlen.c          |   2 +-
 newlib/libc/machine/xstormy16/mallocr.c      |  10 +-
 newlib/libc/misc/__dprintf.c                 |  24 +-
 newlib/libc/misc/unctrl.c                    |   4 +-
 newlib/libc/posix/_isatty.c                  |   2 +-
 newlib/libc/posix/closedir.c                 |   3 +-
 newlib/libc/posix/creat.c                    |   3 +-
 newlib/libc/posix/execl.c                    |  23 +-
 newlib/libc/posix/execle.c                   |  27 +-
 newlib/libc/posix/execlp.c                   |  23 +-
 newlib/libc/posix/execv.c                    |   5 +-
 newlib/libc/posix/execve.c                   |   5 +-
 newlib/libc/posix/execvp.c                   |  10 +-
 newlib/libc/posix/isatty.c                   |   2 +-
 newlib/libc/posix/opendir.c                  |   3 +-
 newlib/libc/posix/popen.c                    |   6 +-
 newlib/libc/posix/posix_spawn.c              | 109 ++---
 newlib/libc/posix/readdir.c                  |   3 +-
 newlib/libc/posix/readdir_r.c                |   5 +-
 newlib/libc/posix/rewinddir.c                |   3 +-
 newlib/libc/posix/scandir.c                  |  10 +-
 newlib/libc/posix/seekdir.c                  |   3 +-
 newlib/libc/posix/telldir.c                  |   9 +-
 newlib/libc/reent/execr.c                    |  15 +-
 newlib/libc/reent/fcntlr.c                   |   7 +-
 newlib/libc/reent/fstat64r.c                 |   5 +-
 newlib/libc/reent/getreent.c                 |   2 +-
 newlib/libc/reent/gettimeofdayr.c            |   5 +-
 newlib/libc/reent/impure.c                   |   2 +-
 newlib/libc/reent/linkr.c                    |   7 +-
 newlib/libc/reent/lseek64r.c                 |   7 +-
 newlib/libc/reent/lseekr.c                   |   7 +-
 newlib/libc/reent/mkdirr.c                   |   5 +-
 newlib/libc/reent/open64r.c                  |   2 +-
 newlib/libc/reent/openr.c                    |   7 +-
 newlib/libc/reent/readr.c                    |   7 +-
 newlib/libc/reent/reent.c                    |   6 +-
 newlib/libc/reent/renamer.c                  |   7 +-
 newlib/libc/reent/sbrkr.c                    |   3 +-
 newlib/libc/reent/signalr.c                  |   8 +-
 newlib/libc/reent/signgam.c                  |   2 +-
 newlib/libc/reent/stat64r.c                  |   5 +-
 newlib/libc/reent/statr.c                    |   5 +-
 newlib/libc/reent/timesr.c                   |   3 +-
 newlib/libc/reent/unlinkr.c                  |   5 +-
 newlib/libc/reent/writer.c                   |   7 +-
 newlib/libc/search/bsearch.c                 |  17 +-
 newlib/libc/search/hash.c                    |   9 +-
 newlib/libc/search/hcreate.c                 |   7 +-
 newlib/libc/search/qsort.c                   |  45 +-
 newlib/libc/search/tdelete.c                 |   5 +-
 newlib/libc/search/tdestroy.c                |   3 +-
 newlib/libc/search/tfind.c                   |   5 +-
 newlib/libc/search/tsearch.c                 |   5 +-
 newlib/libc/search/twalk.c                   |   3 +-
 newlib/libc/signal/psignal.c                 |   7 +-
 newlib/libc/signal/raise.c                   |   6 +-
 newlib/libc/signal/signal.c                  |  24 +-
 newlib/libc/stdio/asiprintf.c                |  12 +-
 newlib/libc/stdio/asniprintf.c               |  16 +-
 newlib/libc/stdio/asnprintf.c                |  24 +-
 newlib/libc/stdio/asprintf.c                 |  20 +-
 newlib/libc/stdio/clearerr.c                 |   5 +-
 newlib/libc/stdio/clearerr_u.c               |   5 +-
 newlib/libc/stdio/diprintf.c                 |  12 +-
 newlib/libc/stdio/dprintf.c                  |  20 +-
 newlib/libc/stdio/fclose.c                   |   6 +-
 newlib/libc/stdio/fcloseall.c                |   5 +-
 newlib/libc/stdio/fdopen.c                   |  14 +-
 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                  |   8 +-
 newlib/libc/stdio/fgets.c                    |  18 +-
 newlib/libc/stdio/fgetwc.c                   |   9 +-
 newlib/libc/stdio/fgetwc_u.c                 |   6 +-
 newlib/libc/stdio/fgetws.c                   |  12 +-
 newlib/libc/stdio/fileno.c                   |   3 +-
 newlib/libc/stdio/fileno_u.c                 |   3 +-
 newlib/libc/stdio/findfp.c                   |  65 ++-
 newlib/libc/stdio/fiprintf.c                 |  12 +-
 newlib/libc/stdio/fiscanf.c                  |  31 +-
 newlib/libc/stdio/flags.c                    |   5 +-
 newlib/libc/stdio/fmemopen.c                 |  43 +-
 newlib/libc/stdio/fopen.c                    |  14 +-
 newlib/libc/stdio/fopencookie.c              |  43 +-
 newlib/libc/stdio/fprintf.c                  |  20 +-
 newlib/libc/stdio/fpurge.c                   |   9 +-
 newlib/libc/stdio/fputc.c                    |   8 +-
 newlib/libc/stdio/fputc_u.c                  |   8 +-
 newlib/libc/stdio/fputs.c                    |  10 +-
 newlib/libc/stdio/fputwc.c                   |  13 +-
 newlib/libc/stdio/fputwc_u.c                 |   8 +-
 newlib/libc/stdio/fputws.c                   |   8 +-
 newlib/libc/stdio/fread.c                    |  31 +-
 newlib/libc/stdio/freopen.c                  |  14 +-
 newlib/libc/stdio/fscanf.c                   |  39 +-
 newlib/libc/stdio/fseek.c                    |  12 +-
 newlib/libc/stdio/fseeko.c                   |  14 +-
 newlib/libc/stdio/fsetlocking.c              |   3 +-
 newlib/libc/stdio/fsetpos.c                  |  12 +-
 newlib/libc/stdio/ftell.c                    |   6 +-
 newlib/libc/stdio/ftello.c                   |   6 +-
 newlib/libc/stdio/funopen.c                  |  51 +--
 newlib/libc/stdio/fvwrite.c                  |  11 +-
 newlib/libc/stdio/fvwrite.h                  |   6 +-
 newlib/libc/stdio/fwalk.c                    |   6 +-
 newlib/libc/stdio/fwide.c                    |   8 +-
 newlib/libc/stdio/fwprintf.c                 |  12 +-
 newlib/libc/stdio/fwrite.c                   |  18 +-
 newlib/libc/stdio/fwscanf.c                  |   4 +-
 newlib/libc/stdio/getc.c                     |   6 +-
 newlib/libc/stdio/getc_u.c                   |   6 +-
 newlib/libc/stdio/getchar.c                  |   5 +-
 newlib/libc/stdio/getchar_u.c                |   5 +-
 newlib/libc/stdio/getdelim.c                 |   7 +-
 newlib/libc/stdio/getline.c                  |   7 +-
 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                 |   5 +-
 newlib/libc/stdio/getwchar_u.c               |   5 +-
 newlib/libc/stdio/iprintf.c                  |   8 +-
 newlib/libc/stdio/iscanf.c                   |  29 +-
 newlib/libc/stdio/local.h                    | 112 ++---
 newlib/libc/stdio/makebuf.c                  |  14 +-
 newlib/libc/stdio/mktemp.c                   |  57 +--
 newlib/libc/stdio/nano-vfprintf.c            |  63 ++-
 newlib/libc/stdio/nano-vfprintf_float.c      |   2 +-
 newlib/libc/stdio/nano-vfprintf_i.c          |   4 +-
 newlib/libc/stdio/nano-vfprintf_local.h      |  12 +-
 newlib/libc/stdio/nano-vfscanf.c             |  54 +--
 newlib/libc/stdio/nano-vfscanf_i.c           |   2 +-
 newlib/libc/stdio/open_memstream.c           |  47 +-
 newlib/libc/stdio/perror.c                   |  12 +-
 newlib/libc/stdio/printf.c                   |  16 +-
 newlib/libc/stdio/putc.c                     |   8 +-
 newlib/libc/stdio/putc_u.c                   |   8 +-
 newlib/libc/stdio/putchar.c                  |   6 +-
 newlib/libc/stdio/putchar_u.c                |   6 +-
 newlib/libc/stdio/puts.c                     |   8 +-
 newlib/libc/stdio/putw.c                     |   5 +-
 newlib/libc/stdio/putwc.c                    |   8 +-
 newlib/libc/stdio/putwc_u.c                  |   8 +-
 newlib/libc/stdio/putwchar.c                 |   6 +-
 newlib/libc/stdio/putwchar_u.c               |   6 +-
 newlib/libc/stdio/refill.c                   |   8 +-
 newlib/libc/stdio/remove.c                   |   8 +-
 newlib/libc/stdio/rename.c                   |   5 +-
 newlib/libc/stdio/rewind.c                   |  12 +-
 newlib/libc/stdio/rget.c                     |   6 +-
 newlib/libc/stdio/scanf.c                    |  37 +-
 newlib/libc/stdio/sccl.c                     |   3 +-
 newlib/libc/stdio/setbuf.c                   |   7 +-
 newlib/libc/stdio/setbuffer.c                |   9 +-
 newlib/libc/stdio/setlinebuf.c               |   3 +-
 newlib/libc/stdio/setvbuf.c                  |   9 +-
 newlib/libc/stdio/siprintf.c                 |  39 +-
 newlib/libc/stdio/siscanf.c                  |  41 +-
 newlib/libc/stdio/sniprintf.c                |  45 +-
 newlib/libc/stdio/snprintf.c                 |  53 +--
 newlib/libc/stdio/sprintf.c                  |  47 +-
 newlib/libc/stdio/sscanf.c                   |  49 +-
 newlib/libc/stdio/stdio.c                    |  34 +-
 newlib/libc/stdio/stdio_ext.c                |  21 +-
 newlib/libc/stdio/swprintf.c                 |  16 +-
 newlib/libc/stdio/swscanf.c                  |   4 +-
 newlib/libc/stdio/tmpfile.c                  |   7 +-
 newlib/libc/stdio/tmpnam.c                   |  31 +-
 newlib/libc/stdio/ungetc.c                   |  15 +-
 newlib/libc/stdio/ungetwc.c                  |   8 +-
 newlib/libc/stdio/vasiprintf.c               |  12 +-
 newlib/libc/stdio/vasniprintf.c              |  16 +-
 newlib/libc/stdio/vasnprintf.c               |  24 +-
 newlib/libc/stdio/vasprintf.c                |  20 +-
 newlib/libc/stdio/vdiprintf.c                |  12 +-
 newlib/libc/stdio/vdprintf.c                 |  20 +-
 newlib/libc/stdio/vfprintf.c                 | 108 ++---
 newlib/libc/stdio/vfscanf.c                  |  55 +--
 newlib/libc/stdio/vfwprintf.c                |  66 ++-
 newlib/libc/stdio/vfwscanf.c                 |  46 +-
 newlib/libc/stdio/viprintf.c                 |  12 +-
 newlib/libc/stdio/viscanf.c                  |  12 +-
 newlib/libc/stdio/vprintf.c                  |  18 +-
 newlib/libc/stdio/vscanf.c                   |  18 +-
 newlib/libc/stdio/vsiprintf.c                |  12 +-
 newlib/libc/stdio/vsiscanf.c                 |  16 +-
 newlib/libc/stdio/vsniprintf.c               |  16 +-
 newlib/libc/stdio/vsnprintf.c                |  24 +-
 newlib/libc/stdio/vsprintf.c                 |  20 +-
 newlib/libc/stdio/vsscanf.c                  |  24 +-
 newlib/libc/stdio/vswprintf.c                |  16 +-
 newlib/libc/stdio/vswscanf.c                 |   8 +-
 newlib/libc/stdio/vwprintf.c                 |   8 +-
 newlib/libc/stdio/vwscanf.c                  |   8 +-
 newlib/libc/stdio/wbuf.c                     |   8 +-
 newlib/libc/stdio/wprintf.c                  |   8 +-
 newlib/libc/stdio/wscanf.c                   |   4 +-
 newlib/libc/stdio/wsetup.c                   |   3 +-
 newlib/libc/stdio64/fdopen64.c               |  14 +-
 newlib/libc/stdio64/fgetpos64.c              |   8 +-
 newlib/libc/stdio64/fopen64.c                |  14 +-
 newlib/libc/stdio64/freopen64.c              |  14 +-
 newlib/libc/stdio64/fseeko64.c               |  14 +-
 newlib/libc/stdio64/fsetpos64.c              |  12 +-
 newlib/libc/stdio64/ftello64.c               |   6 +-
 newlib/libc/stdio64/stdio64.c                |  14 +-
 newlib/libc/stdio64/tmpfile64.c              |   7 +-
 newlib/libc/stdlib/_Exit.c                   |   3 +-
 newlib/libc/stdlib/__adjust.c                |   7 +-
 newlib/libc/stdlib/__atexit.c                |   8 +-
 newlib/libc/stdlib/__call_atexit.c           |   7 +-
 newlib/libc/stdlib/__exp10.c                 |   5 +-
 newlib/libc/stdlib/__ten_mu.c                |   3 +-
 newlib/libc/stdlib/a64l.c                    |   3 +-
 newlib/libc/stdlib/abort.c                   |   4 +-
 newlib/libc/stdlib/abs.c                     |   2 +-
 newlib/libc/stdlib/assert.c                  |  12 +-
 newlib/libc/stdlib/atexit.c                  |   4 +-
 newlib/libc/stdlib/atexit.h                  |   4 +-
 newlib/libc/stdlib/atof.c                    |   3 +-
 newlib/libc/stdlib/atoff.c                   |   3 +-
 newlib/libc/stdlib/atoi.c                    |   8 +-
 newlib/libc/stdlib/atol.c                    |   4 +-
 newlib/libc/stdlib/atoll.c                   |   8 +-
 newlib/libc/stdlib/calloc.c                  |   5 +-
 newlib/libc/stdlib/cxa_atexit.c              |   8 +-
 newlib/libc/stdlib/cxa_finalize.c            |   3 +-
 newlib/libc/stdlib/div.c                     |   3 +-
 newlib/libc/stdlib/drand48.c                 |   5 +-
 newlib/libc/stdlib/dtoa.c                    |  18 +-
 newlib/libc/stdlib/dtoastub.c                |  12 +-
 newlib/libc/stdlib/ecvtbuf.c                 |  66 ++-
 newlib/libc/stdlib/efgcvt.c                  |  38 +-
 newlib/libc/stdlib/erand48.c                 |   6 +-
 newlib/libc/stdlib/exit.c                    |   5 +-
 newlib/libc/stdlib/gdtoa-gethex.c            |  15 +-
 newlib/libc/stdlib/gdtoa-hexnan.c            |  19 +-
 newlib/libc/stdlib/getenv.c                  |   6 +-
 newlib/libc/stdlib/getenv_r.c                |  12 +-
 newlib/libc/stdlib/itoa.c                    |  10 +-
 newlib/libc/stdlib/jrand48.c                 |   6 +-
 newlib/libc/stdlib/l64a.c                    |   6 +-
 newlib/libc/stdlib/labs.c                    |   3 +-
 newlib/libc/stdlib/lcong48.c                 |  10 +-
 newlib/libc/stdlib/ldiv.c                    |   3 +-
 newlib/libc/stdlib/ldtoa.c                   | 108 ++---
 newlib/libc/stdlib/llabs.c                   |   3 +-
 newlib/libc/stdlib/lldiv.c                   |   3 +-
 newlib/libc/stdlib/local.h                   |   2 +-
 newlib/libc/stdlib/lrand48.c                 |   5 +-
 newlib/libc/stdlib/malign.c                  |   5 +-
 newlib/libc/stdlib/malloc.c                  |   8 +-
 newlib/libc/stdlib/mbctype.h                 |   8 +-
 newlib/libc/stdlib/mblen.c                   |   3 +-
 newlib/libc/stdlib/mblen_r.c                 |   7 +-
 newlib/libc/stdlib/mbrtowc.c                 |  16 +-
 newlib/libc/stdlib/mbsnrtowcs.c              |  20 +-
 newlib/libc/stdlib/mbsrtowcs.c               |  16 +-
 newlib/libc/stdlib/mbstowcs.c                |   5 +-
 newlib/libc/stdlib/mbstowcs_r.c              |   9 +-
 newlib/libc/stdlib/mbtowc.c                  |   5 +-
 newlib/libc/stdlib/mbtowc_r.c                |  54 +--
 newlib/libc/stdlib/mprec.c                   |  78 ++--
 newlib/libc/stdlib/mprec.h                   |  54 +--
 newlib/libc/stdlib/mrand48.c                 |   5 +-
 newlib/libc/stdlib/msize.c                   |   3 +-
 newlib/libc/stdlib/mstats.c                  |  13 +-
 newlib/libc/stdlib/mtrim.c                   |   3 +-
 newlib/libc/stdlib/nrand48.c                 |   6 +-
 newlib/libc/stdlib/on_exit.c                 |   6 +-
 newlib/libc/stdlib/putenv.c                  |   3 +-
 newlib/libc/stdlib/putenv_r.c                |   3 +-
 newlib/libc/stdlib/rand.c                    |   4 +-
 newlib/libc/stdlib/rand48.c                  |   3 +-
 newlib/libc/stdlib/rand48.h                  |   2 +-
 newlib/libc/stdlib/rand_r.c                  |   2 +-
 newlib/libc/stdlib/random.c                  |   4 +-
 newlib/libc/stdlib/realloc.c                 |   5 +-
 newlib/libc/stdlib/reallocf.c                |  12 +-
 newlib/libc/stdlib/rpmatch.c                 |   3 +-
 newlib/libc/stdlib/seed48.c                  |   6 +-
 newlib/libc/stdlib/setenv.c                  |  10 +-
 newlib/libc/stdlib/setenv_r.c                |  14 +-
 newlib/libc/stdlib/srand48.c                 |  10 +-
 newlib/libc/stdlib/std.h                     |   6 -
 newlib/libc/stdlib/strtod.c                  |  29 +-
 newlib/libc/stdlib/strtol.c                  |  12 +-
 newlib/libc/stdlib/strtoll.c                 |  14 +-
 newlib/libc/stdlib/strtoul.c                 |  12 +-
 newlib/libc/stdlib/strtoull.c                |  12 +-
 newlib/libc/stdlib/system.c                  |  20 +-
 newlib/libc/stdlib/utoa.c                    |  10 +-
 newlib/libc/stdlib/valloc.c                  |  10 +-
 newlib/libc/stdlib/wcrtomb.c                 |  12 +-
 newlib/libc/stdlib/wcsnrtombs.c              |  20 +-
 newlib/libc/stdlib/wcsrtombs.c               |  16 +-
 newlib/libc/stdlib/wcstod.c                  |  16 +-
 newlib/libc/stdlib/wcstol.c                  |  12 +-
 newlib/libc/stdlib/wcstoll.c                 |  12 +-
 newlib/libc/stdlib/wcstombs.c                |   5 +-
 newlib/libc/stdlib/wcstombs_r.c              |   9 +-
 newlib/libc/stdlib/wcstoul.c                 |  12 +-
 newlib/libc/stdlib/wcstoull.c                |  12 +-
 newlib/libc/stdlib/wctomb.c                  |   3 +-
 newlib/libc/stdlib/wctomb_r.c                |  42 +-
 newlib/libc/string/bcmp.c                    |   5 +-
 newlib/libc/string/bcopy.c                   |   5 +-
 newlib/libc/string/gnu_basename.c            |   3 +-
 newlib/libc/string/index.c                   |   3 +-
 newlib/libc/string/local.h                   |   2 +-
 newlib/libc/string/memccpy.c                 |  17 +-
 newlib/libc/string/memchr.c                  |   9 +-
 newlib/libc/string/memcmp.c                  |   5 +-
 newlib/libc/string/memcpy.c                  |  13 +-
 newlib/libc/string/memmem.c                  |   7 +-
 newlib/libc/string/memmove.c                 |  13 +-
 newlib/libc/string/mempcpy.c                 |  11 +-
 newlib/libc/string/memrchr.c                 |   9 +-
 newlib/libc/string/memset.c                  |   7 +-
 newlib/libc/string/rawmemchr.c               |   7 +-
 newlib/libc/string/rindex.c                  |   3 +-
 newlib/libc/string/stpcpy.c                  |   7 +-
 newlib/libc/string/stpncpy.c                 |   7 +-
 newlib/libc/string/strcasecmp.c              |   9 +-
 newlib/libc/string/strcasestr.c              |   5 +-
 newlib/libc/string/strcat.c                  |   5 +-
 newlib/libc/string/strchr.c                  |   5 +-
 newlib/libc/string/strchrnul.c               |   3 +-
 newlib/libc/string/strcmp.c                  |   5 +-
 newlib/libc/string/strcoll.c                 |   5 +-
 newlib/libc/string/strcpy.c                  |   9 +-
 newlib/libc/string/strcspn.c                 |   9 +-
 newlib/libc/string/strdup.c                  |   2 +-
 newlib/libc/string/strdup_r.c                |   5 +-
 newlib/libc/string/strerror.c                |  12 +-
 newlib/libc/string/strerror_r.c              |   5 +-
 newlib/libc/string/strlcat.c                 |   5 +-
 newlib/libc/string/strlcpy.c                 |   5 +-
 newlib/libc/string/strlen.c                  |   5 +-
 newlib/libc/string/strlwr.c                  |   3 +-
 newlib/libc/string/strncasecmp.c             |   9 +-
 newlib/libc/string/strncat.c                 |   5 +-
 newlib/libc/string/strncmp.c                 |   5 +-
 newlib/libc/string/strncpy.c                 |  11 +-
 newlib/libc/string/strndup.c                 |   3 +-
 newlib/libc/string/strndup_r.c               |   7 +-
 newlib/libc/string/strnlen.c                 |   5 +-
 newlib/libc/string/strpbrk.c                 |   7 +-
 newlib/libc/string/strrchr.c                 |   5 +-
 newlib/libc/string/strsep.c                  |   3 +-
 newlib/libc/string/strsignal.c               |   3 +-
 newlib/libc/string/strspn.c                  |   9 +-
 newlib/libc/string/strstr.c                  |   5 +-
 newlib/libc/string/strtok.c                  |   3 +-
 newlib/libc/string/strtok_r.c                |  12 +-
 newlib/libc/string/strupr.c                  |   3 +-
 newlib/libc/string/strxfrm.c                 |   5 +-
 newlib/libc/string/swab.c                    |   5 +-
 newlib/libc/string/u_strerr.c                |  11 +-
 newlib/libc/string/wcpcpy.c                  |   5 +-
 newlib/libc/string/wcpncpy.c                 |   5 +-
 newlib/libc/string/wcscasecmp.c              |   5 +-
 newlib/libc/string/wcscat.c                  |   7 +-
 newlib/libc/string/wcschr.c                  |   5 +-
 newlib/libc/string/wcscmp.c                  |   5 +-
 newlib/libc/string/wcscoll.c                 |   5 +-
 newlib/libc/string/wcscpy.c                  |   7 +-
 newlib/libc/string/wcscspn.c                 |   9 +-
 newlib/libc/string/wcslcat.c                 |   7 +-
 newlib/libc/string/wcslcpy.c                 |   7 +-
 newlib/libc/string/wcslen.c                  |   5 +-
 newlib/libc/string/wcsncasecmp.c             |   5 +-
 newlib/libc/string/wcsncat.c                 |   7 +-
 newlib/libc/string/wcsncmp.c                 |   5 +-
 newlib/libc/string/wcsncpy.c                 |   5 +-
 newlib/libc/string/wcsnlen.c                 |   5 +-
 newlib/libc/string/wcspbrk.c                 |   9 +-
 newlib/libc/string/wcsrchr.c                 |   5 +-
 newlib/libc/string/wcsspn.c                  |   9 +-
 newlib/libc/string/wcsstr.c                  |  11 +-
 newlib/libc/string/wcstok.c                  |   5 +-
 newlib/libc/string/wcswidth.c                |   3 +-
 newlib/libc/string/wcsxfrm.c                 |   5 +-
 newlib/libc/string/wcwidth.c                 |   6 +-
 newlib/libc/string/wmemchr.c                 |   5 +-
 newlib/libc/string/wmemcmp.c                 |   5 +-
 newlib/libc/string/wmemcpy.c                 |   5 +-
 newlib/libc/string/wmemmove.c                |   5 +-
 newlib/libc/string/wmempcpy.c                |   5 +-
 newlib/libc/string/wmemset.c                 |   5 +-
 newlib/libc/string/xpg_strerror_r.c          |   5 +-
 newlib/libc/sys/a29khif/getpid.c             |   2 +-
 newlib/libc/sys/a29khif/kill.c               |   3 +-
 newlib/libc/sys/arm/syscalls.c               |  64 +--
 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/getlogin.c             |   2 +-
 newlib/libc/sys/linux/getpwent.c             |   9 +-
 newlib/libc/sys/linux/include/setjmp.h       |   8 +-
 newlib/libc/sys/linux/include/time.h         |  68 ++-
 newlib/libc/sys/linux/pread.c                |  16 +-
 newlib/libc/sys/linux/pread64.c              |   7 +-
 newlib/libc/sys/linux/pwrite.c               |  16 +-
 newlib/libc/sys/linux/pwrite64.c             |   7 +-
 newlib/libc/sys/linux/sys/errno.h            |   4 +-
 newlib/libc/sys/linux/sys/fcntl.h            |  10 +-
 newlib/libc/sys/linux/sys/signal.h           |  20 +-
 newlib/libc/sys/linux/sys/stat.h             |  18 +-
 newlib/libc/sys/linux/sys/stdio.h            |   2 +-
 newlib/libc/sys/linux/sys/string.h           |   2 +-
 newlib/libc/sys/linux/sys/time.h             |  12 +-
 newlib/libc/sys/linux/sys/unistd.h           | 178 +++----
 newlib/libc/sys/linux/sys/utime.h            |   2 +-
 newlib/libc/sys/phoenix/sys/errno.h          |   4 +-
 newlib/libc/sys/rtems/crt0.c                 |  10 +-
 newlib/libc/sys/sparc64/ieee.c               |  20 +-
 newlib/libc/sys/sparc64/sys/fcntl.h          |   6 +-
 newlib/libc/sys/sparc64/sys/stat.h           |  12 +-
 newlib/libc/sys/sun4/ieee.c                  |  20 +-
 newlib/libc/sys/sysnec810/misc.c             |   3 +-
 newlib/libc/sys/sysvi386/fpx.c               |  15 +-
 newlib/libc/sys/sysvnecv70/fpx.c             |  15 +-
 newlib/libc/syscalls/sysclose.c              |   3 +-
 newlib/libc/syscalls/sysexecve.c             |   7 +-
 newlib/libc/syscalls/sysfcntl.c              |   5 +-
 newlib/libc/syscalls/sysfork.c               |   2 +-
 newlib/libc/syscalls/sysfstat.c              |   3 +-
 newlib/libc/syscalls/sysgetpid.c             |   2 +-
 newlib/libc/syscalls/sysgettod.c             |   3 +-
 newlib/libc/syscalls/sysisatty.c             |   3 +-
 newlib/libc/syscalls/syskill.c               |   3 +-
 newlib/libc/syscalls/syslink.c               |   5 +-
 newlib/libc/syscalls/syslseek.c              |   5 +-
 newlib/libc/syscalls/sysopen.c               |  18 +-
 newlib/libc/syscalls/sysread.c               |   5 +-
 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              |   5 +-
 newlib/libc/time/asctime.c                   |   3 +-
 newlib/libc/time/asctime_r.c                 |   7 +-
 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                  |   5 +-
 newlib/libc/time/lcltime.c                   |   3 +-
 newlib/libc/time/lcltime_r.c                 |   7 +-
 newlib/libc/time/local.h                     |  12 +-
 newlib/libc/time/mktime.c                    |  10 +-
 newlib/libc/time/month_lengths.c             |   2 +-
 newlib/libc/time/strftime.c                  |  14 +-
 newlib/libc/time/strptime.c                  |   2 +-
 newlib/libc/time/time.c                      |   3 +-
 newlib/libc/time/tzcalc_limits.c             |   9 +-
 newlib/libc/time/tzlock.c                    |   8 +-
 newlib/libc/time/tzset.c                     |   8 +-
 newlib/libc/time/tzset_r.c                   |  10 +-
 newlib/libc/unix/basename.c                  |   3 +-
 newlib/libc/unix/dirname.c                   |   3 +-
 newlib/libc/unix/getut.c                     |   2 +-
 newlib/libc/unix/pread.c                     |  16 +-
 newlib/libc/unix/pwrite.c                    |  16 +-
 newlib/libc/unix/ttyname.c                   |   3 +-
 newlib/libc/unix/ttyname_r.c                 |   5 +-
 newlib/libc/xdr/xdr.c                        | 115 ++---
 newlib/libc/xdr/xdr_array.c                  |  20 +-
 newlib/libc/xdr/xdr_float.c                  |   6 +-
 newlib/libc/xdr/xdr_float_vax.c              |   6 +-
 newlib/libc/xdr/xdr_mem.c                    | 100 ++--
 newlib/libc/xdr/xdr_private.c                |   9 +-
 newlib/libc/xdr/xdr_private.h                |  12 +-
 newlib/libc/xdr/xdr_rec.c                    | 119 ++---
 newlib/libc/xdr/xdr_reference.c              |  14 +-
 newlib/libc/xdr/xdr_sizeof.c                 |  40 +-
 newlib/libc/xdr/xdr_stdio.c                  |  65 ++-
 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/math/wf_acos.c                   |   5 -
 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              |   7 +-
 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                |   5 +-
 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             |   7 +-
 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               |   5 +-
 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/mathfp/zmath.h                   |  24 +-
 newlib/libm/test/convert.c                   |  46 +-
 newlib/libm/test/dcvt.c                      |  61 +--
 newlib/libm/test/math.c                      |  79 ++--
 newlib/libm/test/math2.c                     |  14 +-
 newlib/libm/test/string.c                    |  14 +-
 newlib/libm/test/test.c                      |  33 +-
 newlib/libm/test/test.h                      |  28 +-
 newlib/libm/test/test_ieee.c                 |  15 +-
 newlib/libm/test/test_is.c                   |  53 +--
 winsup/cygwin/include/attr/xattr.h           |  24 +-
 winsup/cygwin/include/cygwin/stdlib.h        |   4 +-
 winsup/cygwin/include/fcntl.h                |   4 +-
 winsup/cygwin/include/pty.h                  |   8 +-
 winsup/cygwin/include/sys/file.h             |   2 +-
 winsup/cygwin/include/sys/stdio.h            |   4 +-
 winsup/cygwin/include/sys/utime.h            |   2 +-
 winsup/cygwin/libc/strptime.cc               |   2 +-
 921 files changed, 5621 insertions(+), 7547 deletions(-)
 delete mode 100644 newlib/doc/ansidecl.h

-- 
2.15.1

Comments

Corinna Vinschen Dec. 12, 2017, 12:49 p.m. UTC | #1
On Dec  7 12:18, Yaakov Selkowitz wrote:
> Yaakov Selkowitz (17):

>   ansification: remove _AND

>   ansification: remove _CONST

>   ansification: remove _DOTS

>   ansification: remove _NOARGS

>   ansification: remove _PARAMS

>   ansification: remove _VOID_PTR

>   ansification: remove _PTR

>   ansification: remove _CAST_VOID

>   ansification: remove _DEFUN_VOID

>   ansification: remove _VOID

>   ansification: remove _VOLATILE, _SIGNED

>   ansification: remove _DEFUN

>   ansification: remove _EXFNPTR, _EXPARM

>   ansification: remove _EXFUN, _EXFUN_NOTHROW

>   ansification: remove _HAVE_STDC

>   ansification: fix makedoc for ANSI C

>   ansification: remove ansidecl.h from makedoc


ACK to series.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
Jeff Johnston Dec. 18, 2017, 10:29 p.m. UTC | #2
ACK as well, but please add some documentation.  We can bump the major
release
for the yearly snapshot so you can doc that as of 3.0.0, K&R compiler
support has been dropped.

-- Jeff J.

On Tue, Dec 12, 2017 at 7:49 AM, Corinna Vinschen <vinschen@redhat.com>
wrote:

> On Dec  7 12:18, Yaakov Selkowitz wrote:

> > Yaakov Selkowitz (17):

> >   ansification: remove _AND

> >   ansification: remove _CONST

> >   ansification: remove _DOTS

> >   ansification: remove _NOARGS

> >   ansification: remove _PARAMS

> >   ansification: remove _VOID_PTR

> >   ansification: remove _PTR

> >   ansification: remove _CAST_VOID

> >   ansification: remove _DEFUN_VOID

> >   ansification: remove _VOID

> >   ansification: remove _VOLATILE, _SIGNED

> >   ansification: remove _DEFUN

> >   ansification: remove _EXFNPTR, _EXPARM

> >   ansification: remove _EXFUN, _EXFUN_NOTHROW

> >   ansification: remove _HAVE_STDC

> >   ansification: fix makedoc for ANSI C

> >   ansification: remove ansidecl.h from makedoc

>

> ACK to series.

>

>

> Thanks,

> Corinna

>

> --

> Corinna Vinschen

> Cygwin Maintainer

> Red Hat

>
Sebastian Huber Jan. 9, 2018, 2:33 p.m. UTC | #3
Hello,

On 18/12/17 23:29, Jeff Johnston wrote:
> ACK as well, but please add some documentation.  We can bump the major

> release

> for the yearly snapshot so you can doc that as of 3.0.0, K&R compiler

> support has been dropped.


what is the status of this patch set? Would it be possible to get a 
release candidate snapshot once this is committed? This would greatly 
simplify the testing on our side.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
Yaakov Selkowitz Jan. 10, 2018, 3:58 p.m. UTC | #4
On 2017-12-18 16:29, Jeff Johnston wrote:
> ACK as well, but please add some documentation.


Where, exactly?

-- 
Yaakov
Yaakov Selkowitz Jan. 17, 2018, 2:49 a.m. UTC | #5
On 2018-01-10 09:58, Yaakov Selkowitz wrote:
> On 2017-12-18 16:29, Jeff Johnston wrote:

>> ACK as well, but please add some documentation.

> 

> Where, exactly?


newlib/README already says the following since at least 2000:

NOTE THAT YOU MUST HAVE ALREADY BUILT AND INSTALLED GCC and BINUTILS.

Which would already rule out any ancient or custom K&R compilers, so I'm
really not sure if and how to further specify this.

-- 
Yaakov
Jeff Johnston Jan. 17, 2018, 3:58 p.m. UTC | #6
I already mentioned I would do the docs if you checked in the patches.  It
would be a simple
statement to say that K&R support used to exist but was removed as of 3.0.
As well, there
is a section on more documentation and you can state that docs used to have
multiple formats
supported, but no longer.   Anyway, as I said, I will do the docs as part
of the 3.0 snapshot.

-- Jeff J.

On Tue, Jan 16, 2018 at 9:49 PM, Yaakov Selkowitz <yselkowitz@cygwin.com>
wrote:

> On 2018-01-10 09:58, Yaakov Selkowitz wrote:

> > On 2017-12-18 16:29, Jeff Johnston wrote:

> >> ACK as well, but please add some documentation.

> >

> > Where, exactly?

>

> newlib/README already says the following since at least 2000:

>

> NOTE THAT YOU MUST HAVE ALREADY BUILT AND INSTALLED GCC and BINUTILS.

>

> Which would already rule out any ancient or custom K&R compilers, so I'm

> really not sure if and how to further specify this.

>

> --

> Yaakov

>

>
Sebastian Huber Jan. 18, 2018, 12:35 p.m. UTC | #7
On 09/01/18 15:33, Sebastian Huber wrote:
> Hello,

>

> On 18/12/17 23:29, Jeff Johnston wrote:

>> ACK as well, but please add some documentation.  We can bump the major

>> release

>> for the yearly snapshot so you can doc that as of 3.0.0, K&R compiler

>> support has been dropped.

>

> what is the status of this patch set? Would it be possible to get a 

> release candidate snapshot once this is committed? This would greatly 

> simplify the testing on our side.

>


I was able to build all RTEMS targets (except m32c due to GCC bugs) with 
the GCC 7.3 release candidate and the Newlib with these patches applied 
(4cd1905add4404d995f1a7c77bc298957b01f91d).

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.