From patchwork Wed Aug 28 07:10:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Steinhardt X-Patchwork-Id: 11117931 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 840B61800 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 6364A22DA7 for ; Wed, 28 Aug 2019 07:10:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b="irHN+61c"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="JV5bHNIn" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726258AbfH1HKi (ORCPT ); Wed, 28 Aug 2019 03:10:38 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:52107 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726368AbfH1HKi (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 EA4A922305 for ; Wed, 28 Aug 2019 03:10:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) 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=0wc7Gau0xii4k Jxb8zXQS3Ds82T+ZIi0Mk5LiRoOcLE=; b=irHN+61c+nPvOs9Drmws7KhUSfqys pma7TlMDLq2X29WnA/JtiN4Zgj9oqjRjoEerVa+Y+GzNPfmlI6BV0I7RfgP4Fdpi PAqpjtI8G0mgEr1Xf5OLH1zfNYhT1Ou8X1fr/3kNdUF61E4TMf45t19FjqG5u+B6 Pbt5pTABtNjlp4WOQ6z65clEw4Uk6Usv13+l7KxsdSSqDyROugYXzeHkQU5v/Ue/ RoPoMg4QH6mE+PtKZbfNhINWd+gFrRQZzUy1m4VVRua3zj/VLjBywtfWO93ao+fO DH6I2fCrTH6HfCQjWbRGSlJUV7pMflzEyzVQCZNpP4ubSPE7ZOqbRd+cA== 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=0wc7Gau0xii4kJxb8zXQS3Ds82T+ZIi0Mk5LiRoOcLE=; b=JV5bHNIn oWsbfYF9lADngZ4HPIbo1CCd9+8eKWgVN9obxgA1x9KvkCErJDlbILxJY7c1gd9s K5aV/iDzR3argKEKdFjI99rHxKEdBzDJL9PX9GGJU9AbJ8C7T4scwQyCspy+SBga 1WEFAtpaqhzl5cDafEMzdXnEPZ6HzpQh3lm3NP6rf9QaDZrb8NdA1uqXBWD8eVb4 V9UWR3ANkSAziOVzdFvLua3PmqlubkNwKKAFD58u1Jai/wN7WqRfgzL7Q4ZClNbg sNHUBqUgJH5xKlFJUxl3diVQS6NUKROJwhpq/kpUoJ4AoOdke3q2dT1XW2xkGxJF 2Cde9JEhPUfQnA== 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 4B70880059 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 d38a8fcf (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 28 Aug 2019 07:10:33 +0000 (UTC) From: Patrick Steinhardt To: linux-nfs@vger.kernel.org Cc: Patrick Steinhardt Subject: [PATCH 2/6] Use header instead of Date: Wed, 28 Aug 2019 09:10:13 +0200 Message-Id: <7c8b5df691c0b12c656e0dd8d350f260308dc115.1566976047.git.ps@pks.im> X-Mailer: git-send-email 2.23.0 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org While most source files already use the standard header instead of , some do not, causing warnings on musl libc systems. Fix the remaining ones to use . As we already use the header unconditionally in a lot of places, this change should not cause any problems for other platforms. Signed-off-by: Patrick Steinhardt --- support/export/xtab.c | 2 +- support/nfs/rmtab.c | 2 +- support/nfs/svc_socket.c | 2 +- support/nfs/xio.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/support/export/xtab.c b/support/export/xtab.c index 1e1d679e..00b25eaa 100644 --- a/support/export/xtab.c +++ b/support/export/xtab.c @@ -10,7 +10,7 @@ #include #endif -#include +#include #include #include #include diff --git a/support/nfs/rmtab.c b/support/nfs/rmtab.c index 2ecb2cc9..9f03167d 100644 --- a/support/nfs/rmtab.c +++ b/support/nfs/rmtab.c @@ -10,7 +10,7 @@ #include #endif -#include +#include #include #include #include diff --git a/support/nfs/svc_socket.c b/support/nfs/svc_socket.c index 5afc6aa5..2e8fe1af 100644 --- a/support/nfs/svc_socket.c +++ b/support/nfs/svc_socket.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include #include "xlog.h" #include "rpcmisc.h" diff --git a/support/nfs/xio.c b/support/nfs/xio.c index e3d27d2f..6962751d 100644 --- a/support/nfs/xio.c +++ b/support/nfs/xio.c @@ -10,7 +10,7 @@ #include #endif -#include +#include #include #include #include