summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pet/petuja.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/pet/petuja.h')
-rw-r--r--src/devices/bus/pet/petuja.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/pet/petuja.h b/src/devices/bus/pet/petuja.h
index fc1670dc202..b268c0d1519 100644
--- a/src/devices/bus/pet/petuja.h
+++ b/src/devices/bus/pet/petuja.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_PET_PETUJA_H
+#define MAME_BUS_PET_PETUJA_H
-#ifndef __PETUJA__
-#define __PETUJA__
+#pragma once
#include "user.h"
@@ -56,7 +56,7 @@ protected:
// device type definition
-extern const device_type PET_USERPORT_JOYSTICK_ADAPTER;
+DECLARE_DEVICE_TYPE(PET_USERPORT_JOYSTICK_ADAPTER, pet_userport_joystick_adapter_device)
-#endif
+#endif // MAME_BUS_PET_PETUJA_H