summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h8_dtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h8/h8_dtc.h')
-rw-r--r--src/devices/cpu/h8/h8_dtc.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/cpu/h8/h8_dtc.h b/src/devices/cpu/h8/h8_dtc.h
index d74f0ef3252..f78478e18ab 100644
--- a/src/devices/cpu/h8/h8_dtc.h
+++ b/src/devices/cpu/h8/h8_dtc.h
@@ -8,8 +8,10 @@
***************************************************************************/
-#ifndef __H8_DTC_H__
-#define __H8_DTC_H__
+#ifndef MAME_CPU_H8_H8_DTC_H
+#define MAME_CPU_H8_H8_DTC_H
+
+#pragma once
#include "h8_intc.h"
@@ -69,6 +71,6 @@ protected:
void queue(int vector);
};
-extern const device_type H8_DTC;
+DECLARE_DEVICE_TYPE(H8_DTC, h8_dtc_device)
-#endif
+#endif // MAME_CPU_H8_H8_DTC_H