summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pc_kbd/ec1841.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/pc_kbd/ec1841.h')
-rw-r--r--src/devices/bus/pc_kbd/ec1841.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/devices/bus/pc_kbd/ec1841.h b/src/devices/bus/pc_kbd/ec1841.h
index 6b381439202..401452ac019 100644
--- a/src/devices/bus/pc_kbd/ec1841.h
+++ b/src/devices/bus/pc_kbd/ec1841.h
@@ -6,13 +6,13 @@
*********************************************************************/
-#pragma once
+#ifndef MAME_BUS_PC_KBD_EC1841_H
+#define MAME_BUS_PC_KBD_EC1841_H
-#ifndef __PC_KBD_EC_1841__
-#define __PC_KBD_EC_1841__
+#pragma once
-#include "cpu/mcs48/mcs48.h"
#include "pc_kbdc.h"
+#include "cpu/mcs48/mcs48.h"
@@ -22,8 +22,7 @@
// ======================> ec_1841_keyboard_device
-class ec_1841_keyboard_device : public device_t,
- public device_pc_kbd_interface
+class ec_1841_keyboard_device : public device_t, public device_pc_kbd_interface
{
public:
// construction/destruction
@@ -61,6 +60,6 @@ private:
// device type definition
-extern const device_type PC_KBD_EC_1841;
+DECLARE_DEVICE_TYPE(PC_KBD_EC_1841, ec_1841_keyboard_device)
-#endif
+#endif // MAME_BUS_PC_KBD_EC1841_H