Module Name:    src
Committed By:   lukem
Date:           Mon Apr 13 06:42:26 UTC 2009

Modified Files:
        src/usr.bin/rpcgen: rpc_main.c

Log Message:
fix -Wshadow issue


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.bin/rpcgen/rpc_main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/rpcgen/rpc_main.c
diff -u src/usr.bin/rpcgen/rpc_main.c:1.32 src/usr.bin/rpcgen/rpc_main.c:1.33
--- src/usr.bin/rpcgen/rpc_main.c:1.32	Sat Mar  8 19:49:08 2008
+++ src/usr.bin/rpcgen/rpc_main.c	Mon Apr 13 06:42:25 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rpc_main.c,v 1.32 2008/03/08 19:49:08 christos Exp $	*/
+/*	$NetBSD: rpc_main.c,v 1.33 2009/04/13 06:42:25 lukem Exp $	*/
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI";
 #else
-__RCSID("$NetBSD: rpc_main.c,v 1.32 2008/03/08 19:49:08 christos Exp $");
+__RCSID("$NetBSD: rpc_main.c,v 1.33 2009/04/13 06:42:25 lukem Exp $");
 #endif
 #endif
 
@@ -855,16 +855,16 @@
 }
 
 static void
-putarg(where, cp)
+putarg(pwhere, cp)
 	char   *cp;
-	int     where;
+	int     pwhere;
 {
-	if (where >= ARGLISTLEN) {
+	if (pwhere >= ARGLISTLEN) {
 		f_print(stderr, "rpcgen: arglist coding error\n");
 		crash();
 		/* NOTREACHED */
 	}
-	arglist[where] = cp;
+	arglist[pwhere] = cp;
 
 }
 /*

Reply via email to