summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/wangpc/rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/wangpc/rtc.h')
-rw-r--r--src/devices/bus/wangpc/rtc.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/devices/bus/wangpc/rtc.h b/src/devices/bus/wangpc/rtc.h
index cd6b9bbeb0c..da931f80b89 100644
--- a/src/devices/bus/wangpc/rtc.h
+++ b/src/devices/bus/wangpc/rtc.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_WANGPC_RTC_H
+#define MAME_BUS_WANGPC_RTC_H
-#ifndef __WANGPC_RTC__
-#define __WANGPC_RTC__
+#pragma once
#include "wangpc.h"
#include "cpu/z80/z80.h"
@@ -59,7 +59,6 @@ private:
// device type definition
-extern const device_type WANGPC_RTC;
-
+DECLARE_DEVICE_TYPE(WANGPC_RTC, wangpc_rtc_device)
-#endif
+#endif // MAME_BUS_WANGPC_RTC_H