summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/thomson.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/thomson.h')
-rw-r--r--src/mame/includes/thomson.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mame/includes/thomson.h b/src/mame/includes/thomson.h
index 92d04243f87..b8e0b4d1bfa 100644
--- a/src/mame/includes/thomson.h
+++ b/src/mame/includes/thomson.h
@@ -8,8 +8,10 @@
**********************************************************************/
-#ifndef _THOMSON_H_
-#define _THOMSON_H_
+#ifndef MAME_INCLUDES_THOMSON_H
+#define MAME_INCLUDES_THOMSON_H
+
+#pragma once
#include "cpu/m6809/m6809.h"
#include "formats/thom_cas.h"
@@ -697,9 +699,9 @@ private:
int m_dsr;
};
-extern const device_type TO7_IO_LINE;
+DECLARE_DEVICE_TYPE(TO7_IO_LINE, to7_io_line_device)
#define MCFG_TO7_IO_LINE_ADD(_tag) \
MCFG_DEVICE_ADD((_tag), TO7_IO_LINE, 0)
-#endif /* _THOMSON_H_ */
+#endif // MAME_INCLUDES_THOMSON_H