This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[2.24 PATCH 0/3] sys/sysmacros.h and sys.types.h, revised^n
- From: Zack Weinberg <zackw at panix dot com>
- To: libc-alpha at sourceware dot org
- Cc: adhemerval dot zanella at linaro dot org, vapier at gentoo dot org, carlos at redhat dot com
- Date: Sun, 31 Jul 2016 16:09:21 -0400
- Subject: [2.24 PATCH 0/3] sys/sysmacros.h and sys.types.h, revised^n
- Authentication-results: sourceware.org; auth=none
I've rebased the patches for deprecating inclusion of
<sys/sysmacros.h> by <sys/types.h> against latest trunk (now with 96%
fewer changes to .abilist files!) I have also redesigned the new
bits/sysmacros.h mechanism yet again; I hope this will address Mike
Frysinger's stylistic concerns.
It's my understanding that this series is still wanted for 2.24. I
will need someone to commit it for me (how do I apply for commit
privileges? this is becoming tedious)
zw
Zack Weinberg (3):
Add utility macros for clang detection, and deprecation with messages.
Minimize sysdeps code involved in defining major/minor/makedev.
Deprecate inclusion of <sys/sysmacros.h> by <sys/types.h>
NEWS | 16 +++++
bits/sysmacros.h | 74 ++++++++++++++++++++
include/features.h | 19 +++--
include/sys/sysmacros.h | 1 +
misc/Makefile | 7 +-
misc/Versions | 3 +
misc/makedev.c | 30 ++++++++
misc/sys/cdefs.h | 22 +++++-
misc/sys/sysmacros.h | 120 ++++++++++++++++++++++++++++++++
misc/tst-makedev.c | 104 +++++++++++++++++++++++++++
posix/Makefile | 2 +-
posix/sys/types.h | 8 ++-
sysdeps/arm/nacl/libc.abilist | 4 ++
sysdeps/generic/sys/sysmacros.h | 30 --------
sysdeps/unix/sysv/linux/Makefile | 2 +-
sysdeps/unix/sysv/linux/makedev.c | 40 -----------
sysdeps/unix/sysv/linux/sys/sysmacros.h | 65 -----------------
17 files changed, 401 insertions(+), 146 deletions(-)
create mode 100644 bits/sysmacros.h
create mode 100644 include/sys/sysmacros.h
create mode 100644 misc/makedev.c
create mode 100644 misc/sys/sysmacros.h
create mode 100644 misc/tst-makedev.c
delete mode 100644 sysdeps/generic/sys/sysmacros.h
delete mode 100644 sysdeps/unix/sysv/linux/makedev.c
delete mode 100644 sysdeps/unix/sysv/linux/sys/sysmacros.h
--
2.8.1