summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/alto2/alto2cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/alto2/alto2cpu.h')
-rw-r--r--src/devices/cpu/alto2/alto2cpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/cpu/alto2/alto2cpu.h b/src/devices/cpu/alto2/alto2cpu.h
index 58dbefd0984..440a8f972ba 100644
--- a/src/devices/cpu/alto2/alto2cpu.h
+++ b/src/devices/cpu/alto2/alto2cpu.h
@@ -8,6 +8,8 @@
#ifndef MAME_DEVICES_CPU_ALTO2_H
#define MAME_DEVICES_CPU_ALTO2_H
+#pragma once
+
#include "machine/diablo_hd.h"
#include "sound/spkrdev.h"
@@ -937,6 +939,6 @@ private:
#include "a2kwd.h"
};
-extern const device_type ALTO2;
+DECLARE_DEVICE_TYPE(ALTO2, alto2_cpu_device)
#endif // MAME_DEVICES_CPU_ALTO2_H