[Top][All Lists]

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

[Qemu-commits] [COMMIT 9d868d4] qemu-option.h include protectors

From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 9d868d4] qemu-option.h include protectors
Date: Fri, 11 Sep 2009 18:31:42 -0000

From: Gerd Hoffmann <address@hidden>

qemu-option.h has no protection against including it twice.
This patch adds the usual "#ifndef header" bits.

Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

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 */

reply via email to

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