Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/fdt Multiple inclusion protection define consistency



details:   https://anonhg.NetBSD.org/src/rev/7acbc4daae2e
branches:  trunk
changeset: 957790:7acbc4daae2e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Dec 11 09:40:28 2020 +0000

description:
Multiple inclusion protection define consistency

diffstat:

 sys/dev/fdt/display_timing.h |  8 ++++----
 sys/dev/fdt/fdt_ddb.h        |  8 ++++----
 sys/dev/fdt/fdt_port.h       |  4 ++--
 sys/dev/fdt/fdtvar.h         |  8 ++++----
 sys/dev/fdt/syscon.h         |  8 ++++----
 5 files changed, 18 insertions(+), 18 deletions(-)

diffs (115 lines):

diff -r 83ff193ddec0 -r 7acbc4daae2e sys/dev/fdt/display_timing.h
--- a/sys/dev/fdt/display_timing.h      Fri Dec 11 09:22:20 2020 +0000
+++ b/sys/dev/fdt/display_timing.h      Fri Dec 11 09:40:28 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: display_timing.h,v 1.1 2017/06/03 14:48:02 jmcneill Exp $ */
+/* $NetBSD: display_timing.h,v 1.2 2020/12/11 09:40:28 skrll Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -26,8 +26,8 @@
  * SUCH DAMAGE.
  */
 
-#ifndef _FDT_DISPLAY_TIMING_H
-#define _FDT_DISPLAY_TIMING_H
+#ifndef _DEV_FDT_DISPLAY_TIMING_H_
+#define _DEV_FDT_DISPLAY_TIMING_H_
 
 struct display_timing {
        /* required */
@@ -44,4 +44,4 @@
 
 int    display_timing_parse(int, struct display_timing *);
 
-#endif /* !_FDT_DISPLAY_TIMING_H */
+#endif /* _DEV_FDT_DISPLAY_TIMING_H_ */
diff -r 83ff193ddec0 -r 7acbc4daae2e sys/dev/fdt/fdt_ddb.h
--- a/sys/dev/fdt/fdt_ddb.h     Fri Dec 11 09:22:20 2020 +0000
+++ b/sys/dev/fdt/fdt_ddb.h     Fri Dec 11 09:40:28 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fdt_ddb.h,v 1.1 2020/10/30 16:08:45 skrll Exp $        */
+/*     $NetBSD: fdt_ddb.h,v 1.2 2020/12/11 09:40:28 skrll Exp $        */
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -30,9 +30,9 @@
  */
 
 
-#ifndef _FDT_DDB_H
-#define _FDT_DDB_H
+#ifndef _DEV_FDT_FDT_DDB_H_
+#define _DEV_FDT_FDT_DDB_H_
 
 void   fdt_print(const void *, bool, void (*)(const char *, ...) __printflike(1, 2));
 
-#endif
+#endif /* _DEV_FDT_FDT_DDB_H_ */
diff -r 83ff193ddec0 -r 7acbc4daae2e sys/dev/fdt/fdt_port.h
--- a/sys/dev/fdt/fdt_port.h    Fri Dec 11 09:22:20 2020 +0000
+++ b/sys/dev/fdt/fdt_port.h    Fri Dec 11 09:40:28 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fdt_port.h,v 1.3 2019/02/03 12:53:11 jmcneill Exp $    */
+/*     $NetBSD: fdt_port.h,v 1.4 2020/12/11 09:40:28 skrll Exp $       */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -123,4 +123,4 @@
  */
 int fdt_endpoint_enable(struct fdt_endpoint *, bool);
 
-#endif /* _DEV_FDT_FDT_PORT_H_ */
+#endif /* _DEV_FDT_FDT_PORT_H */
diff -r 83ff193ddec0 -r 7acbc4daae2e sys/dev/fdt/fdtvar.h
--- a/sys/dev/fdt/fdtvar.h      Fri Dec 11 09:22:20 2020 +0000
+++ b/sys/dev/fdt/fdtvar.h      Fri Dec 11 09:40:28 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdtvar.h,v 1.61 2020/09/28 11:54:24 jmcneill Exp $ */
+/* $NetBSD: fdtvar.h,v 1.62 2020/12/11 09:40:28 skrll Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -26,8 +26,8 @@
  * SUCH DAMAGE.
  */
 
-#ifndef _DEV_FDT_FDTVAR_H
-#define _DEV_FDT_FDTVAR_H
+#ifndef _DEV_FDT_FDTVAR_H_
+#define _DEV_FDT_FDTVAR_H_
 
 #include <sys/types.h>
 #include <sys/bus.h>
@@ -441,4 +441,4 @@
 bus_dma_tag_t  fdtbus_dma_tag_create(int, const struct fdt_dma_range *,
                    u_int);
 
-#endif /* _DEV_FDT_FDTVAR_H */
+#endif /* _DEV_FDT_FDTVAR_H_ */
diff -r 83ff193ddec0 -r 7acbc4daae2e sys/dev/fdt/syscon.h
--- a/sys/dev/fdt/syscon.h      Fri Dec 11 09:22:20 2020 +0000
+++ b/sys/dev/fdt/syscon.h      Fri Dec 11 09:40:28 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: syscon.h,v 1.1 2018/06/30 12:35:18 jmcneill Exp $ */
+/* $NetBSD: syscon.h,v 1.2 2020/12/11 09:40:28 skrll Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -26,8 +26,8 @@
  * SUCH DAMAGE.
  */
 
-#ifndef _FDT_SYSCON_H
-#define _FDT_SYSCON_H
+#ifndef _DEV_FDT_SYSCON_H_
+#define _DEV_FDT_SYSCON_H_
 
 struct syscon {
        void            *priv;
@@ -51,4 +51,4 @@
        (_syscon)->write_4((_syscon)->priv, (_reg), (_val))
 
 
-#endif /* !_FDT_SYSCON_H */
+#endif /* _DEV_FDT_SYSCON_H_ */



Home | Main Index | Thread Index | Old Index