summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/lpci.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/lpci.h')
-rw-r--r--src/devices/machine/lpci.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/machine/lpci.h b/src/devices/machine/lpci.h
index b53b3fe1ae0..06ed6090e51 100644
--- a/src/devices/machine/lpci.h
+++ b/src/devices/machine/lpci.h
@@ -8,8 +8,10 @@
***************************************************************************/
-#ifndef LPCI_H
-#define LPCI_H
+#ifndef MAME_MACHINE_LPCI_H
+#define MAME_MACHINE_LPCI_H
+
+#pragma once
//**************************************************************************
// TYPE DEFINITIONS
@@ -64,7 +66,7 @@ private:
};
// device type definition
-extern const device_type PCI_BUS_LEGACY;
+DECLARE_DEVICE_TYPE(PCI_BUS_LEGACY, pci_bus_legacy_device)
/***************************************************************************
@@ -80,4 +82,4 @@ extern const device_type PCI_BUS_LEGACY;
downcast<pci_bus_legacy_device *>(device)->set_father(_father_tag);
-#endif /* PCI_H */
+#endif // MAME_MACHINE_LPCI_H