summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/p1_sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/p1_sound.h')
-rw-r--r--src/devices/bus/isa/p1_sound.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/isa/p1_sound.h b/src/devices/bus/isa/p1_sound.h
index 039d5b7868a..aee52304b99 100644
--- a/src/devices/bus/isa/p1_sound.h
+++ b/src/devices/bus/isa/p1_sound.h
@@ -9,14 +9,14 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_P1_SOUND_H
+#define MAME_BUS_P1_SOUND_H
-#ifndef __P1_SOUND__
-#define __P1_SOUND__
+#pragma once
-#include "bus/midi/midi.h"
#include "isa.h"
+#include "bus/midi/midi.h"
#include "machine/i8251.h"
#include "machine/pit8253.h"
#include "sound/dac.h"
@@ -66,7 +66,7 @@ private:
// device type definition
-extern const device_type P1_SOUND;
+DECLARE_DEVICE_TYPE(P1_SOUND, p1_sound_device)
-#endif
+#endif // MAME_BUS_P1_SOUND_H