summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/s100/djdma.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/s100/djdma.h')
-rw-r--r--src/devices/bus/s100/djdma.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/devices/bus/s100/djdma.h b/src/devices/bus/s100/djdma.h
index 083b1a5b05b..3e25ee93f77 100644
--- a/src/devices/bus/s100/djdma.h
+++ b/src/devices/bus/s100/djdma.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_S100_DJDMA_H
+#define MAME_BUS_S100_DJDMA_H
-#ifndef __S100_DJDMA__
-#define __S100_DJDMA__
+#pragma once
#include "s100.h"
#include "cpu/z80/z80.h"
@@ -41,7 +41,6 @@ protected:
// device type definition
-extern const device_type S100_DJDMA;
-
+DECLARE_DEVICE_TYPE(S100_DJDMA, s100_djdma_device)
-#endif
+#endif // MAME_BUS_S100_DJDMA_H