summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h8_watchdog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h8/h8_watchdog.h')
-rw-r--r--src/devices/cpu/h8/h8_watchdog.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/cpu/h8/h8_watchdog.h b/src/devices/cpu/h8/h8_watchdog.h
index f746be40aa9..af4cc0b7e35 100644
--- a/src/devices/cpu/h8/h8_watchdog.h
+++ b/src/devices/cpu/h8/h8_watchdog.h
@@ -37,8 +37,10 @@
***************************************************************************/
-#ifndef __H8_WATCHDOG_H__
-#define __H8_WATCHDOG_H__
+#ifndef MAME_CPU_H8_H8_WATCHDOG_H
+#define MAME_CPU_H8_H8_WATCHDOG_H
+
+#pragma once
#include "h8.h"
#include "h8_intc.h"
@@ -94,6 +96,6 @@ private:
void tcnt_update(uint64_t current_time = 0);
};
-extern const device_type H8_WATCHDOG;
+DECLARE_DEVICE_TYPE(H8_WATCHDOG, h8_watchdog_device)
-#endif
+#endif // MAME_CPU_H8_H8_WATCHDOG_H