summaryrefslogtreecommitdiffstats
path: root/src/devices/machine/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/buffer.h')
-rw-r--r--src/devices/machine/buffer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/buffer.h b/src/devices/machine/buffer.h
index 812f9f89f78..7f5724ad48b 100644
--- a/src/devices/machine/buffer.h
+++ b/src/devices/machine/buffer.h
@@ -1,7 +1,7 @@
// license:BSD-3-Clause
// copyright-holders:smf
-#ifndef __BUFFER_H__
-#define __BUFFER_H__
+#ifndef MAME_DEVICES_MACHINE_BUFFER_H
+#define MAME_DEVICES_MACHINE_BUFFER_H
class input_buffer_device : public device_t
{
@@ -26,6 +26,6 @@ protected:
uint8_t m_input_data;
};
-extern const device_type INPUT_BUFFER;
+DECLARE_DEVICE_TYPE(INPUT_BUFFER, input_buffer_device)
-#endif
+#endif // MAME_DEVICES_MACHINE_BUFFER_H