OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96729cb
)
qemu-option.h include protectors
author
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 10 Sep 2009 08:58:34 +0000
(10:58 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Fri, 11 Sep 2009 15:19:47 +0000
(10:19 -0500)
qemu-option.h has no protection against including it twice.
This patch adds the usual "#ifndef header" bits.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-config.h
patch
|
blob
|
history
diff --git
a/qemu-config.h
b/qemu-config.h
index
08629de
..
e49d715
100644
(file)
--- 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 */