mailing list of musl libc
 help / color / mirror / code / Atom feed
* [PATCH 0/2] bits/termios.h deduplication
@ 2015-09-13 21:06 Felix Janda
  2015-09-13 21:12 ` [PATCH 1/2] fix namespace violations in aarch64/bits/termios.h Felix Janda
  2015-09-13 21:13 ` [PATCH 2/2] reindent powerpc's bits/termios.h to be consistent with other archs Felix Janda
  0 siblings, 2 replies; 5+ messages in thread
From: Felix Janda @ 2015-09-13 21:06 UTC (permalink / raw)
  To: musl

The below patches make it easier to see which parts of bits/termios.h
can be deduplicated.

Except for mips and powerpc the headers are identical.

Unfortunately, the header for powerpc is very different from the rest.
The main things which are identical among all headers are B0 up to
B38400 and the 10 constants starting with TCOOFF.

Only mips and powerpc define EXTA, EXTB and BOTHER. Since these
constants are also defined in <asm-generic/termbits.h> it is not clear
to me why. POSIX reserves EXTA and EXTB but not BOTHER, which therefore
violates the namespace.

Felix Janda (2):
  fix namespace violations in aarch64/bits/termios.h
  reindent powerpc's bits/termios.h to be consistent with other archs

 arch/aarch64/bits/termios.h |  14 +--
 arch/powerpc/bits/termios.h | 278 ++++++++++++++++++++++----------------------
 2 files changed, 145 insertions(+), 147 deletions(-)

-- 
2.4.6


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-09-15 18:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-13 21:06 [PATCH 0/2] bits/termios.h deduplication Felix Janda
2015-09-13 21:12 ` [PATCH 1/2] fix namespace violations in aarch64/bits/termios.h Felix Janda
2015-09-13 21:35   ` Szabolcs Nagy
2015-09-13 21:13 ` [PATCH 2/2] reindent powerpc's bits/termios.h to be consistent with other archs Felix Janda
2015-09-15 18:33   ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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