From patchwork Thu Sep 10 08:58:34 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 33278 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id B7E87B7080 for ; Thu, 10 Sep 2009 19:12:41 +1000 (EST) Received: from localhost ([127.0.0.1]:60466 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mlfhl-0004b7-1a for incoming@patchwork.ozlabs.org; Thu, 10 Sep 2009 05:12:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlfUn-0005S8-Nb for qemu-devel@nongnu.org; Thu, 10 Sep 2009 04:59:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlfUi-0005Os-0m for qemu-devel@nongnu.org; Thu, 10 Sep 2009 04:59:12 -0400 Received: from [199.232.76.173] (port=49321 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlfUh-0005On-Ld for qemu-devel@nongnu.org; Thu, 10 Sep 2009 04:59:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19272) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MlfUg-0007Vy-S5 for qemu-devel@nongnu.org; Thu, 10 Sep 2009 04:59:07 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8A8x59l019905 for ; Thu, 10 Sep 2009 04:59:05 -0400 Received: from zweiblum.home.kraxel.org (vpn2-9-74.ams2.redhat.com [10.36.9.74]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id n8A8x2l1027875; Thu, 10 Sep 2009 04:59:04 -0400 Received: by zweiblum.home.kraxel.org (Postfix, from userid 500) id 81D83700E5; Thu, 10 Sep 2009 10:58:56 +0200 (CEST) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Thu, 10 Sep 2009 10:58:34 +0200 Message-Id: <1252573135-27688-3-git-send-email-kraxel@redhat.com> In-Reply-To: <1252573135-27688-1-git-send-email-kraxel@redhat.com> References: <1252573135-27688-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Gerd Hoffmann Subject: [Qemu-devel] [PATCH v2 02/23] qemu-option.h include protectors X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org qemu-option.h has no protection against including it twice. This patch adds the usual "#ifndef header" bits. Signed-off-by: Gerd Hoffmann --- qemu-config.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/qemu-config.h b/qemu-config.h index 08629de..e49d715 100644 --- a/qemu-config.h +++ b/qemu-config.h @@ -1,4 +1,9 @@ +#ifndef QEMU_CONFIG_H +#define QEMU_CONFIG_H + extern QemuOptsList qemu_drive_opts; extern QemuOptsList qemu_device_opts; int qemu_set_option(const char *str); + +#endif /* QEMU_CONFIG_H */