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

These two patches resolve some compiler warnings about mismatched
attributes and restrict violations. There's another warning, related
to duplicate definitions of TIOCSER_TEMT on some arches; I'm not sure
which header needs to be changed. It results in:

./include/sys/ioctl.h:47: warning: "TIOCSER_TEMT" redefined

The definitions are:

arch/mips/bits/termios.h:#define TIOCSER_TEMT 0x01
arch/mips64/bits/termios.h:#define TIOCSER_TEMT 0x01
arch/mipsn32/bits/termios.h:#define TIOCSER_TEMT 0x01
arch/powerpc/bits/termios.h:#define TIOCSER_TEMT 0x01
arch/powerpc64/bits/termios.h:#define TIOCSER_TEMT 0x01
include/sys/ioctl.h:#define TIOCSER_TEMT 1

Samuel Holland (2):
  resolve -Wrestrict warnings
  use the correct attributes for ___errno_location

 src/aio/lio_listio.c         | 6 +++---
 src/errno/__errno_location.c | 6 +++++-
 src/signal/sigset.c          | 8 ++++----
 src/unistd/ualarm.c          | 6 +++---
 4 files changed, 15 insertions(+), 11 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.