mbox series

[00/24] Remove TRAD_SYNOPSIS

Message ID 20171130102858.16160-1-yselkowi@redhat.com
Headers show
Series Remove TRAD_SYNOPSIS | expand

Message

Yaakov Selkowitz Nov. 30, 2017, 10:28 a.m. UTC
This completely removes TRAD_SYNOPSIS and renames ANSI_SYNOPSIS to
SYNOPSIS throughout Newlib's docuemntation.  I'm just not sure about
the doc tools themselves; should support for both of those names also
be removed?

Yaakov Selkowitz (24):
  ctype: remove TRAD_SYNOPSIS
  iconv: remove TRAD_SYNOPSIS
  locale: remove TRAD_SYNOPSIS
  microblaze: remove TRAD_SYNOPSIS
  nds32: remove TRAD_SYNOPSIS
  powerpc: remove TRAD_SYNOPSIS
  misc: remove TRAD_SYNOPSIS
  posix: remove TRAD_SYNOPSIS
  reent: remove TRAD_SYNOPSIS
  search: remove TRAD_SYNOPSIS
  signal: remove TRAD_SYNOPSIS
  stdio: remove TRAD_SYNOPSIS
  stdio64: remove TRAD_SYNOPSIS
  stdlib: remove TRAD_SYNOPSIS
  string: remove TRAD_SYNOPSIS
  sys: remove TRAD_SYNOPSIS
  time: remove TRAD_SYNOPSIS
  unix: remove TRAD_SYNOPSIS
  libm/common: remove TRAD_SYNOPSIS
  complex: remove TRAD_SYNOPSIS
  libm/machine: remove TRAD_SYNOPSIS
  math: remove TRAD_SYNOPSIS
  mathfp: remove TRAD_SYNOPSIS
  HOWTO: remove reference to TRAD_SYNOPSIS

 newlib/HOWTO                              |  8 +----
 newlib/libc/ctype/isalnum.c               |  6 +---
 newlib/libc/ctype/isalpha.c               |  6 +---
 newlib/libc/ctype/isascii.c               |  6 +---
 newlib/libc/ctype/isblank.c               |  6 +---
 newlib/libc/ctype/iscntrl.c               |  6 +---
 newlib/libc/ctype/isdigit.c               |  6 +---
 newlib/libc/ctype/islower.c               |  6 +---
 newlib/libc/ctype/isprint.c               |  7 +---
 newlib/libc/ctype/ispunct.c               |  6 +---
 newlib/libc/ctype/isspace.c               |  6 +---
 newlib/libc/ctype/isupper.c               |  6 +---
 newlib/libc/ctype/iswalnum.c              |  7 +---
 newlib/libc/ctype/iswalpha.c              |  7 +---
 newlib/libc/ctype/iswblank.c              |  7 +---
 newlib/libc/ctype/iswcntrl.c              |  7 +---
 newlib/libc/ctype/iswctype.c              |  8 +----
 newlib/libc/ctype/iswdigit.c              |  7 +---
 newlib/libc/ctype/iswgraph.c              |  7 +---
 newlib/libc/ctype/iswlower.c              |  7 +---
 newlib/libc/ctype/iswprint.c              |  7 +---
 newlib/libc/ctype/iswpunct.c              |  7 +---
 newlib/libc/ctype/iswspace.c              |  7 +---
 newlib/libc/ctype/iswupper.c              |  7 +---
 newlib/libc/ctype/iswxdigit.c             |  7 +---
 newlib/libc/ctype/isxdigit.c              |  6 +---
 newlib/libc/ctype/toascii.c               |  7 +---
 newlib/libc/ctype/tolower.c               |  7 +---
 newlib/libc/ctype/toupper.c               |  7 +---
 newlib/libc/ctype/towctrans.c             |  8 +----
 newlib/libc/ctype/towlower.c              |  7 +---
 newlib/libc/ctype/towupper.c              |  7 +---
 newlib/libc/ctype/wctrans.c               |  7 +---
 newlib/libc/ctype/wctype.c                |  7 +---
 newlib/libc/iconv/lib/iconv.c             | 40 +---------------------
 newlib/libc/locale/duplocale.c            |  2 +-
 newlib/libc/locale/freelocale.c           |  2 +-
 newlib/libc/locale/locale.c               | 18 +---------
 newlib/libc/locale/newlocale.c            |  2 +-
 newlib/libc/locale/uselocale.c            |  2 +-
 newlib/libc/machine/microblaze/abort.c    |  6 +---
 newlib/libc/machine/microblaze/strcmp.c   |  8 +----
 newlib/libc/machine/microblaze/strcpy.c   |  8 +----
 newlib/libc/machine/microblaze/strlen.c   |  7 +---
 newlib/libc/machine/nds32/abort.c         |  6 +---
 newlib/libc/machine/powerpc/atosfix16.c   | 25 +-------------
 newlib/libc/machine/powerpc/atoufix16.c   | 25 +-------------
 newlib/libc/machine/powerpc/strtosfix16.c | 31 +----------------
 newlib/libc/machine/powerpc/strtoufix16.c | 31 +----------------
 newlib/libc/machine/powerpc/vec_calloc.c  | 14 +-------
 newlib/libc/machine/powerpc/vec_malloc.c  | 28 +--------------
 newlib/libc/machine/powerpc/vfprintf.c    | 49 +-------------------------
 newlib/libc/machine/powerpc/vfscanf.c     | 36 +------------------
 newlib/libc/misc/ffs.c                    |  6 +---
 newlib/libc/misc/lock.c                   |  2 +-
 newlib/libc/misc/unctrl.c                 |  7 +---
 newlib/libc/posix/popen.c                 |  2 +-
 newlib/libc/posix/posix_spawn.c           |  2 +-
 newlib/libc/reent/closer.c                |  8 +----
 newlib/libc/reent/execr.c                 | 25 ++------------
 newlib/libc/reent/fcntlr.c                | 10 +-----
 newlib/libc/reent/fstat64r.c              |  9 +----
 newlib/libc/reent/fstatr.c                |  9 +----
 newlib/libc/reent/gettimeofdayr.c         | 10 +-----
 newlib/libc/reent/isattyr.c               |  8 +----
 newlib/libc/reent/linkr.c                 |  9 +----
 newlib/libc/reent/lseek64r.c              | 10 +-----
 newlib/libc/reent/lseekr.c                | 10 +-----
 newlib/libc/reent/mkdirr.c                |  9 +----
 newlib/libc/reent/open64r.c               | 10 +-----
 newlib/libc/reent/openr.c                 | 10 +-----
 newlib/libc/reent/readr.c                 | 10 +-----
 newlib/libc/reent/renamer.c               |  9 +----
 newlib/libc/reent/sbrkr.c                 |  8 +----
 newlib/libc/reent/signalr.c               | 16 ++-------
 newlib/libc/reent/stat64r.c               |  9 +----
 newlib/libc/reent/statr.c                 |  9 +----
 newlib/libc/reent/timesr.c                |  9 +----
 newlib/libc/reent/unlinkr.c               |  8 +----
 newlib/libc/reent/writer.c                | 10 +-----
 newlib/libc/search/bsearch.c              | 10 +-----
 newlib/libc/search/qsort.c                | 10 +-----
 newlib/libc/search/qsort_r.c              | 11 +-----
 newlib/libc/signal/psignal.c              |  8 +----
 newlib/libc/signal/raise.c                | 11 +-----
 newlib/libc/signal/signal.c               | 13 +------
 newlib/libc/stdio/clearerr.c              | 12 +------
 newlib/libc/stdio/diprintf.c              |  2 +-
 newlib/libc/stdio/dprintf.c               |  2 +-
 newlib/libc/stdio/fclose.c                | 11 +-----
 newlib/libc/stdio/fcloseall.c             |  9 +----
 newlib/libc/stdio/fdopen.c                | 13 +------
 newlib/libc/stdio/feof.c                  | 12 +------
 newlib/libc/stdio/ferror.c                | 12 +------
 newlib/libc/stdio/fflush.c                |  2 +-
 newlib/libc/stdio/fgetc.c                 | 23 +------------
 newlib/libc/stdio/fgetpos.c               | 13 +------
 newlib/libc/stdio/fgets.c                 | 30 +---------------
 newlib/libc/stdio/fgetwc.c                | 49 +-------------------------
 newlib/libc/stdio/fgetws.c                | 30 +---------------
 newlib/libc/stdio/fileno.c                | 12 +------
 newlib/libc/stdio/fmemopen.c              |  2 +-
 newlib/libc/stdio/fopen.c                 | 13 +------
 newlib/libc/stdio/fopencookie.c           |  2 +-
 newlib/libc/stdio/fpurge.c                |  2 +-
 newlib/libc/stdio/fputc.c                 | 26 +-------------
 newlib/libc/stdio/fputs.c                 | 26 +-------------
 newlib/libc/stdio/fputwc.c                | 57 +------------------------------
 newlib/libc/stdio/fputws.c                | 26 +-------------
 newlib/libc/stdio/fread.c                 | 34 +-----------------
 newlib/libc/stdio/freopen.c               | 15 +-------
 newlib/libc/stdio/fseek.c                 | 26 +-------------
 newlib/libc/stdio/fseeko.c                | 26 +-------------
 newlib/libc/stdio/fsetlocking.c           |  2 +-
 newlib/libc/stdio/fsetpos.c               | 13 +------
 newlib/libc/stdio/ftell.c                 | 18 +---------
 newlib/libc/stdio/ftello.c                | 18 +---------
 newlib/libc/stdio/funopen.c               |  2 +-
 newlib/libc/stdio/fwide.c                 | 13 +------
 newlib/libc/stdio/fwrite.c                | 34 +-----------------
 newlib/libc/stdio/getc.c                  | 12 +------
 newlib/libc/stdio/getchar.c               |  9 +----
 newlib/libc/stdio/getdelim.c              | 10 +-----
 newlib/libc/stdio/getline.c               |  9 +----
 newlib/libc/stdio/gets.c                  | 12 +------
 newlib/libc/stdio/getw.c                  |  7 +---
 newlib/libc/stdio/getwchar.c              | 18 +---------
 newlib/libc/stdio/mktemp.c                |  2 +-
 newlib/libc/stdio/nano-vfprintf.c         |  2 +-
 newlib/libc/stdio/nano-vfscanf.c          | 36 +------------------
 newlib/libc/stdio/open_memstream.c        |  2 +-
 newlib/libc/stdio/perror.c                | 11 +-----
 newlib/libc/stdio/putc.c                  | 14 +-------
 newlib/libc/stdio/putchar.c               | 11 +-----
 newlib/libc/stdio/puts.c                  | 11 +-----
 newlib/libc/stdio/putw.c                  |  8 +----
 newlib/libc/stdio/putwchar.c              | 21 +-----------
 newlib/libc/stdio/remove.c                | 11 +-----
 newlib/libc/stdio/rename.c                |  8 +----
 newlib/libc/stdio/rewind.c                | 11 +-----
 newlib/libc/stdio/setbuf.c                |  8 +----
 newlib/libc/stdio/setbuffer.c             |  9 +----
 newlib/libc/stdio/setlinebuf.c            |  7 +---
 newlib/libc/stdio/setvbuf.c               | 10 +-----
 newlib/libc/stdio/siprintf.c              |  2 +-
 newlib/libc/stdio/siscanf.c               | 32 +----------------
 newlib/libc/stdio/sprintf.c               |  2 +-
 newlib/libc/stdio/sscanf.c                | 32 +----------------
 newlib/libc/stdio/stdio_ext.c             |  2 +-
 newlib/libc/stdio/swprintf.c              |  2 +-
 newlib/libc/stdio/swscanf.c               | 32 +----------------
 newlib/libc/stdio/tmpfile.c               |  7 +---
 newlib/libc/stdio/tmpnam.c                | 20 +----------
 newlib/libc/stdio/ungetc.c                |  2 +-
 newlib/libc/stdio/ungetwc.c               |  2 +-
 newlib/libc/stdio/vfprintf.c              |  2 +-
 newlib/libc/stdio/vfscanf.c               | 36 +------------------
 newlib/libc/stdio/vfwprintf.c             |  2 +-
 newlib/libc/stdio/vfwscanf.c              | 36 +------------------
 newlib/libc/stdio/viprintf.c              |  2 +-
 newlib/libc/stdio/viscanf.c               | 36 +------------------
 newlib/libc/stdio64/fgetpos64.c           | 12 +------
 newlib/libc/stdio64/fopen64.c             | 13 +------
 newlib/libc/stdio64/freopen64.c           | 15 +-------
 newlib/libc/stdio64/fseeko64.c            | 15 +-------
 newlib/libc/stdio64/fsetpos64.c           | 13 +------
 newlib/libc/stdio64/ftello64.c            | 11 +-----
 newlib/libc/stdio64/tmpfile64.c           |  9 +----
 newlib/libc/stdlib/_Exit.c                |  7 +---
 newlib/libc/stdlib/a64l.c                 | 10 +-----
 newlib/libc/stdlib/abort.c                |  6 +---
 newlib/libc/stdlib/abs.c                  |  7 +---
 newlib/libc/stdlib/assert.c               |  2 +-
 newlib/libc/stdlib/atexit.c               |  7 +---
 newlib/libc/stdlib/atof.c                 | 10 +-----
 newlib/libc/stdlib/atoi.c                 | 19 +----------
 newlib/libc/stdlib/atoll.c                | 11 +-----
 newlib/libc/stdlib/calloc.c               | 14 +-------
 newlib/libc/stdlib/div.c                  |  7 +---
 newlib/libc/stdlib/ecvtbuf.c              | 19 +----------
 newlib/libc/stdlib/efgcvt.c               | 41 ++--------------------
 newlib/libc/stdlib/envlock.c              |  9 +----
 newlib/libc/stdlib/exit.c                 |  7 +---
 newlib/libc/stdlib/getenv.c               |  7 +---
 newlib/libc/stdlib/getenv_r.c             |  8 +----
 newlib/libc/stdlib/itoa.c                 |  2 +-
 newlib/libc/stdlib/labs.c                 |  7 +---
 newlib/libc/stdlib/ldiv.c                 |  7 +---
 newlib/libc/stdlib/llabs.c                |  7 +---
 newlib/libc/stdlib/lldiv.c                |  7 +---
 newlib/libc/stdlib/malloc.c               | 52 +---------------------------
 newlib/libc/stdlib/mblen.c                |  8 +----
 newlib/libc/stdlib/mblen_r.c              | 10 +-----
 newlib/libc/stdlib/mbsnrtowcs.c           | 35 +------------------
 newlib/libc/stdlib/mbstowcs.c             |  9 +----
 newlib/libc/stdlib/mbtowc.c               |  9 +----
 newlib/libc/stdlib/mlock.c                |  9 +----
 newlib/libc/stdlib/mstats.c               | 23 +------------
 newlib/libc/stdlib/on_exit.c              |  8 +----
 newlib/libc/stdlib/rand.c                 | 13 +------
 newlib/libc/stdlib/rand48.c               | 28 +--------------
 newlib/libc/stdlib/random.c               |  2 +-
 newlib/libc/stdlib/rpmatch.c              |  7 +---
 newlib/libc/stdlib/strtod.c               | 17 +--------
 newlib/libc/stdlib/strtol.c               | 15 +-------
 newlib/libc/stdlib/strtoll.c              | 15 +-------
 newlib/libc/stdlib/strtoul.c              | 15 +-------
 newlib/libc/stdlib/strtoull.c             | 15 +-------
 newlib/libc/stdlib/system.c               | 11 +-----
 newlib/libc/stdlib/utoa.c                 |  2 +-
 newlib/libc/stdlib/wcsnrtombs.c           | 35 +------------------
 newlib/libc/stdlib/wcstod.c               | 22 +-----------
 newlib/libc/stdlib/wcstol.c               | 15 +-------
 newlib/libc/stdlib/wcstoll.c              | 15 +-------
 newlib/libc/stdlib/wcstombs.c             |  9 +----
 newlib/libc/stdlib/wcstoul.c              | 15 +-------
 newlib/libc/stdlib/wcstoull.c             | 15 +-------
 newlib/libc/stdlib/wctomb.c               |  8 +----
 newlib/libc/string/bcmp.c                 |  9 +----
 newlib/libc/string/bcopy.c                |  8 +----
 newlib/libc/string/bzero.c                |  8 +----
 newlib/libc/string/index.c                |  8 +----
 newlib/libc/string/memccpy.c              |  9 +----
 newlib/libc/string/memchr.c               |  9 +----
 newlib/libc/string/memcmp.c               |  9 +----
 newlib/libc/string/memcpy.c               |  9 +----
 newlib/libc/string/memmem.c               |  2 +-
 newlib/libc/string/memmove.c              |  9 +----
 newlib/libc/string/mempcpy.c              |  8 +----
 newlib/libc/string/memrchr.c              |  9 +----
 newlib/libc/string/memset.c               |  9 +----
 newlib/libc/string/rawmemchr.c            |  8 +----
 newlib/libc/string/rindex.c               |  8 +----
 newlib/libc/string/stpcpy.c               |  8 +----
 newlib/libc/string/stpncpy.c              |  9 +----
 newlib/libc/string/strcasecmp.c           |  8 +----
 newlib/libc/string/strcasecmp_l.c         |  2 +-
 newlib/libc/string/strcasestr.c           |  8 +----
 newlib/libc/string/strcat.c               |  8 +----
 newlib/libc/string/strchr.c               |  8 +----
 newlib/libc/string/strchrnul.c            |  8 +----
 newlib/libc/string/strcmp.c               |  8 +----
 newlib/libc/string/strcoll.c              |  8 +----
 newlib/libc/string/strcoll_l.c            |  2 +-
 newlib/libc/string/strcpy.c               |  8 +----
 newlib/libc/string/strcspn.c              |  7 +---
 newlib/libc/string/strerror.c             |  7 +---
 newlib/libc/string/strerror_r.c           |  9 +----
 newlib/libc/string/strlen.c               |  7 +---
 newlib/libc/string/strlwr.c               |  7 +---
 newlib/libc/string/strncasecmp.c          |  9 +----
 newlib/libc/string/strncasecmp_l.c        |  2 +-
 newlib/libc/string/strncat.c              |  9 +----
 newlib/libc/string/strncmp.c              |  9 +----
 newlib/libc/string/strncpy.c              |  9 +----
 newlib/libc/string/strnlen.c              |  8 +----
 newlib/libc/string/strnstr.c              |  2 +-
 newlib/libc/string/strpbrk.c              |  8 +----
 newlib/libc/string/strrchr.c              |  8 +----
 newlib/libc/string/strsignal.c            |  7 +---
 newlib/libc/string/strspn.c               |  8 +----
 newlib/libc/string/strstr.c               |  8 +----
 newlib/libc/string/strtok.c               | 17 +--------
 newlib/libc/string/strupr.c               |  7 +---
 newlib/libc/string/strverscmp.c           |  9 +----
 newlib/libc/string/strxfrm.c              |  9 +----
 newlib/libc/string/strxfrm_l.c            |  2 +-
 newlib/libc/string/swab.c                 |  8 +----
 newlib/libc/string/wcpcpy.c               |  7 +---
 newlib/libc/string/wcpncpy.c              |  8 +----
 newlib/libc/string/wcscasecmp.c           |  8 +----
 newlib/libc/string/wcscasecmp_l.c         |  2 +-
 newlib/libc/string/wcscat.c               |  7 +---
 newlib/libc/string/wcschr.c               |  7 +---
 newlib/libc/string/wcscmp.c               |  6 +---
 newlib/libc/string/wcscoll.c              |  8 +----
 newlib/libc/string/wcscoll_l.c            |  2 +-
 newlib/libc/string/wcscpy.c               |  7 +---
 newlib/libc/string/wcscspn.c              |  7 +---
 newlib/libc/string/wcsdup.c               |  8 +----
 newlib/libc/string/wcslcat.c              |  9 +----
 newlib/libc/string/wcslcpy.c              |  9 +----
 newlib/libc/string/wcslen.c               |  6 +---
 newlib/libc/string/wcsncasecmp.c          |  9 +----
 newlib/libc/string/wcsncasecmp_l.c        |  2 +-
 newlib/libc/string/wcsncat.c              |  8 +----
 newlib/libc/string/wcsncmp.c              |  8 +----
 newlib/libc/string/wcsncpy.c              |  8 +----
 newlib/libc/string/wcsnlen.c              |  8 +----
 newlib/libc/string/wcspbrk.c              |  7 +---
 newlib/libc/string/wcsrchr.c              |  8 +----
 newlib/libc/string/wcsspn.c               |  7 +---
 newlib/libc/string/wcsstr.c               |  7 +---
 newlib/libc/string/wcstok.c               |  9 +----
 newlib/libc/string/wcswidth.c             |  8 +----
 newlib/libc/string/wcsxfrm.c              |  9 +----
 newlib/libc/string/wcsxfrm_l.c            |  2 +-
 newlib/libc/string/wcwidth.c              |  7 +---
 newlib/libc/string/wmemchr.c              |  8 +----
 newlib/libc/string/wmemcmp.c              |  8 +----
 newlib/libc/string/wmemcpy.c              |  8 +----
 newlib/libc/string/wmemmove.c             |  8 +----
 newlib/libc/string/wmemset.c              |  8 +----
 newlib/libc/sys/linux/getdate.c           | 11 +-----
 newlib/libc/sys/linux/pread64.c           | 10 +-----
 newlib/libc/sys/linux/pwrite64.c          | 10 +-----
 newlib/libc/sys/rdos/getenv.c             |  7 +---
 newlib/libc/time/asctime.c                | 10 +-----
 newlib/libc/time/clock.c                  |  6 +---
 newlib/libc/time/ctime.c                  | 11 +-----
 newlib/libc/time/difftime.c               |  8 +----
 newlib/libc/time/gmtime.c                 | 10 +-----
 newlib/libc/time/lcltime.c                | 10 +-----
 newlib/libc/time/mktime.c                 |  7 +---
 newlib/libc/time/strftime.c               | 10 +-----
 newlib/libc/time/time.c                   |  7 +---
 newlib/libc/time/tzlock.c                 |  6 +---
 newlib/libc/time/tzset.c                  |  8 +----
 newlib/libc/time/wcsftime.c               |  2 +-
 newlib/libc/unix/pread.c                  | 17 +--------
 newlib/libc/unix/pwrite.c                 | 17 +--------
 newlib/libm/common/isgreater.c            |  2 +-
 newlib/libm/common/s_cbrt.c               |  7 +---
 newlib/libm/common/s_copysign.c           | 12 +------
 newlib/libm/common/s_exp10.c              | 10 +-----
 newlib/libm/common/s_expm1.c              | 10 +-----
 newlib/libm/common/s_fdim.c               |  2 +-
 newlib/libm/common/s_fma.c                |  2 +-
 newlib/libm/common/s_fmax.c               |  2 +-
 newlib/libm/common/s_fmin.c               |  2 +-
 newlib/libm/common/s_ilogb.c              | 11 +-----
 newlib/libm/common/s_infinity.c           |  2 +-
 newlib/libm/common/s_isnan.c              |  2 +-
 newlib/libm/common/s_isnand.c             | 17 +--------
 newlib/libm/common/s_log1p.c              | 10 +-----
 newlib/libm/common/s_log2.c               |  2 +-
 newlib/libm/common/s_logb.c               |  2 +-
 newlib/libm/common/s_lrint.c              |  2 +-
 newlib/libm/common/s_lround.c             |  2 +-
 newlib/libm/common/s_matherr.c            |  7 +---
 newlib/libm/common/s_modf.c               | 12 +------
 newlib/libm/common/s_nan.c                |  7 +---
 newlib/libm/common/s_nearbyint.c          |  2 +-
 newlib/libm/common/s_nextafter.c          | 14 +-------
 newlib/libm/common/s_pow10.c              | 10 +-----
 newlib/libm/common/s_remquo.c             |  2 +-
 newlib/libm/common/s_rint.c               |  2 +-
 newlib/libm/common/s_round.c              |  2 +-
 newlib/libm/common/s_scalbn.c             |  2 +-
 newlib/libm/common/s_signbit.c            |  2 +-
 newlib/libm/common/s_trunc.c              |  2 +-
 newlib/libm/complex/cabs.c                |  2 +-
 newlib/libm/complex/cacos.c               |  2 +-
 newlib/libm/complex/cacosh.c              |  2 +-
 newlib/libm/complex/carg.c                |  2 +-
 newlib/libm/complex/casin.c               |  2 +-
 newlib/libm/complex/casinh.c              |  2 +-
 newlib/libm/complex/catan.c               |  2 +-
 newlib/libm/complex/catanh.c              |  2 +-
 newlib/libm/complex/ccos.c                |  2 +-
 newlib/libm/complex/ccosh.c               |  2 +-
 newlib/libm/complex/cexp.c                |  2 +-
 newlib/libm/complex/cimag.c               |  2 +-
 newlib/libm/complex/clog.c                |  2 +-
 newlib/libm/complex/clog10.c              |  2 +-
 newlib/libm/complex/conj.c                |  2 +-
 newlib/libm/complex/cpow.c                |  2 +-
 newlib/libm/complex/cproj.c               |  2 +-
 newlib/libm/complex/creal.c               |  2 +-
 newlib/libm/complex/csin.c                |  2 +-
 newlib/libm/complex/csinh.c               |  2 +-
 newlib/libm/complex/csqrt.c               |  2 +-
 newlib/libm/complex/ctan.c                |  2 +-
 newlib/libm/complex/ctanh.c               |  2 +-
 newlib/libm/machine/i386/f_llrint.c       |  5 +--
 newlib/libm/machine/i386/f_lrint.c        |  5 +--
 newlib/libm/machine/i386/f_rint.c         |  5 +--
 newlib/libm/math/s_asinh.c                | 10 +-----
 newlib/libm/math/s_atan.c                 | 10 +-----
 newlib/libm/math/s_erf.c                  | 16 +--------
 newlib/libm/math/s_fabs.c                 | 10 +-----
 newlib/libm/math/s_floor.c                | 13 +------
 newlib/libm/math/s_frexp.c                | 13 +------
 newlib/libm/math/s_ldexp.c                | 14 +-------
 newlib/libm/math/s_sin.c                  | 14 +-------
 newlib/libm/math/s_tan.c                  | 11 +-----
 newlib/libm/math/s_tanh.c                 | 11 +-----
 newlib/libm/math/w_acos.c                 | 12 +------
 newlib/libm/math/w_acosh.c                | 10 +-----
 newlib/libm/math/w_asin.c                 | 11 +-----
 newlib/libm/math/w_atan2.c                | 12 +------
 newlib/libm/math/w_atanh.c                | 10 +-----
 newlib/libm/math/w_cosh.c                 | 10 +-----
 newlib/libm/math/w_exp.c                  | 10 +-----
 newlib/libm/math/w_exp2.c                 |  2 +-
 newlib/libm/math/w_fmod.c                 | 10 +-----
 newlib/libm/math/w_gamma.c                | 29 +---------------
 newlib/libm/math/w_hypot.c                |  9 +----
 newlib/libm/math/w_j0.c                   | 35 +------------------
 newlib/libm/math/w_log.c                  | 10 +-----
 newlib/libm/math/w_log10.c                | 10 +-----
 newlib/libm/math/w_pow.c                  | 10 +-----
 newlib/libm/math/w_remainder.c            |  9 +----
 newlib/libm/math/w_sinh.c                 | 10 +-----
 newlib/libm/math/w_sqrt.c                 |  7 +---
 newlib/libm/mathfp/e_acosh.c              | 10 +-----
 newlib/libm/mathfp/e_atanh.c              | 10 +-----
 newlib/libm/mathfp/e_hypot.c              |  9 +----
 newlib/libm/mathfp/e_remainder.c          |  9 +----
 newlib/libm/mathfp/er_lgamma.c            | 25 +-------------
 newlib/libm/mathfp/s_acos.c               | 12 +------
 newlib/libm/mathfp/s_asine.c              | 22 +-----------
 newlib/libm/mathfp/s_asinh.c              | 10 +-----
 newlib/libm/mathfp/s_atan.c               | 10 +-----
 newlib/libm/mathfp/s_atan2.c              | 12 +------
 newlib/libm/mathfp/s_atangent.c           | 19 +----------
 newlib/libm/mathfp/s_cosh.c               | 10 +-----
 newlib/libm/mathfp/s_erf.c                | 16 +--------
 newlib/libm/mathfp/s_exp.c                | 10 +-----
 newlib/libm/mathfp/s_fabs.c               | 10 +-----
 newlib/libm/mathfp/s_floor.c              | 13 +------
 newlib/libm/mathfp/s_fmod.c               | 10 +-----
 newlib/libm/mathfp/s_frexp.c              | 13 +------
 newlib/libm/mathfp/s_ldexp.c              | 13 +------
 newlib/libm/mathfp/s_log10.c              | 10 +-----
 newlib/libm/mathfp/s_logarithm.c          | 16 +--------
 newlib/libm/mathfp/s_pow.c                | 10 +-----
 newlib/libm/mathfp/s_sine.c               | 14 +-------
 newlib/libm/mathfp/s_sineh.c              | 15 +-------
 newlib/libm/mathfp/s_sqrt.c               |  7 +---
 newlib/libm/mathfp/s_tan.c                | 11 +-----
 newlib/libm/mathfp/s_tanh.c               | 11 +-----
 newlib/libm/mathfp/w_jn.c                 | 35 +------------------
 433 files changed, 437 insertions(+), 4015 deletions(-)

-- 
2.15.0

Comments

Craig Howland Nov. 30, 2017, 3:53 p.m. UTC | #1
On 11/30/2017 05:28 AM, Yaakov Selkowitz wrote:
> This completely removes TRAD_SYNOPSIS and renames ANSI_SYNOPSIS to

> SYNOPSIS throughout Newlib's docuemntation.  I'm just not sure about

> the doc tools themselves; should support for both of those names also

> be removed?

>

A thought is to leave them in the doc tools.  Since the tools treat SYNOPSIS and 
ANSI_SYNOPSIS the same, they'll work the same with or without the present 
change.  Leaving in TRAD_SYNOPSIS as something to be ignored plus keeping 
ANSI_SYNOPSIS as working could possibly help out people that have added their 
own stuff, not forcing them to make these same changes.  (Probably a very small 
to non-existent set of people, but it is difficult to know if there are any or 
not.)  It doesn't seem to hurt anything to leave them, although adding a note 
that they have been retained for legacy purposes might be a good idea.

Thank you for doing this.  I've thought of doing this for a long while, but have 
never had the time to actually go ahead and do it.

Craig
Corinna Vinschen Nov. 30, 2017, 4:11 p.m. UTC | #2
On Nov 30 10:53, Craig Howland wrote:
> On 11/30/2017 05:28 AM, Yaakov Selkowitz wrote:

> > This completely removes TRAD_SYNOPSIS and renames ANSI_SYNOPSIS to

> > SYNOPSIS throughout Newlib's docuemntation.  I'm just not sure about

> > the doc tools themselves; should support for both of those names also

> > be removed?

> > 

> A thought is to leave them in the doc tools.  Since the tools treat SYNOPSIS

> and ANSI_SYNOPSIS the same, they'll work the same with or without the

> present change.  Leaving in TRAD_SYNOPSIS as something to be ignored plus

> keeping ANSI_SYNOPSIS as working could possibly help out people that have

> added their own stuff, not forcing them to make these same changes. 

> (Probably a very small to non-existent set of people, but it is difficult to

> know if there are any or not.)  It doesn't seem to hurt anything to leave

> them, although adding a note that they have been retained for legacy

> purposes might be a good idea.


Wouldn't it be better in the long run to fail on seeing a TRAD_SYNOPSIS
or ANSI_SYNOPSIS and tell the dev to remove the first and to rename the
latter?  It's not very hard to fix,

Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
Craig Howland Nov. 30, 2017, 5:40 p.m. UTC | #3
On 11/30/2017 11:11 AM, Corinna Vinschen wrote:
> On Nov 30 10:53, Craig Howland wrote:

>> On 11/30/2017 05:28 AM, Yaakov Selkowitz wrote:

>>> This completely removes TRAD_SYNOPSIS and renames ANSI_SYNOPSIS to

>>> SYNOPSIS throughout Newlib's docuemntation.  I'm just not sure about

>>> the doc tools themselves; should support for both of those names also

>>> be removed?

>>>

>> A thought is to leave them in the doc tools.  Since the tools treat SYNOPSIS

>> and ANSI_SYNOPSIS the same, they'll work the same with or without the

>> present change.  Leaving in TRAD_SYNOPSIS as something to be ignored plus

>> keeping ANSI_SYNOPSIS as working could possibly help out people that have

>> added their own stuff, not forcing them to make these same changes.

>> (Probably a very small to non-existent set of people, but it is difficult to

>> know if there are any or not.)  It doesn't seem to hurt anything to leave

>> them, although adding a note that they have been retained for legacy

>> purposes might be a good idea.

> Wouldn't it be better in the long run to fail on seeing a TRAD_SYNOPSIS

> or ANSI_SYNOPSIS and tell the dev to remove the first and to rename the

> latter?  It's not very hard to fix,

>

> Corinna

>

It depends on your point of view.  I agree that it is easy to fix, but the idea 
of keeping it was thinking that if I happened to have files that suddenly became 
obsolete and I had to spend to to alter the word I would be annoyed at the waste 
of time:  discover the problem, track down how to fix it, then do it.  Figuring 
it out would likely be the longest.  So either way works, but I gave it as an 
idea as perhaps avoiding some frustration that could be avoided. Your idea for a 
direct message that those two names are now no good it would eliminate the 
track-down step I had thought of, and would make it quite a bit better.
Craig
Corinna Vinschen Nov. 30, 2017, 6:05 p.m. UTC | #4
On Nov 30 12:40, Craig Howland wrote:
> On 11/30/2017 11:11 AM, Corinna Vinschen wrote:

> > On Nov 30 10:53, Craig Howland wrote:

> > > On 11/30/2017 05:28 AM, Yaakov Selkowitz wrote:

> > > > This completely removes TRAD_SYNOPSIS and renames ANSI_SYNOPSIS to

> > > > SYNOPSIS throughout Newlib's docuemntation.  I'm just not sure about

> > > > the doc tools themselves; should support for both of those names also

> > > > be removed?

> > > > 

> > > A thought is to leave them in the doc tools.  Since the tools treat SYNOPSIS

> > > and ANSI_SYNOPSIS the same, they'll work the same with or without the

> > > present change.  Leaving in TRAD_SYNOPSIS as something to be ignored plus

> > > keeping ANSI_SYNOPSIS as working could possibly help out people that have

> > > added their own stuff, not forcing them to make these same changes.

> > > (Probably a very small to non-existent set of people, but it is difficult to

> > > know if there are any or not.)  It doesn't seem to hurt anything to leave

> > > them, although adding a note that they have been retained for legacy

> > > purposes might be a good idea.

> > Wouldn't it be better in the long run to fail on seeing a TRAD_SYNOPSIS

> > or ANSI_SYNOPSIS and tell the dev to remove the first and to rename the

> > latter?  It's not very hard to fix,

> > 

> > Corinna

> > 

> It depends on your point of view.  I agree that it is easy to fix, but the

> idea of keeping it was thinking that if I happened to have files that

> suddenly became obsolete and I had to spend to to alter the word I would be

> annoyed at the waste of time:  discover the problem, track down how to fix

> it, then do it.  Figuring it out would likely be the longest.


That was the idea: The doc building process should not simply fail but
explain what's wrong and just print a matching message during build:

  "bla bla, outdated, remove TRAD_SYNOPSIS and rename ANSI_SYNOPSIS
   to SYNOPSIS, bla, bla"


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
Yaakov Selkowitz Dec. 1, 2017, 12:08 a.m. UTC | #5
On 2017-11-30 12:05, Corinna Vinschen wrote:
> On Nov 30 12:40, Craig Howland wrote:

>> On 11/30/2017 11:11 AM, Corinna Vinschen wrote:

>>> On Nov 30 10:53, Craig Howland wrote:

>>>> On 11/30/2017 05:28 AM, Yaakov Selkowitz wrote:

>>>>> This completely removes TRAD_SYNOPSIS and renames ANSI_SYNOPSIS to

>>>>> SYNOPSIS throughout Newlib's docuemntation.  I'm just not sure about

>>>>> the doc tools themselves; should support for both of those names also

>>>>> be removed?

>>>>>

>>>> A thought is to leave them in the doc tools.  Since the tools treat SYNOPSIS

>>>> and ANSI_SYNOPSIS the same, they'll work the same with or without the

>>>> present change.  Leaving in TRAD_SYNOPSIS as something to be ignored plus

>>>> keeping ANSI_SYNOPSIS as working could possibly help out people that have

>>>> added their own stuff, not forcing them to make these same changes.

>>>> (Probably a very small to non-existent set of people, but it is difficult to

>>>> know if there are any or not.)  It doesn't seem to hurt anything to leave

>>>> them, although adding a note that they have been retained for legacy

>>>> purposes might be a good idea.

>>> Wouldn't it be better in the long run to fail on seeing a TRAD_SYNOPSIS

>>> or ANSI_SYNOPSIS and tell the dev to remove the first and to rename the

>>> latter?  It's not very hard to fix,

>>>

>> It depends on your point of view.  I agree that it is easy to fix, but the

>> idea of keeping it was thinking that if I happened to have files that

>> suddenly became obsolete and I had to spend to to alter the word I would be

>> annoyed at the waste of time:  discover the problem, track down how to fix

>> it, then do it.  Figuring it out would likely be the longest.

> 

> That was the idea: The doc building process should not simply fail but

> explain what's wrong and just print a matching message during build:

> 

>   "bla bla, outdated, remove TRAD_SYNOPSIS and rename ANSI_SYNOPSIS

>    to SYNOPSIS, bla, bla"


Apparently error messages during doc building are printed to a
non-obvious location, meaning these probably wouldn't be seen.  Simply
removing any mention of these tags apparently causes them to be ignored.
 Is there a way to raise an error when these tags are found?

If there is no simple solution to this, perhaps we should consider this
separately from the existing patchset.

-- 
Yaakov
Corinna Vinschen Dec. 1, 2017, 9:38 a.m. UTC | #6
On Nov 30 18:08, Yaakov Selkowitz wrote:
> On 2017-11-30 12:05, Corinna Vinschen wrote:

> > On Nov 30 12:40, Craig Howland wrote:

> >> On 11/30/2017 11:11 AM, Corinna Vinschen wrote:

> >>> On Nov 30 10:53, Craig Howland wrote:

> >>>> On 11/30/2017 05:28 AM, Yaakov Selkowitz wrote:

> >>>>> This completely removes TRAD_SYNOPSIS and renames ANSI_SYNOPSIS to

> >>>>> SYNOPSIS throughout Newlib's docuemntation.  I'm just not sure about

> >>>>> the doc tools themselves; should support for both of those names also

> >>>>> be removed?

> >>>>>

> >>>> A thought is to leave them in the doc tools.  Since the tools treat SYNOPSIS

> >>>> and ANSI_SYNOPSIS the same, they'll work the same with or without the

> >>>> present change.  Leaving in TRAD_SYNOPSIS as something to be ignored plus

> >>>> keeping ANSI_SYNOPSIS as working could possibly help out people that have

> >>>> added their own stuff, not forcing them to make these same changes.

> >>>> (Probably a very small to non-existent set of people, but it is difficult to

> >>>> know if there are any or not.)  It doesn't seem to hurt anything to leave

> >>>> them, although adding a note that they have been retained for legacy

> >>>> purposes might be a good idea.

> >>> Wouldn't it be better in the long run to fail on seeing a TRAD_SYNOPSIS

> >>> or ANSI_SYNOPSIS and tell the dev to remove the first and to rename the

> >>> latter?  It's not very hard to fix,

> >>>

> >> It depends on your point of view.  I agree that it is easy to fix, but the

> >> idea of keeping it was thinking that if I happened to have files that

> >> suddenly became obsolete and I had to spend to to alter the word I would be

> >> annoyed at the waste of time:  discover the problem, track down how to fix

> >> it, then do it.  Figuring it out would likely be the longest.

> > 

> > That was the idea: The doc building process should not simply fail but

> > explain what's wrong and just print a matching message during build:

> > 

> >   "bla bla, outdated, remove TRAD_SYNOPSIS and rename ANSI_SYNOPSIS

> >    to SYNOPSIS, bla, bla"

> 

> Apparently error messages during doc building are printed to a

> non-obvious location, meaning these probably wouldn't be seen.  Simply

> removing any mention of these tags apparently causes them to be ignored.

>  Is there a way to raise an error when these tags are found?

> 

> If there is no simple solution to this, perhaps we should consider this

> separately from the existing patchset.


Makes sense.  ACK to the series.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
Jon Turney Dec. 4, 2017, 4:19 p.m. UTC | #7
On 01/12/2017 09:38, Corinna Vinschen wrote:
> On Nov 30 18:08, Yaakov Selkowitz wrote:

>> On 2017-11-30 12:05, Corinna Vinschen wrote:

>>> On Nov 30 12:40, Craig Howland wrote:

>>>> On 11/30/2017 11:11 AM, Corinna Vinschen wrote:

>>>>> On Nov 30 10:53, Craig Howland wrote:

>>>>>> On 11/30/2017 05:28 AM, Yaakov Selkowitz wrote:

>>>>>>> This completely removes TRAD_SYNOPSIS and renames ANSI_SYNOPSIS to

>>>>>>> SYNOPSIS throughout Newlib's docuemntation.  I'm just not sure about

>>>>>>> the doc tools themselves; should support for both of those names also

>>>>>>> be removed?

>>>>>>>

>>>>>> A thought is to leave them in the doc tools.  Since the tools treat SYNOPSIS

>>>>>> and ANSI_SYNOPSIS the same, they'll work the same with or without the

>>>>>> present change.  Leaving in TRAD_SYNOPSIS as something to be ignored plus

>>>>>> keeping ANSI_SYNOPSIS as working could possibly help out people that have

>>>>>> added their own stuff, not forcing them to make these same changes.

>>>>>> (Probably a very small to non-existent set of people, but it is difficult to

>>>>>> know if there are any or not.)  It doesn't seem to hurt anything to leave

>>>>>> them, although adding a note that they have been retained for legacy

>>>>>> purposes might be a good idea.

>>>>> Wouldn't it be better in the long run to fail on seeing a TRAD_SYNOPSIS

>>>>> or ANSI_SYNOPSIS and tell the dev to remove the first and to rename the

>>>>> latter?  It's not very hard to fix,

>>>>>

>>>> It depends on your point of view.  I agree that it is easy to fix, but the

>>>> idea of keeping it was thinking that if I happened to have files that

>>>> suddenly became obsolete and I had to spend to to alter the word I would be

>>>> annoyed at the waste of time:  discover the problem, track down how to fix

>>>> it, then do it.  Figuring it out would likely be the longest.

>>>

>>> That was the idea: The doc building process should not simply fail but

>>> explain what's wrong and just print a matching message during build:

>>>

>>>    "bla bla, outdated, remove TRAD_SYNOPSIS and rename ANSI_SYNOPSIS

>>>     to SYNOPSIS, bla, bla"

>>

>> Apparently error messages during doc building are printed to a

>> non-obvious location, meaning these probably wouldn't be seen.  Simply

>> removing any mention of these tags apparently causes them to be ignored.


To amplify on this, in Makefile.shared we currently have:

> CHEW = ${top_builddir}/../doc/makedoc -f $(top_srcdir)/../doc/doc.str

> 

> .c.def:

>         $(CHEW) < $< > $*.def 2> $*.ref


makedoc outputs something related to QUICKREF to stderr, along with any 
errors or warnings it produces.

Presumably the .ref file was at some stage intended to be used to 
produce some sort of 'quick reference', but the details are lost in time...

I'd suggest that QUICKREF is turned into a no-op, and then we can stop 
redirecting the output of makedoc.

>>   Is there a way to raise an error when these tags are found?

>>

>> If there is no simple solution to this, perhaps we should consider this

>> separately from the existing patchset.

> 

> Makes sense.  ACK to the series.