From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 277A2C3A5A6 for ; Wed, 28 Aug 2019 07:10:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F38DC20828 for ; Wed, 28 Aug 2019 07:10:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b="Peiew2Vb"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="pgAR5TXx" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726292AbfH1HKi (ORCPT ); Wed, 28 Aug 2019 03:10:38 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:47249 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726340AbfH1HKi (ORCPT ); Wed, 28 Aug 2019 03:10:38 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id DE0972221C for ; Wed, 28 Aug 2019 03:10:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 28 Aug 2019 03:10:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=8/j+2Y1dbHjza 5Pt5iDd4OimapmgmKN+bPWjskjWaqY=; b=Peiew2VbGGDc0mC5CXn0FranRbf6p HfbgS8XcT3Fz+V7v/gF9986+74ZFQ3OIrfpsVoOh+SZEomXwdziopr/6Y8HH2ooo DqbT8Tmg1/wJK52eD9HGAsGMFfY3QH+/J8SvfHEX7BaepthnjpTvsklUxHOuNuOt OuK69ZPK24fxN3OxYrg3AAra221XPgrIqZYfEzr1tzCXqhKCOvf8rKKZOPArl9ua ZTm0h6MfZCFU+EwJ9NjFj1jsPsDHUpkTGgLX7uw0+23iG4Z1Vh9cUkuWM9NtJzAP kxxZZjoiqqC0xqvoQXlHM8S2f+1ukCAJ8jMC6ikMxCgHuvUnwkfgPmNMw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=8/j+2Y1dbHjza5Pt5iDd4OimapmgmKN+bPWjskjWaqY=; b=pgAR5TXx LsS/ltVSovP/rC6cATg+GstfoBWeG4M3Aus3wYu96J4T5itTRHrqnUqIyPXAE2yX 64xSVvEIoQis9bfmuUXmBmjJqRRnzPvh7D0WNGukeU9BzKR9bVS1BDxDYKVDsSV6 Xy1f13ybmm0a4pZ8mm/loamBwJiap9drpH3ZK3pE4dgdkMM2WrkTDzfVX6G03grM Df/GtHMQU6TLclLH8SPX+QRT8cf3657IyvkkB2QdsyYcE23SyUkVIuKkZOdqRboZ wDTCfGm03I8HerZPA2JqXE4M2LB9avkkiVOYKm1l6k8lkN/mXjQ5Bnq/24r5Vyb9 qJ1gA1Kj63L3Fg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudehledgudduiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefrrghtrhhitghkucfuthgvihhnhhgrrhguthcuoehpshes phhkshdrihhmqeenucfkphepjeejrdduuddrudehhedrvdehheenucfrrghrrghmpehmrg hilhhfrhhomhepphhssehpkhhsrdhimhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from NSJAIL (x4d0b9bff.dyn.telefonica.de [77.11.155.255]) by mail.messagingengine.com (Postfix) with ESMTPA id 54FA8D60062 for ; Wed, 28 Aug 2019 03:10:36 -0400 (EDT) Received: from localhost (10.192.0.11 [10.192.0.11]) by NSJAIL (OpenSMTPD) with ESMTPSA id 7f3c31de (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 28 Aug 2019 07:10:34 +0000 (UTC) From: Patrick Steinhardt To: linux-nfs@vger.kernel.org Cc: Patrick Steinhardt Subject: [PATCH 3/6] Use header instead of Date: Wed, 28 Aug 2019 09:10:14 +0200 Message-Id: <736b1f0b3f59286150bf6b1eddcc0789c97bd9a9.1566976047.git.ps@pks.im> X-Mailer: git-send-email 2.23.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org The POSIX standard specifies that poll(3P) should be declared in the header instead of . While there is one location where we use the correct header, two others do not, causing warnings on musl libc systems. Fix the warning by switching from to . As we're already using the latter one already, this change should not cause any problems for other platforms. Signed-off-by: Patrick Steinhardt --- utils/gssd/svcgssd_main_loop.c | 2 +- utils/statd/sm-notify.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/gssd/svcgssd_main_loop.c b/utils/gssd/svcgssd_main_loop.c index b5681ce1..920520d0 100644 --- a/utils/gssd/svcgssd_main_loop.c +++ b/utils/gssd/svcgssd_main_loop.c @@ -34,7 +34,7 @@ #include #include -#include +#include #include #include #include diff --git a/utils/statd/sm-notify.c b/utils/statd/sm-notify.c index abfb8bc7..739731f5 100644 --- a/utils/statd/sm-notify.c +++ b/utils/statd/sm-notify.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include -- 2.23.0