Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arc/include Multiple inclusion protection.



details:   https://anonhg.NetBSD.org/src/rev/f93a3db854ed
branches:  trunk
changeset: 369422:f93a3db854ed
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Aug 16 13:59:18 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 bf413fc7bd91 -r f93a3db854ed sys/arch/arc/include/pci_machdep.h
--- a/sys/arch/arc/include/pci_machdep.h        Tue Aug 16 13:57:29 2022 +0000
+++ b/sys/arch/arc/include/pci_machdep.h        Tue Aug 16 13:59:18 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_machdep.h,v 1.13 2022/08/16 13:57:29 skrll Exp $ */
+/* $NetBSD: pci_machdep.h,v 1.14 2022/08/16 13:59:18 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.
  */
@@ -99,3 +102,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