Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/sa11x0 Drop parameter names from prototype to a...



details:   https://anonhg.NetBSD.org/src/rev/9cbeefa98147
branches:  trunk
changeset: 581589:9cbeefa98147
user:      uwe <uwe%NetBSD.org@localhost>
date:      Thu Jun 02 21:33:08 2005 +0000

description:
Drop parameter names from prototype to avoid shadowing warnings.

diffstat:

 sys/arch/arm/sa11x0/sa11x0_com.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4507f4133288 -r 9cbeefa98147 sys/arch/arm/sa11x0/sa11x0_com.c
--- a/sys/arch/arm/sa11x0/sa11x0_com.c  Thu Jun 02 21:32:03 2005 +0000
+++ b/sys/arch/arm/sa11x0/sa11x0_com.c  Thu Jun 02 21:33:08 2005 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: sa11x0_com.c,v 1.19 2003/08/07 16:26:54 agc Exp $        */
+/*      $NetBSD: sa11x0_com.c,v 1.20 2005/06/02 21:33:08 uwe Exp $        */
 
 /*-
  * Copyright (c) 1998, 1999, 2001 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sa11x0_com.c,v 1.19 2003/08/07 16:26:54 agc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sa11x0_com.c,v 1.20 2005/06/02 21:33:08 uwe Exp $");
 
 #include "opt_com.h"
 #include "opt_ddb.h"
@@ -1232,7 +1232,7 @@
        struct sacom_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 sr1;



Home | Main Index | Thread Index | Old Index