mailing list of musl libc
 help / color / mirror / code / Atom feed
* [PATCH 0/2] Resolve compiler warnings in master
@ 2019-06-29 21:22 Samuel Holland
  2019-06-29 21:22 ` [PATCH 1/2] resolve -Wrestrict warnings Samuel Holland
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Samuel Holland @ 2019-06-29 21:22 UTC (permalink / raw)
  To: musl; +Cc: Samuel Holland

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



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

end of thread, other threads:[~2019-06-29 23:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-29 21:22 [PATCH 0/2] Resolve compiler warnings in master Samuel Holland
2019-06-29 21:22 ` [PATCH 1/2] resolve -Wrestrict warnings Samuel Holland
2019-06-29 21:22 ` [PATCH 2/2] use the correct attributes for ___errno_location Samuel Holland
2019-06-29 21:49   ` Rich Felker
2019-06-29 21:46 ` [PATCH 0/2] Resolve compiler warnings in master Rich Felker
2019-06-29 23:05   ` Samuel Holland

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).