From patchwork Mon Sep 7 16:06:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 33087 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 B3E3AB70CF for ; Tue, 8 Sep 2009 02:14:50 +1000 (EST) Received: from localhost ([127.0.0.1]:50182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mkgre-0004EF-0u for incoming@patchwork.ozlabs.org; Mon, 07 Sep 2009 12:14:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mkgjm-0007On-SI for qemu-devel@nongnu.org; Mon, 07 Sep 2009 12:06:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mkgjh-0007LF-B3 for qemu-devel@nongnu.org; Mon, 07 Sep 2009 12:06:37 -0400 Received: from [199.232.76.173] (port=34944 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mkgjg-0007L5-Sq for qemu-devel@nongnu.org; Mon, 07 Sep 2009 12:06:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53206) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mkgjg-0003Ty-AZ for qemu-devel@nongnu.org; Mon, 07 Sep 2009 12:06:32 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n87G6VKP010191 for ; Mon, 7 Sep 2009 12:06:31 -0400 Received: from zweiblum.home.kraxel.org (vpn2-9-74.ams2.redhat.com [10.36.9.74]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id n87G6SXZ010155; Mon, 7 Sep 2009 12:06:28 -0400 Received: by zweiblum.home.kraxel.org (Postfix, from userid 500) id 47FBA700E1; Mon, 7 Sep 2009 18:06:25 +0200 (CEST) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Mon, 7 Sep 2009 18:06:04 +0200 Message-Id: <1252339585-27797-3-git-send-email-kraxel@redhat.com> In-Reply-To: <1252339585-27797-1-git-send-email-kraxel@redhat.com> References: <1252339585-27797-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Gerd Hoffmann Subject: [Qemu-devel] [PATCH 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 */