Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Don't name parameters in a function declaration.



details:   https://anonhg.NetBSD.org/src/rev/0e6cd5fa4eb7
branches:  trunk
changeset: 534546:0e6cd5fa4eb7
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Jul 29 05:57:16 2002 +0000

description:
Don't name parameters in a function declaration.

diffstat:

 sys/dev/ic/com.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3da52c770723 -r 0e6cd5fa4eb7 sys/dev/ic/com.c
--- a/sys/dev/ic/com.c  Mon Jul 29 05:54:09 2002 +0000
+++ b/sys/dev/ic/com.c  Mon Jul 29 05:57:16 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: com.c,v 1.197 2002/07/29 05:54:09 simonb Exp $ */
+/*     $NetBSD: com.c,v 1.198 2002/07/29 05:57:16 simonb Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.197 2002/07/29 05:54:09 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.198 2002/07/29 05:57:16 simonb Exp $");
 
 #include "opt_com.h"
 #include "opt_ddb.h"
@@ -1744,7 +1744,7 @@
 integrate void
 com_rxsoft(struct com_softc *sc, struct tty *tp)
 {
-       int (*rint)(int c, struct tty *tp) = tp->t_linesw->l_rint;
+       int (*rint)(int, struct tty *) = tp->t_linesw->l_rint;
        u_char *get, *end;
        u_int cc, scc;
        u_char lsr;



Home | Main Index | Thread Index | Old Index