diff options
Diffstat (limited to 'src/devices/machine/ds2404.h')
-rw-r--r-- | src/devices/machine/ds2404.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/devices/machine/ds2404.h b/src/devices/machine/ds2404.h index 237aeae176f..97d2914e9c4 100644 --- a/src/devices/machine/ds2404.h +++ b/src/devices/machine/ds2404.h @@ -8,10 +8,10 @@ **********************************************************************/ -#pragma once +#ifndef MAME_MACHINE_DS2404_H +#define MAME_MACHINE_DS2404_H -#ifndef __DS2404_H__ -#define __DS2404_H__ +#pragma once @@ -43,8 +43,7 @@ // ======================> ds2404_device -class ds2404_device : public device_t, - public device_nvram_interface +class ds2404_device : public device_t, public device_nvram_interface { public: // construction/destruction @@ -80,7 +79,6 @@ protected: virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override; private: - void ds2404_rom_cmd(uint8_t cmd); void ds2404_cmd(uint8_t cmd); @@ -122,7 +120,6 @@ private: // device type definition -extern const device_type DS2404; - +DECLARE_DEVICE_TYPE(DS2404, ds2404_device) -#endif /* __DS2404_H__ */ +#endif // MAME_MACHINE_DS2404_H |