summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h8_port.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h8/h8_port.h')
-rw-r--r--src/devices/cpu/h8/h8_port.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/cpu/h8/h8_port.h b/src/devices/cpu/h8/h8_port.h
index c6b7e8e2095..babd50cdaa3 100644
--- a/src/devices/cpu/h8/h8_port.h
+++ b/src/devices/cpu/h8/h8_port.h
@@ -9,8 +9,10 @@
***************************************************************************/
-#ifndef __H8_PORT_H__
-#define __H8_PORT_H__
+#ifndef MAME_CPU_H8_H8_PORT_H
+#define MAME_CPU_H8_H8_PORT_H
+
+#pragma once
#include "h8.h"
@@ -48,6 +50,6 @@ protected:
void update_output();
};
-extern const device_type H8_PORT;
+DECLARE_DEVICE_TYPE(H8_PORT, h8_port_device)
-#endif
+#endif // MAME_CPU_H8_H8_PORT_H