From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpWJi-0001OZ-Fs for qemu-devel@nongnu.org; Mon, 13 Oct 2008 18:55:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpWJh-0001Nv-C1 for qemu-devel@nongnu.org; Mon, 13 Oct 2008 18:55:09 -0400 Received: from [199.232.76.173] (port=53015 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpWJh-0001No-8A for qemu-devel@nongnu.org; Mon, 13 Oct 2008 18:55:09 -0400 Received: from mx2.redhat.com ([66.187.237.31]:47438) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KpWJg-0003tM-Ek for qemu-devel@nongnu.org; Mon, 13 Oct 2008 18:55:08 -0400 From: Glauber Costa Date: Mon, 13 Oct 2008 22:51:42 -0200 Message-Id: <1223945508-22241-2-git-send-email-glommer@redhat.com> In-Reply-To: <1223945508-22241-1-git-send-email-glommer@redhat.com> References: <1223945508-22241-1-git-send-email-glommer@redhat.com> Subject: [Qemu-devel] [PATCH 1/7] protect accel.h from multiple inclusion Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: jan.kiszka@siemens.com, aliguori@us.ibm.com, jes@sgi.com, avi@qumranet.com, dmitry.baryshkov@siemens.com Allow it to be included multiple times. Signed-off-by: Glauber Costa --- accel.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/accel.h b/accel.h index ae72e23..f41ec72 100644 --- a/accel.h +++ b/accel.h @@ -1,3 +1,6 @@ +#ifndef _ACCEL_H_ +#define _ACCEL_H_ + typedef struct QEMUAccel { char *name; void (*cpu_interrupt)(CPUState *env); @@ -144,4 +147,4 @@ static inline int accel_break_loop(CPUState *env) } extern void accel_add(const char *name); - +#endif -- 1.5.5.1