Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/sys/arch/arc/include Multiple inclusion protection.



details:   https://anonhg.NetBSD.org/src/rev/5e962eb6dde3
branches:  netbsd-6
changeset: 369425:5e962eb6dde3
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Aug 16 13:55:15 2022 +0000

description:
Multiple inclusion protection.

diffstat:

 sys/arch/arc/include/pci_machdep.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 337a9c267ed3 -r 5e962eb6dde3 sys/arch/arc/include/pci_machdep.h
--- a/sys/arch/arc/include/pci_machdep.h        Tue Aug 16 13:52:58 2022 +0000
+++ b/sys/arch/arc/include/pci_machdep.h        Tue Aug 16 13:55:15 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_machdep.h,v 1.9.10.1 2022/08/16 13:52:58 skrll Exp $ */
+/* $NetBSD: pci_machdep.h,v 1.9.10.2 2022/08/16 13:55:15 skrll Exp $ */
 /* NetBSD: pci_machdep.h,v 1.3 1999/03/19 03:40:46 cgd Exp  */
 
 /*
@@ -28,6 +28,9 @@
  * rights to redistribute these changes.
  */
 
+#ifndef        _MACHINE_PCI_MACHDEP_H_
+#define        _MACHINE_PCI_MACHDEP_H_
+
 /*
  * Machine-specific definitions for PCI autoconfiguration.
  */
@@ -102,3 +105,5 @@
     (*(c)->pc_conf_interrupt)((c), (b), (d), (f), (s), (i))
 #define        pci_conf_hook(c, b, d, f, i)                                    \
     (*(c)->pc_conf_hook)((c), (b), (d), (f), (i))
+
+#endif /* _MACHINE_PCI_MACHDEP_H_ */



Home | Main Index | Thread Index | Old Index