Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 13 Sep 2015 23:06:40 +0200
From: Felix Janda <felix.janda@...teo.de>
To: musl@...ts.openwall.com
Subject: [PATCH 0/2] bits/termios.h deduplication

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.