Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/common KNF. No functional change.



details:   https://anonhg.NetBSD.org/src/rev/c4aac29e1d95
branches:  trunk
changeset: 450542:c4aac29e1d95
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Apr 17 09:21:57 2019 +0000

description:
KNF. No functional change.

diffstat:

 sys/compat/common/compat_70_mod.c |  10 ++++++----
 sys/compat/common/compat_80_mod.c |  10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)

diffs (76 lines):

diff -r 902c25c1e79e -r c4aac29e1d95 sys/compat/common/compat_70_mod.c
--- a/sys/compat/common/compat_70_mod.c Wed Apr 17 08:56:10 2019 +0000
+++ b/sys/compat/common/compat_70_mod.c Wed Apr 17 09:21:57 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_70_mod.c,v 1.2 2019/01/27 02:08:39 pgoyette Exp $       */
+/*     $NetBSD: compat_70_mod.c,v 1.3 2019/04/17 09:21:57 msaitoh Exp $        */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_70_mod.c,v 1.2 2019/01/27 02:08:39 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_70_mod.c,v 1.3 2019/04/17 09:21:57 msaitoh Exp $");
 
 #include <sys/systm.h>
 #include <sys/module.h>
@@ -54,7 +54,8 @@
 #include <compat/net/route.h>
 #include <compat/net/route_70.h>
 
-int compat_70_init(void)
+int
+compat_70_init(void)
 {
 
        compat70_ocreds_valid = true;
@@ -64,7 +65,8 @@
        return 0;
 }
 
-int compat_70_fini(void)
+int
+compat_70_fini(void)
 {
 
        uipc_usrreq_70_fini();
diff -r 902c25c1e79e -r c4aac29e1d95 sys/compat/common/compat_80_mod.c
--- a/sys/compat/common/compat_80_mod.c Wed Apr 17 08:56:10 2019 +0000
+++ b/sys/compat/common/compat_80_mod.c Wed Apr 17 09:21:57 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_80_mod.c,v 1.2 2019/01/27 02:08:39 pgoyette Exp $       */
+/*     $NetBSD: compat_80_mod.c,v 1.3 2019/04/17 09:21:57 msaitoh Exp $        */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_80_mod.c,v 1.2 2019/01/27 02:08:39 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_80_mod.c,v 1.3 2019/04/17 09:21:57 msaitoh Exp $");
 
 #include <sys/systm.h>
 #include <sys/module.h>
@@ -46,7 +46,8 @@
 #include <compat/common/compat_util.h>
 #include <compat/common/compat_mod.h>
 
-int compat_80_init(void)
+int
+compat_80_init(void)
 {
 
        kern_mod_80_init();
@@ -54,7 +55,8 @@
        return 0;
 }
 
-int compat_80_fini(void)
+int
+compat_80_fini(void)
 {
 
        kern_mod_80_fini();



Home | Main Index | Thread Index | Old Index