summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/plus4/diag264_lb_user.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/plus4/diag264_lb_user.h')
-rw-r--r--src/devices/bus/plus4/diag264_lb_user.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/devices/bus/plus4/diag264_lb_user.h b/src/devices/bus/plus4/diag264_lb_user.h
index acff6f4bd49..dd45e469106 100644
--- a/src/devices/bus/plus4/diag264_lb_user.h
+++ b/src/devices/bus/plus4/diag264_lb_user.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_PLUS4_DIAG264_LB_USER_H
+#define MAME_BUS_PLUS4_DIAG264_LB_USER_H
-#ifndef __DIAG264_USER_PORT_LOOPBACK__
-#define __DIAG264_USER_PORT_LOOPBACK__
+#pragma once
#include "user.h"
@@ -21,8 +21,7 @@
// ======================> diag264_user_port_loopback_device
-class diag264_user_port_loopback_device : public device_t,
- public device_pet_user_port_interface
+class diag264_user_port_loopback_device : public device_t, public device_pet_user_port_interface
{
public:
// construction/destruction
@@ -53,6 +52,6 @@ protected:
};
// device type definition
-extern const device_type DIAG264_USER_PORT_LOOPBACK;
+DECLARE_DEVICE_TYPE(DIAG264_USER_PORT_LOOPBACK, diag264_user_port_loopback_device)
-#endif
+#endif // MAME_BUS_PLUS4_DIAG264_LB_USER_H