Source-Changes-HG archive

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

[src/trunk]: src/sys/ddb Protect against multiple inclusion.



details:   https://anonhg.NetBSD.org/src/rev/c43591c86f45
branches:  trunk
changeset: 935266:c43591c86f45
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sun Jun 28 04:06:14 2020 +0000

description:
Protect against multiple inclusion.

diffstat:

 sys/ddb/db_output.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r d35d329cab74 -r c43591c86f45 sys/ddb/db_output.h
--- a/sys/ddb/db_output.h       Sun Jun 28 03:05:59 2020 +0000
+++ b/sys/ddb/db_output.h       Sun Jun 28 04:06:14 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_output.h,v 1.21 2012/03/15 02:02:22 joerg Exp $     */
+/*     $NetBSD: db_output.h,v 1.22 2020/06/28 04:06:14 simonb Exp $    */
 
 /*
  * Mach Operating System
@@ -29,6 +29,9 @@
  *     Date:   8/90
  */
 
+#ifndef _DDB_DB_OUTPUT_H_
+#define _DDB_DB_OUTPUT_H_
+
 #include <sys/stdarg.h>
 
 /*
@@ -51,3 +54,5 @@
 
 #define        DB_NEXT_TAB(i) \
        ((((i) + db_tab_stop_width) / db_tab_stop_width) * db_tab_stop_width)
+
+#endif /* _DDB_DB_OUTPUT_H_ */



Home | Main Index | Thread Index | Old Index