summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/wangpc/lic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/wangpc/lic.h')
-rw-r--r--src/devices/bus/wangpc/lic.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/devices/bus/wangpc/lic.h b/src/devices/bus/wangpc/lic.h
index 146a851734d..292dd0a5aa3 100644
--- a/src/devices/bus/wangpc/lic.h
+++ b/src/devices/bus/wangpc/lic.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_WANGPC_LIC_H
+#define MAME_BUS_WANGPC_LIC_H
-#ifndef __WANGPC_LIC__
-#define __WANGPC_LIC__
+#pragma once
#include "wangpc.h"
@@ -46,7 +46,6 @@ protected:
// device type definition
-extern const device_type WANGPC_LIC;
-
+DECLARE_DEVICE_TYPE(WANGPC_LIC, wangpc_lic_device)
-#endif
+#endif // MAME_BUS_WANGPC_LIC_H