Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/include amd64/asan.h, amd64/msan.h: Add inclu...



details:   https://anonhg.NetBSD.org/src/rev/fe6a5ac86ef4
branches:  trunk
changeset: 370040:fe6a5ac86ef4
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Sep 13 09:39:49 2022 +0000

description:
amd64/asan.h, amd64/msan.h: Add include guards.

diffstat:

 sys/arch/amd64/include/asan.h |  7 ++++++-
 sys/arch/amd64/include/msan.h |  7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r ce9bf6b447c9 -r fe6a5ac86ef4 sys/arch/amd64/include/asan.h
--- a/sys/arch/amd64/include/asan.h     Tue Sep 13 09:38:19 2022 +0000
+++ b/sys/arch/amd64/include/asan.h     Tue Sep 13 09:39:49 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asan.h,v 1.11 2022/08/22 13:57:24 hannken Exp $        */
+/*     $NetBSD: asan.h,v 1.12 2022/09/13 09:39:49 riastradh Exp $      */
 
 /*
  * Copyright (c) 2018-2020 Maxime Villard, m00nbsd.net
@@ -28,6 +28,9 @@
  * SUCH DAMAGE.
  */
 
+#ifndef        _AMD64_ASAN_H_
+#define        _AMD64_ASAN_H_
+
 #include <sys/ksyms.h>
 
 #include <uvm/uvm.h>
@@ -294,3 +297,5 @@
                }
        }
 }
+
+#endif /* _AMD64_ASAN_H_ */
diff -r ce9bf6b447c9 -r fe6a5ac86ef4 sys/arch/amd64/include/msan.h
--- a/sys/arch/amd64/include/msan.h     Tue Sep 13 09:38:19 2022 +0000
+++ b/sys/arch/amd64/include/msan.h     Tue Sep 13 09:39:49 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msan.h,v 1.7 2022/08/22 13:21:47 riastradh Exp $       */
+/*     $NetBSD: msan.h,v 1.8 2022/09/13 09:39:49 riastradh Exp $       */
 
 /*
  * Copyright (c) 2019-2020 Maxime Villard, m00nbsd.net
@@ -28,6 +28,9 @@
  * SUCH DAMAGE.
  */
 
+#ifndef        _AMD64_MSAN_H_
+#define        _AMD64_MSAN_H_
+
 #include <sys/ksyms.h>
 
 #include <uvm/uvm.h>
@@ -275,3 +278,5 @@
                }
        }
 }
+
+#endif /* _AMD64_MSAN_H_ */



Home | Main Index | Thread Index | Old Index