Source-Changes-HG archive

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

[src/trunk]: src/sys/arch docpureset() doesn't return anything, so mark it void.



details:   https://anonhg.NetBSD.org/src/rev/c5dac775f79e
branches:  trunk
changeset: 323114:c5dac775f79e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu May 31 23:22:50 2018 +0000

description:
docpureset() doesn't return anything, so mark it void.
(probably could also be __dead.)

diffstat:

 sys/arch/aarch64/aarch64/aarch64_reboot.c |  6 +++---
 sys/arch/arm/arm32/arm32_reboot.c         |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r a83da4896f9c -r c5dac775f79e sys/arch/aarch64/aarch64/aarch64_reboot.c
--- a/sys/arch/aarch64/aarch64/aarch64_reboot.c Thu May 31 22:44:13 2018 +0000
+++ b/sys/arch/aarch64/aarch64/aarch64_reboot.c Thu May 31 23:22:50 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aarch64_reboot.c,v 1.1 2018/04/01 04:35:03 ryo Exp $   */
+/*     $NetBSD: aarch64_reboot.c,v 1.2 2018/05/31 23:22:50 mrg Exp $   */
 
 /*
  * Copyright (c) 2002, 2003, 2005  Genetec Corporation.  All rights reserved.
@@ -122,7 +122,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aarch64_reboot.c,v 1.1 2018/04/01 04:35:03 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aarch64_reboot.c,v 1.2 2018/05/31 23:22:50 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -142,7 +142,7 @@
 void (*cpu_reset_address)(void);
 void (*cpu_powerdown_address)(void);
 
-static int
+static void
 docpureset(int howto)
 {
        if ((howto & RB_POWERDOWN) == RB_POWERDOWN) {
diff -r a83da4896f9c -r c5dac775f79e sys/arch/arm/arm32/arm32_reboot.c
--- a/sys/arch/arm/arm32/arm32_reboot.c Thu May 31 22:44:13 2018 +0000
+++ b/sys/arch/arm/arm32/arm32_reboot.c Thu May 31 23:22:50 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arm32_reboot.c,v 1.10 2015/11/11 14:50:08 jmcneill Exp $       */
+/*     $NetBSD: arm32_reboot.c,v 1.11 2018/05/31 23:22:50 mrg Exp $    */
 
 /*
  * Copyright (c) 2002, 2003, 2005  Genetec Corporation.  All rights reserved.
@@ -122,7 +122,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_reboot.c,v 1.10 2015/11/11 14:50:08 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_reboot.c,v 1.11 2018/05/31 23:22:50 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -138,7 +138,7 @@
 
 void (*cpu_powerdown_address)(void);
 
-static int
+static void
 docpureset(int howto)
 {
        if ((howto & RB_POWERDOWN) == RB_POWERDOWN) {



Home | Main Index | Thread Index | Old Index