summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h83002.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h8/h83002.h')
-rw-r--r--src/devices/cpu/h8/h83002.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/cpu/h8/h83002.h b/src/devices/cpu/h8/h83002.h
index 0b0b1a2c76c..dfca4051479 100644
--- a/src/devices/cpu/h8/h83002.h
+++ b/src/devices/cpu/h8/h83002.h
@@ -11,8 +11,10 @@
***************************************************************************/
-#ifndef __H83002_H__
-#define __H83002_H__
+#ifndef MAME_CPU_H8_H83002_H
+#define MAME_CPU_H8_H83002_H
+
+#pragma once
#include "h8h.h"
#include "h8_adc.h"
@@ -82,6 +84,6 @@ protected:
virtual void execute_set_input(int inputnum, int state) override;
};
-extern const device_type H83002;
+DECLARE_DEVICE_TYPE(H83002, h83002_device)
-#endif
+#endif // MAME_CPU_H8_H83002_H