summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ieee488/c2031.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ieee488/c2031.h')
-rw-r--r--src/devices/bus/ieee488/c2031.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/devices/bus/ieee488/c2031.h b/src/devices/bus/ieee488/c2031.h
index 1b7212e0581..38b102d381a 100644
--- a/src/devices/bus/ieee488/c2031.h
+++ b/src/devices/bus/ieee488/c2031.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_IEEE488_C2031_H
+#define MAME_BUS_IEEE488_C2031_H
-#ifndef __C2031__
-#define __C2031__
+#pragma once
#include "ieee488.h"
#include "cpu/m6502/m6502.h"
@@ -79,8 +79,7 @@ protected:
// device type definition
-extern const device_type C2031;
-
+DECLARE_DEVICE_TYPE(C2031, c2031_device)
-#endif
+#endif // MAME_BUS_IEEE488_C2031_H