Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbmips/loongson fix proto



details:   https://anonhg.NetBSD.org/src/rev/3d802215f3aa
branches:  trunk
changeset: 773742:3d802215f3aa
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Feb 14 21:41:02 2012 +0000

description:
fix proto

diffstat:

 sys/arch/evbmips/loongson/generic2e_machdep.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 3749bdd406a4 -r 3d802215f3aa sys/arch/evbmips/loongson/generic2e_machdep.c
--- a/sys/arch/evbmips/loongson/generic2e_machdep.c     Tue Feb 14 21:34:46 2012 +0000
+++ b/sys/arch/evbmips/loongson/generic2e_machdep.c     Tue Feb 14 21:41:02 2012 +0000
@@ -48,7 +48,7 @@
  * Generic Loongson 2E code and configuration data.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: generic2e_machdep.c,v 1.1 2011/08/27 13:42:44 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: generic2e_machdep.c,v 1.2 2012/02/14 21:41:02 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -355,7 +355,7 @@
  */
 
 void
-generic2e_reset()
+generic2e_reset(void)
 {
        REGVAL(BONITO_BONGENCFG) &= ~BONITO_BONGENCFG_CPUSELFRESET;
        REGVAL(BONITO_BONGENCFG) |= BONITO_BONGENCFG_CPUSELFRESET;



Home | Main Index | Thread Index | Old Index