From patchwork Wed May 3 20:50:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Butterfield X-Patchwork-Id: 9710417 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AA1856021C for ; Wed, 3 May 2017 20:50:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C2C728694 for ; Wed, 3 May 2017 20:50:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9153528699; Wed, 3 May 2017 20:50:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3023328697 for ; Wed, 3 May 2017 20:50:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757532AbdECUup (ORCPT ); Wed, 3 May 2017 16:50:45 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:35280 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754354AbdECUup (ORCPT ); Wed, 3 May 2017 16:50:45 -0400 Received: by mail-it0-f65.google.com with SMTP id 131so191115itz.2 for ; Wed, 03 May 2017 13:50:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mlg6XaaIEXhuaczxS1F31ugXANo1t6diyxTYXGgYOtw=; b=hTIk2gabE7xgNSVkgwYSordeXMY1BYCq1gsxn7CzkIFLgdlImlXQEuYjV5KmIiR61o oA2Vjt8gMf2lUM8oX9CDAGun70PtsOUEmIvijp59vTh2P8QiWyuzLIpXw7ts/orCnmgS CZ3Hk3/AFx8gSPgXF77jOMsaKtpYvd27xl5aIjF2Mv+VwH2qHQ4pCPOHfXh3jntPuiA6 xWP0OugK5xR9qr84CnQ3acgIKaLTNMjBrG+w0XI3XU3pGsp4cR6/D1650k63Hkj3MVFT 0fboXCyHZdvuAPnF/rNAVcp+13f9RcCcl4j1jSU/7LKFwVjWTT45xvCcveCDdvS07YTa A0TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mlg6XaaIEXhuaczxS1F31ugXANo1t6diyxTYXGgYOtw=; b=Pg0jiOe0kANy5NeQndTtO3Sb61BINBnxWPnZ5rTCm11/+Lpcq/lHG7CShACvvNOmJz xHfE2l0EBccKvnFE5par43+dV+TzAnyNLSTA3nj59E+uSDQ/P39Uq/NvQMgMKz1cxLfi 4VzhAXwpf5eIlCkOQFRHYFjy3kZDClB74+pZ/FVSIrhgRkv0PkXX5TCDMQtffsUazskN ON4qm/JVvR2FM9n/KRlISsQF1REtCMZ9WeSG0pxAx190e916ShMug9UjRFjvfGZ8XgyB /tULaxJTd58bmTkLtHj5TYs/Cmjg9rk7tjmqI2h5X6AEMV+st9A/x1c0ZerdBu3cuCyR OrlA== X-Gm-Message-State: AN3rC/4HfYGyI3kvC91q6Qbedq/1zbAY0DPqCnFH1WYLgPviFoEgtVBJ O7Ganr0r6yhsAuTk X-Received: by 10.36.58.14 with SMTP id m14mr10375088itm.26.1493844644305; Wed, 03 May 2017 13:50:44 -0700 (PDT) Received: from localhost.localdomain (c-73-181-28-74.hsd1.co.comcast.net. [73.181.28.74]) by smtp.gmail.com with ESMTPSA id z26sm61277ita.8.2017.05.03.13.50.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 May 2017 13:50:43 -0700 (PDT) From: David Butterfield To: target-devel@vger.kernel.org Cc: David Butterfield Subject: [PATCH] avoid "redefined" _GNU_SOURCE by defining as 1 Date: Wed, 3 May 2017 14:50:07 -0600 Message-Id: <20170503205007.21976-3-dab21774@gmail.com> X-Mailer: git-send-email 2.12.2.575.gb14f27f In-Reply-To: <20170503205007.21976-1-dab21774@gmail.com> References: <20170503205007.21976-1-dab21774@gmail.com> Sender: target-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: target-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Avoid "redefined" _GNU_SOURCE compiler warning by defining it in rbd.c the same way it is defined on the conventional "gcc -D_GNU_SOURCE" command line. Signed-off-by: David Butterfield --- rbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rbd.c b/rbd.c index ed50aa5..8f78e54 100644 --- a/rbd.c +++ b/rbd.c @@ -14,7 +14,7 @@ * under the License. */ -#define _GNU_SOURCE +#define _GNU_SOURCE 1 #include #include #include