Source-Changes-HG archive

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

[src/trunk]: src/games/dab Don't use the same name for two parameters.



details:   https://anonhg.NetBSD.org/src/rev/f4550877b1df
branches:  trunk
changeset: 759413:f4550877b1df
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Dec 08 17:08:07 2010 +0000

description:
Don't use the same name for two parameters.

diffstat:

 games/dab/gamescreen.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 0f6f96cd6ea1 -r f4550877b1df games/dab/gamescreen.h
--- a/games/dab/gamescreen.h    Wed Dec 08 17:06:35 2010 +0000
+++ b/games/dab/gamescreen.h    Wed Dec 08 17:08:07 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gamescreen.h,v 1.2 2008/04/28 20:22:54 martin Exp $    */
+/*     $NetBSD: gamescreen.h,v 1.3 2010/12/08 17:08:07 joerg Exp $     */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -63,9 +63,9 @@
     virtual void redraw(void) = 0;                     // Refresh
     virtual int getinput(void) = 0;                    // Get user input
     virtual void bell(void) = 0;                       // Beep
-    virtual void score(size_t p, const PLAYER& p) = 0; // Post current score
-    virtual void games(size_t p, const PLAYER& p) = 0; // Post games won
-    virtual void total(size_t p, const PLAYER& p) = 0; // Post total score
+    virtual void score(size_t l, const PLAYER& p) = 0; // Post current score
+    virtual void games(size_t l, const PLAYER& p) = 0; // Post games won
+    virtual void total(size_t l, const PLAYER& p) = 0; // Post total score
     virtual void ties(const PLAYER& p) = 0;            // Post tie games
 };
 



Home | Main Index | Thread Index | Old Index