summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/decocpu7.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/decocpu7.h')
-rw-r--r--src/mame/machine/decocpu7.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mame/machine/decocpu7.h b/src/mame/machine/decocpu7.h
index 18d1510bcb9..4f854816f21 100644
--- a/src/mame/machine/decocpu7.h
+++ b/src/mame/machine/decocpu7.h
@@ -1,5 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:David Haywood
+#ifndef MAME_MACHINE_DECOCPU7_H
+#define MAME_MACHINE_DECOCPU7_H
+
+#pragma once
#include "cpu/m6502/m6502.h"
@@ -22,4 +26,6 @@ protected:
};
-extern const device_type DECO_CPU7;
+DECLARE_DEVICE_TYPE(DECO_CPU7, deco_cpu7_device)
+
+#endif // MAME_MACHINE_DECOCPU7_H