summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cpc/hd20.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cpc/hd20.h')
-rw-r--r--src/devices/bus/cpc/hd20.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/bus/cpc/hd20.h b/src/devices/bus/cpc/hd20.h
index 2837a748b76..e0dd933da73 100644
--- a/src/devices/bus/cpc/hd20.h
+++ b/src/devices/bus/cpc/hd20.h
@@ -11,8 +11,10 @@
*/
-#ifndef HD20_H_
-#define HD20_H_
+#ifndef MAME_BUS_CPC_HD20_H
+#define MAME_BUS_CPC_HD20_H
+
+#pragma once
#include "cpcexp.h"
#include "bus/isa/hdc.h"
@@ -44,6 +46,6 @@ private:
};
// device type definition
-extern const device_type CPC_HD20;
+DECLARE_DEVICE_TYPE(CPC_HD20, cpc_hd20_device)
-#endif /* HD20_H_ */
+#endif // MAME_BUS_CPC_HD20_H