Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcsh/dev ANSI: Use 'void' in the definition of fun...



details:   https://anonhg.NetBSD.org/src/rev/acfa0308ee45
branches:  trunk
changeset: 588881:acfa0308ee45
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sun Mar 05 02:17:47 2006 +0000

description:
ANSI: Use 'void' in the definition of function w/out arguments.
While here, add 2006 to the copyright.

diffstat:

 sys/arch/hpcsh/dev/j6x0pwr.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 562f493a9d8a -r acfa0308ee45 sys/arch/hpcsh/dev/j6x0pwr.c
--- a/sys/arch/hpcsh/dev/j6x0pwr.c      Sun Mar 05 02:14:41 2006 +0000
+++ b/sys/arch/hpcsh/dev/j6x0pwr.c      Sun Mar 05 02:17:47 2006 +0000
@@ -1,7 +1,7 @@
-/*     $NetBSD: j6x0pwr.c,v 1.11 2006/03/04 17:35:31 peter Exp $ */
+/*     $NetBSD: j6x0pwr.c,v 1.12 2006/03/05 02:17:47 uwe Exp $ */
 
 /*
- * Copyright (c) 2003 Valeriy E. Ushakov
+ * Copyright (c) 2003, 2006 Valeriy E. Ushakov
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: j6x0pwr.c,v 1.11 2006/03/04 17:35:31 peter Exp $");
+__KERNEL_RCSID(0, "$NetBSD: j6x0pwr.c,v 1.12 2006/03/05 02:17:47 uwe Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -237,7 +237,7 @@
 
 
 static int
-j6x0pwr_clear_interrupt()
+j6x0pwr_clear_interrupt(void)
 {
        uint8_t irr0;
 



Home | Main Index | Thread Index | Old Index