From patchwork Mon Apr 29 17:00:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 163080 Delivered-To: patch@linaro.org Received: by 2002:a92:7e86:0:0:0:0:0 with SMTP id q6csp2164987ill; Mon, 29 Apr 2019 10:31:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzT4cyyJh8HjSYFJQuQvBc6hOo6uf0W83Bu64zzkRJyzqlvfNrs6XI6xCltSlpUt/Q3dG9g X-Received: by 2002:adf:cc8a:: with SMTP id p10mr84314wrj.34.1556559105644; Mon, 29 Apr 2019 10:31:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556559105; cv=none; d=google.com; s=arc-20160816; b=LNSU7RyvS1lRPgE9ffY15Pi/u48LNQDQkoDiz6o4cJrCc6OPkEHkwcRGWmLenF4Tud wx20WnjJIQQLhO+WSyhSNfOQtXWSBe1p2r4Oye4LIJWY5nlwuzNRORWLF2+CmXdnKMLx J6Ei0k/I5b+ga7nkAE0J3ZP3JJ6No1v6THxuM8umQ9jJuAztrPX1zphYODBYNAQz+iJR ucLCXOqMY8IfDRx+fec0Ej1akc4oxh5dbCmwuryPkvY6HN6UZaQwY3O5DHinUTyipNxw KWjPNSGVIShLZapnDdGbMK6gQbVrrq3G/f66KO8iMNPHU8bsE91ciJ0fbzW3dg1fbzTz 65LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=csK17uX4zEJUIr2MrElaSeoN3nAbg+cexz+KK3ZxpK4=; b=yPsm9AQsNY3uuwj7neh23TfCvsk7aeUAjFzULWeaXxDJS+EcZwpzOClW4ZCoQ+ySa5 t21guahD48LG1xsls03lhojDij9UGDSjWREnRubNvR2UXTZrhY6G41aoAOYXIfk2M9Zx h7HZu5xEH0iG740CZcpLA3f7ptsaW6BLiDgzh8xjnrssqKKdH/Ne0pkMUczdRNqhu7MH JmbEh4xLL3YT6l6MHxtLkkmSrMF/ZZf9261x2pXL7vv1sOmjYlYLBRM2CByUjXWD5fZU o2tawbAuqvJJzdj85QBwJVzMlbegIKj2JYut3UH9kTaZdGHEnnGGGWSR8coOcj5tbMaZ Ds8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Tm6yIhCZ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x5si24184228wrd.204.2019.04.29.10.31.45 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 29 Apr 2019 10:31:45 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Tm6yIhCZ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:32816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLA80-0006CV-HL for patch@linaro.org; Mon, 29 Apr 2019 13:31:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hL9fM-0005On-6e for qemu-devel@nongnu.org; Mon, 29 Apr 2019 13:02:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hL9fH-0006zK-2y for qemu-devel@nongnu.org; Mon, 29 Apr 2019 13:02:06 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:38628) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hL9fD-0006fd-Qz for qemu-devel@nongnu.org; Mon, 29 Apr 2019 13:02:01 -0400 Received: by mail-wr1-x42b.google.com with SMTP id k16so17123991wrn.5 for ; Mon, 29 Apr 2019 10:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=csK17uX4zEJUIr2MrElaSeoN3nAbg+cexz+KK3ZxpK4=; b=Tm6yIhCZZJFDqhuB+8ysUVKeZC22lYqdVJb7vyeXej927VSjp0TN3XArXTNdfpvBmS 6gDOxdif6o3es1D4jp7mNsuFJRfLaxei9vSkK5f/Qqq2Z+EFiHmlD89+dpy7WGVZ85Tr yBvmFQSXeTOEcVwShzZdF07EG/t13yqMfS/+MW0sQEA6uYSOF2/erbnlyTIwes6HdINL d/VTm7iEOpfGTMqTR9O5EZ2LsmnK4gpqlfhlV/lFsJ25rKh+YCaeIV2Vg5QOsq9rgAq2 KLYlMBO8icJilE92TgfIFOQoqbazjU0GZmjL5qDF73aVQEztWKrVbw2WGB0CvRaxJDQl XD+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=csK17uX4zEJUIr2MrElaSeoN3nAbg+cexz+KK3ZxpK4=; b=KzeidImxOrIwCJOjdF9kwP/L6FWCqvqLUkFaYB8IvGBvsUthWuLxhSybaAvieVFJZr jhQbwbtPcdGtNaNDOyTSsDfjvjkCUeDIsld97ilSl37Qpy5hfeSwX/Z32AhFnFTtys0i ngkjwbc2iO+xQHh9YonQj3xCw1eZg51xjBjBV45knTMOpE57TxC0P64FfNr7dS4cQ3T9 dXo867cJSNlzlTMXS7RGn4g9u7wgxCSBmKyjcxC5BKQfxZUAPNVuS4q1Q4YTY7QQx9GI HHA+SvV7wRpu600pYfo5jBDBfHMIzpERv9C18DFMLnaZQ0l28dfAkMavMokeSfOjY8yw UL4Q== X-Gm-Message-State: APjAAAXXmzemndEQpdq41wkQKD+oC6c66pWJRw4wMHCTtQQ3fPGJCfNa S89D8tgckF7VJLDHCSMEZqkg0LQ2qDE= X-Received: by 2002:adf:f102:: with SMTP id r2mr13262873wro.136.1556557283919; Mon, 29 Apr 2019 10:01:23 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id a13sm36896wmj.39.2019.04.29.10.01.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Apr 2019 10:01:23 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Date: Mon, 29 Apr 2019 18:00:28 +0100 Message-Id: <20190429170030.11323-41-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190429170030.11323-1-peter.maydell@linaro.org> References: <20190429170030.11323-1-peter.maydell@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42b Subject: [Qemu-devel] [PULL 40/42] hw/net/ne2000-isa: Add guards to the header X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Markus Armbruster Signed-off-by: Philippe Mathieu-Daudé Message-id: 20190412165416.7977-11-philmd@redhat.com Signed-off-by: Peter Maydell --- include/hw/net/ne2000-isa.h | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.20.1 diff --git a/include/hw/net/ne2000-isa.h b/include/hw/net/ne2000-isa.h index ff2bed9c95d..527337c4548 100644 --- a/include/hw/net/ne2000-isa.h +++ b/include/hw/net/ne2000-isa.h @@ -6,6 +6,10 @@ * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ + +#ifndef HW_NET_NE2K_ISA_H +#define HW_NET_NE2K_ISA_H + #include "hw/hw.h" #include "hw/qdev.h" #include "hw/isa/isa.h" @@ -31,3 +35,5 @@ static inline ISADevice *isa_ne2000_init(ISABus *bus, int base, int irq, } return d; } + +#endif