summaryrefslogtreecommitdiffstats
path: root/hw/serial.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-12-06 12:15:58 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2012-12-19 08:31:31 +0100
commitcb9c377f54a756b04ef92c1c2e0453613ee863cf (patch)
treedb0ebf64a6b7bddd6cabc626d882402e60ffcab9 /hw/serial.h
parent7edd63f1b179c18f0f1a4664ddbabe4fe5b2be2f (diff)
downloadhqemu-cb9c377f54a756b04ef92c1c2e0453613ee863cf.zip
hqemu-cb9c377f54a756b04ef92c1c2e0453613ee863cf.tar.gz
janitor: add guards to headers
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/serial.h')
-rw-r--r--hw/serial.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/serial.h b/hw/serial.h
index ed1a5cd..2d7d614 100644
--- a/hw/serial.h
+++ b/hw/serial.h
@@ -22,6 +22,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#ifndef HW_SERIAL_H
+#define HW_SERIAL_H 1
#include "hw.h"
#include "sysemu.h"
@@ -97,3 +99,5 @@ SerialState *serial_mm_init(MemoryRegion *address_space,
/* serial-isa.c */
bool serial_isa_init(ISABus *bus, int index, CharDriverState *chr);
+
+#endif
OpenPOWER on IntegriCloud