qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 1/7] protect accel.h from multiple inclusion


From: Glauber Costa
Subject: [Qemu-devel] [PATCH 1/7] protect accel.h from multiple inclusion
Date: Mon, 13 Oct 2008 22:51:42 -0200

Allow it to be included multiple times.

Signed-off-by: Glauber Costa <address@hidden>
---
 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]