summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/bbc/joyport/joystick.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/bbc/joyport/joystick.h')
-rw-r--r--src/devices/bus/bbc/joyport/joystick.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/bbc/joyport/joystick.h b/src/devices/bus/bbc/joyport/joystick.h
index 4f1c3dba611..bfbc67543df 100644
--- a/src/devices/bus/bbc/joyport/joystick.h
+++ b/src/devices/bus/bbc/joyport/joystick.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_BBC_JOYPORT_JOYSTICK_H
+#define MAME_BUS_BBC_JOYPORT_JOYSTICK_H
-#ifndef __BBCMC_JOYSTICK__
-#define __BBCMC_JOYSTICK__
+#pragma once
#include "joyport.h"
@@ -45,7 +45,7 @@ private:
// device type definition
-extern const device_type BBCMC_JOYSTICK;
+DECLARE_DEVICE_TYPE(BBCMC_JOYSTICK, bbcmc_joystick_device)
-#endif
+#endif // MAME_BUS_BBC_JOYPORT_JOYSTICK_H