This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/5] Resubmission: headers cleanups


I sent these patches last week, but they all got mangled by
Thunderbird, so here they all are again.  The first two patches
address many-glibcs build testing problems; the latter three are
improvements to the string, stdio, and wchar headers.  Some minor
corrections have been made throughout, and the "const-covariance"
patch has been dropped because of Paul's concerns about diagnostic
quality.

My branch zack/headers-cleanups contains all of these patches plus one
of Joseph's ia64 build fixes
<https://sourceware.org/ml/libc-alpha/2016-11/msg00314.html>.

zw

Zack Weinberg (5):
  Make all of sysdeps/ia64/fpu/libm-symbols.h only visible to
    libc||libm; move #defines from makefile there.
  Always suppress libc-internal declarations for C++ code.
  Clean up conditionals for declaration of gets().
  Clean up redundancies between string.h and strings.h.
  The bits/types/*.h treatment for stdio and wchar.

 debug/Makefile                      |  31 +++---
 debug/tst-chk1.c                    |   5 +
 grp/grp.h                           |   3 +-
 gshadow/gshadow.h                   |   4 +-
 hurd/hurd.h                         |   3 +-
 iconv/gconv.h                       |   6 +-
 include/bits/types/FILE.h           |   1 +
 include/bits/types/__FILE.h         |   1 +
 include/bits/types/__mbstate_t.h    |   1 +
 include/bits/types/mbstate_t.h      |   1 +
 include/bits/types/wint_t.h         |   1 +
 include/bits/wctype-wchar.h         |   1 +
 include/errno.h                     |   2 +-
 include/features.h                  |  11 +++
 include/libc-symbols.h              |   9 ++
 include/stdio.h                     |  35 +------
 include/stdlib.h                    |   4 -
 include/string.h                    |   2 +
 include/time.h                      |   4 -
 include/unistd.h                    |   3 -
 include/wchar.h                     |  12 +--
 include/wctype.h                    |  29 +-----
 libio/Makefile                      |   3 +-
 libio/bits/stdio2.h                 |   3 +-
 libio/bits/types/FILE.h             |  16 ++++
 libio/bits/types/__FILE.h           |   7 ++
 libio/stdio.h                       |  67 +++----------
 mach/mach.h                         |   6 +-
 misc/mntent.h                       |   4 +-
 pwd/pwd.h                           |   3 +-
 shadow/shadow.h                     |   4 +-
 stdio-common/Makefile               |   3 +
 stdio-common/printf.h               |   5 +-
 stdio-common/tst-gets.c             |   6 +-
 string/string.h                     | 104 +-------------------
 string/strings.h                    |  70 +++++++-------
 sysdeps/generic/_G_config.h         |   7 +-
 sysdeps/ia64/fpu/Makefile           |   6 +-
 sysdeps/ia64/fpu/libm-symbols.h     |  15 +++
 sysdeps/unix/sysv/linux/_G_config.h |   7 +-
 wcsmbs/Makefile                     |   3 +-
 wcsmbs/bits/types/__mbstate_t.h     |  19 ++++
 wcsmbs/bits/types/mbstate_t.h       |  14 +++
 wcsmbs/bits/types/wint_t.h          |  27 ++++++
 wcsmbs/uchar.h                      |  12 +--
 wcsmbs/wchar.h                      | 140 ++++++---------------------
 wctype/Makefile                     |   2 +-
 wctype/bits/wctype-wchar.h          | 180 +++++++++++++++++++++++++++++++++++
 wctype/wctype.h                     | 183 ++----------------------------------
 49 files changed, 464 insertions(+), 621 deletions(-)
 create mode 100644 include/bits/types/FILE.h
 create mode 100644 include/bits/types/__FILE.h
 create mode 100644 include/bits/types/__mbstate_t.h
 create mode 100644 include/bits/types/mbstate_t.h
 create mode 100644 include/bits/types/wint_t.h
 create mode 100644 include/bits/wctype-wchar.h
 create mode 100644 libio/bits/types/FILE.h
 create mode 100644 libio/bits/types/__FILE.h
 create mode 100644 wcsmbs/bits/types/__mbstate_t.h
 create mode 100644 wcsmbs/bits/types/mbstate_t.h
 create mode 100644 wcsmbs/bits/types/wint_t.h
 create mode 100644 wctype/bits/wctype-wchar.h

-- 
2.10.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]