Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/luna68k/include Remove unnecessary multiple inclusi...



details:   https://anonhg.NetBSD.org/src/rev/3c5f0f1c9b23
branches:  trunk
changeset: 368323:3c5f0f1c9b23
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Tue Jul 05 15:37:13 2022 +0000

description:
Remove unnecessary multiple inclusion protections.

diffstat:

 sys/arch/luna68k/include/cdefs.h       |  7 +------
 sys/arch/luna68k/include/elf_machdep.h |  7 +------
 sys/arch/luna68k/include/kcore.h       |  7 +------
 sys/arch/luna68k/include/reg.h         |  7 +------
 sys/arch/luna68k/include/types.h       |  7 +------
 5 files changed, 5 insertions(+), 30 deletions(-)

diffs (67 lines):

diff -r 3fbb06b768db -r 3c5f0f1c9b23 sys/arch/luna68k/include/cdefs.h
--- a/sys/arch/luna68k/include/cdefs.h  Tue Jul 05 15:35:53 2022 +0000
+++ b/sys/arch/luna68k/include/cdefs.h  Tue Jul 05 15:37:13 2022 +0000
@@ -1,8 +1,3 @@
-/*     $NetBSD: cdefs.h,v 1.1 2000/01/05 08:48:59 nisimura Exp $       */
-
-#ifndef _MACHINE_CDEFS_H_
-#define _MACHINE_CDEFS_H_
+/*     $NetBSD: cdefs.h,v 1.2 2022/07/05 15:37:13 tsutsui Exp $        */
 
 #include <m68k/cdefs.h>
-
-#endif
diff -r 3fbb06b768db -r 3c5f0f1c9b23 sys/arch/luna68k/include/elf_machdep.h
--- a/sys/arch/luna68k/include/elf_machdep.h    Tue Jul 05 15:35:53 2022 +0000
+++ b/sys/arch/luna68k/include/elf_machdep.h    Tue Jul 05 15:37:13 2022 +0000
@@ -1,8 +1,3 @@
-/*     $NetBSD: elf_machdep.h,v 1.1 2001/12/24 17:56:31 chs Exp $      */
-
-#ifndef _MACHINE_ELF_MACHDEP_H_
-#define _MACHINE_ELF_MACHDEP_H_
+/*     $NetBSD: elf_machdep.h,v 1.2 2022/07/05 15:37:13 tsutsui Exp $  */
 
 #include <m68k/elf_machdep.h>
-
-#endif
diff -r 3fbb06b768db -r 3c5f0f1c9b23 sys/arch/luna68k/include/kcore.h
--- a/sys/arch/luna68k/include/kcore.h  Tue Jul 05 15:35:53 2022 +0000
+++ b/sys/arch/luna68k/include/kcore.h  Tue Jul 05 15:37:13 2022 +0000
@@ -1,8 +1,3 @@
-/*     $NetBSD: kcore.h,v 1.1 2000/01/05 08:48:58 nisimura Exp $       */
-
-#ifndef _MACHINE_KCORE_H_
-#define _MACHINE_KCORE_H_
+/*     $NetBSD: kcore.h,v 1.2 2022/07/05 15:37:13 tsutsui Exp $        */
 
 #include <m68k/kcore.h>
-
-#endif
diff -r 3fbb06b768db -r 3c5f0f1c9b23 sys/arch/luna68k/include/reg.h
--- a/sys/arch/luna68k/include/reg.h    Tue Jul 05 15:35:53 2022 +0000
+++ b/sys/arch/luna68k/include/reg.h    Tue Jul 05 15:37:13 2022 +0000
@@ -1,8 +1,3 @@
-/*     $NetBSD: reg.h,v 1.1 2000/01/05 08:49:01 nisimura Exp $ */
-
-#ifndef _MACHINE_REG_H_
-#define _MACHINE_REG_H_
+/*     $NetBSD: reg.h,v 1.2 2022/07/05 15:37:13 tsutsui Exp $  */
 
 #include <m68k/reg.h>
-
-#endif /* _MACHINE_REG_H_ */
diff -r 3fbb06b768db -r 3c5f0f1c9b23 sys/arch/luna68k/include/types.h
--- a/sys/arch/luna68k/include/types.h  Tue Jul 05 15:35:53 2022 +0000
+++ b/sys/arch/luna68k/include/types.h  Tue Jul 05 15:37:13 2022 +0000
@@ -1,10 +1,5 @@
-/*     $NetBSD: types.h,v 1.8 2021/04/01 04:43:00 simonb Exp $ */
-
-#ifndef _MACHINE_TYPES_H_
-#define        _MACHINE_TYPES_H_
+/*     $NetBSD: types.h,v 1.9 2022/07/05 15:37:13 tsutsui Exp $        */
 
 #include <m68k/types.h>
 
 #define        __HAVE_LEGACY_INTRCNT
-
-#endif



Home | Main Index | Thread Index | Old Index