summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pet/64k.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/pet/64k.h')
-rw-r--r--src/devices/bus/pet/64k.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/devices/bus/pet/64k.h b/src/devices/bus/pet/64k.h
index ddb42f02d5c..82f50cab77a 100644
--- a/src/devices/bus/pet/64k.h
+++ b/src/devices/bus/pet/64k.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_PET_64K_H
+#define MAME_BUS_PET_64K_H
-#ifndef __PET_64K__
-#define __PET_64K__
+#pragma once
#include "exp.h"
@@ -21,8 +21,7 @@
// ======================> pet_64k_expansion_device
-class pet_64k_expansion_device : public device_t,
- public device_pet_expansion_card_interface
+class pet_64k_expansion_device : public device_t, public device_pet_expansion_card_interface
{
public:
// construction/destruction
@@ -49,7 +48,6 @@ private:
// device type definition
-extern const device_type PET_64K;
-
+DECLARE_DEVICE_TYPE(PET_64K, pet_64k_expansion_device)
-#endif
+#endif // MAME_BUS_PET_64K_H