From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14296 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Samuel Holland Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH 0/2] Resolve compiler warnings in master Date: Sat, 29 Jun 2019 16:22:42 -0500 Message-ID: <20190629212244.42963-1-samuel@sholland.org> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="75860"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Samuel Holland To: musl@lists.openwall.com Original-X-From: musl-return-14312-gllmg-musl=m.gmane.org@lists.openwall.com Sat Jun 29 23:23:14 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1hhKoU-000JeD-4E for gllmg-musl@m.gmane.org; Sat, 29 Jun 2019 23:23:14 +0200 Original-Received: (qmail 13709 invoked by uid 550); 29 Jun 2019 21:23:00 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 13410 invoked from network); 29 Jun 2019 21:22:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm3; bh=zkYd4hGsWp9PsvU5RL0C6Nc34u FTLN+t0onDCG5W9yQ=; b=o8py1MuRfHy8RbNJPDQulsqppMI6wFlH6Mpi2Kpdm/ 4+BusxRHugdr59K/CLqC/i/em7LSXnX5BDS+32Xp+/qo+uvoweXAfICKgXOqwhqt Fw865DLEazIjc2LLNWVDdjIkymSCto8wFe3F/h5jsva08RQ3YowuY5AZiirhsOgi aiDoCKcg2RITiSiAOD1ReyrBHDxOcs84J5DQ9JD28s1Qkt8lUMcM1C5YvrJ7IJ8r nCIy9Jh1ZokuFsIsy70W9Cr8SJ8+akMeWn340YdL3kpbuo5UzOqErYpUMzonXrg+ ta0R5gGsuYxAbtjSy+0HR/YXDnppz4RY4ACRBl9fWp1g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=zkYd4hGsWp9PsvU5R L0C6Nc34uFTLN+t0onDCG5W9yQ=; b=edWdr2z7aEW3M/OUnSSEfuGhQ9QGMLIwJ mCxdrk8zcX6VIXutKNzLe43pKEUYcNWYL9RQUvU99z4bMVUEMankYgKrg18E4/Ub NgZ5ZIIW/Yr3LapY5Syb7bxmLsXpUFMjK58MpVIATZWazVNShfDDtO8oSnZVz21u rqtn5sMgdKZOYGjpPOXSGVaxVCGpWE+wpkVBRE8qNVDcgsXKFRmfpf31Gl1jsRSx NbWLK7jeGy1kHKHaqO4aQEzNgcFNiI2PlL4RnLqsoO5VkCBwcuxJJPwX6EoB59Pu TXmSzKyOUFcG/EkXUR1Qndk/5OPdgUSVbavIh2CAwQd3h+4/QzmaA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrvddvgdduiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepufgrmhhuvghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhho lhhlrghnugdrohhrgheqnecukfhppeejtddrudefhedrudegkedrudehudenucfrrghrrg hmpehmrghilhhfrhhomhepshgrmhhuvghlsehshhholhhlrghnugdrohhrghenucevlhhu shhtvghrufhiiigvpedt X-ME-Proxy: X-Mailer: git-send-email 2.21.0 Xref: news.gmane.org gmane.linux.lib.musl.general:14296 Archived-At: 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