Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 29 Jun 2019 18:19:03 -0500
From: Samuel Holland <samuel@...lland.org>
To: musl@...ts.openwall.com
Cc: Samuel Holland <samuel@...lland.org>
Subject: [PATCH v2 0/3] Resolve compiler warnings in master

These three patches resolve some compiler warnings about mismatched
attributes, and restrict violations, and a macro redifinition.

Fixing the header prototype for ___errno_location does provide the
expected optimization improvement:

Before:
   text    data     bss     dec     hex filename
 675262    2146   11568  688976   a8350 lib/libc.so

After:
   text    data     bss     dec     hex filename
 674838    2146   11568  688552   a81a8 lib/libc.so

Changes since v1:
- Move the attribute to the prototype in src/include/errno.h
- Add patch 3

Samuel Holland (3):
  resolve -Wrestrict warnings
  use the correct attributes for ___errno_location
  Revert "mips,powerpc: fix TIOCSER_TEMT in termios.h"

 arch/mips/bits/termios.h      | 2 +-
 arch/mips64/bits/termios.h    | 2 +-
 arch/mipsn32/bits/termios.h   | 2 +-
 arch/powerpc/bits/termios.h   | 2 +-
 arch/powerpc64/bits/termios.h | 2 +-
 src/aio/lio_listio.c          | 6 +++---
 src/include/errno.h           | 3 +++
 src/signal/sigset.c           | 8 ++++----
 src/unistd/ualarm.c           | 6 +++---
 9 files changed, 18 insertions(+), 15 deletions(-)

-- 
2.21.0

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.