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 Convert few remaining K&R function defini...



details:   https://anonhg.NetBSD.org/src/rev/f581424ff5be
branches:  trunk
changeset: 586398:f581424ff5be
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sun Dec 18 18:59:48 2005 +0000

description:
Convert few remaining K&R function definitions to ANSI.

diffstat:

 sys/arch/hpcsh/dev/j6x0lcd.c |  16 ++++------------
 1 files changed, 4 insertions(+), 12 deletions(-)

diffs (44 lines):

diff -r ba191f290777 -r f581424ff5be sys/arch/hpcsh/dev/j6x0lcd.c
--- a/sys/arch/hpcsh/dev/j6x0lcd.c      Sun Dec 18 17:02:45 2005 +0000
+++ b/sys/arch/hpcsh/dev/j6x0lcd.c      Sun Dec 18 18:59:48 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: j6x0lcd.c,v 1.8 2005/12/11 12:17:36 christos Exp $ */
+/*     $NetBSD: j6x0lcd.c,v 1.9 2005/12/18 18:59:48 uwe Exp $ */
 
 /*
  * Copyright (c) 2004, 2005 Valeriy E. Ushakov
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: j6x0lcd.c,v 1.8 2005/12/11 12:17:36 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: j6x0lcd.c,v 1.9 2005/12/18 18:59:48 uwe Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -324,11 +324,7 @@
 
 
 static int
-j6x0lcd_param(ctx, type, id, msg)
-       void *ctx;
-       int type;
-       long id;
-       void *msg;
+j6x0lcd_param(void *ctx, int type, long id, void *msg)
 {
        struct j6x0lcd_softc *sc = ctx;
        int value;
@@ -384,11 +380,7 @@
 
 
 static int
-j6x0lcd_power(ctx, type, id, msg)
-       void *ctx;
-       int type;
-       long id;
-       void *msg;
+j6x0lcd_power(void *ctx, int type, long id, void *msg)
 {
        int on;
        uint16_t r;



Home | Main Index | Thread Index | Old Index