[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [PATCH v3 10/12] hw/net/ne2000-isa: Add guards to the header
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-arm] [PATCH v3 10/12] hw/net/ne2000-isa: Add guards to the header |
Date: |
Fri, 12 Apr 2019 18:54:14 +0200 |
Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
include/hw/net/ne2000-isa.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/hw/net/ne2000-isa.h b/include/hw/net/ne2000-isa.h
index ff2bed9c95d..527337c4548 100644
--- a/include/hw/net/ne2000-isa.h
+++ b/include/hw/net/ne2000-isa.h
@@ -6,6 +6,10 @@
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
+
+#ifndef HW_NET_NE2K_ISA_H
+#define HW_NET_NE2K_ISA_H
+
#include "hw/hw.h"
#include "hw/qdev.h"
#include "hw/isa/isa.h"
@@ -31,3 +35,5 @@ static inline ISADevice *isa_ne2000_init(ISABus *bus, int
base, int irq,
}
return d;
}
+
+#endif
--
2.20.1
- [Qemu-arm] [PATCH v3 00/12] hw: Remove "hw/devices.h", Philippe Mathieu-Daudé, 2019/04/12
- [Qemu-arm] [PATCH v3 03/12] hw/display/tc6393xb: Remove unused functions, Philippe Mathieu-Daudé, 2019/04/12
- [Qemu-arm] [PATCH v3 01/12] hw/arm/aspeed: Use TYPE_TMP105/TYPE_PCA9552 instead of hardcoded string, Philippe Mathieu-Daudé, 2019/04/12
- [Qemu-arm] [PATCH v3 02/12] hw/arm/nseries: Use TYPE_TMP105 instead of hardcoded string, Philippe Mathieu-Daudé, 2019/04/12
- [Qemu-arm] [PATCH v3 04/12] hw/devices: Move TC6393XB declarations into a new header, Philippe Mathieu-Daudé, 2019/04/12
- [Qemu-arm] [PATCH v3 05/12] hw/devices: Move Blizzard declarations into a new header, Philippe Mathieu-Daudé, 2019/04/12
- [Qemu-arm] [PATCH v3 06/12] hw/devices: Move CBus declarations into a new header, Philippe Mathieu-Daudé, 2019/04/12
- [Qemu-arm] [PATCH v3 07/12] hw/devices: Move Gamepad declarations into a new header, Philippe Mathieu-Daudé, 2019/04/12
- [Qemu-arm] [PATCH v3 08/12] hw/devices: Move TI touchscreen declarations into a new header, Philippe Mathieu-Daudé, 2019/04/12
- [Qemu-arm] [PATCH v3 09/12] hw/devices: Move LAN9118 declarations into a new header, Philippe Mathieu-Daudé, 2019/04/12
- [Qemu-arm] [PATCH v3 10/12] hw/net/ne2000-isa: Add guards to the header,
Philippe Mathieu-Daudé <=
- [Qemu-arm] [PATCH v3 11/12] hw/net/lan9118: Export TYPE_LAN9118 and use it instead of hardcoded string, Philippe Mathieu-Daudé, 2019/04/12
- [Qemu-arm] [PATCH v3 12/12] hw/devices: Move SMSC 91C111 declaration into a new header, Philippe Mathieu-Daudé, 2019/04/12
- Re: [Qemu-arm] [PATCH v3 00/12] hw: Remove "hw/devices.h", Peter Maydell, 2019/04/29