summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cpc/cpc_pds.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cpc/cpc_pds.h')
-rw-r--r--src/devices/bus/cpc/cpc_pds.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/bus/cpc/cpc_pds.h b/src/devices/bus/cpc/cpc_pds.h
index 5bc1a87cabc..2da3ac96a01 100644
--- a/src/devices/bus/cpc/cpc_pds.h
+++ b/src/devices/bus/cpc/cpc_pds.h
@@ -21,8 +21,10 @@
* running the target side
*/
-#ifndef CPC_PDS_H_
-#define CPC_PDS_H_
+#ifndef MAME_BUS_CPC_CPC_PDS_H
+#define MAME_BUS_CPC_CPC_PDS_H
+
+#pragma once
#include "cpcexp.h"
#include "machine/z80pio.h"
@@ -52,6 +54,6 @@ private:
};
// device type definition
-extern const device_type CPC_PDS;
+DECLARE_DEVICE_TYPE(CPC_PDS, cpc_pds_device)
-#endif /* CPC_PDS_H_ */
+#endif // MAME_BUS_CPC_CPC_PDS_H