]> git.cworth.org Git - kub/commitdiff
Removed extra card_compare
authorKevin Worth <kworth@mac-mini.(none)>
Mon, 29 Jan 2007 18:02:43 +0000 (13:02 -0500)
committerKevin Worth <kworth@mac-mini.(none)>
Mon, 29 Jan 2007 18:02:43 +0000 (13:02 -0500)
kub.c

diff --git a/kub.c b/kub.c
index 638fb12e3a2380976d3a090d25874a76050a719d..69c3d033a9f0162245f3d6830da3275256837daa 100644 (file)
--- a/kub.c
+++ b/kub.c
@@ -75,12 +75,6 @@ static void player_init(player_t *player)
 }
 
 
-static int card_compare(card_t *card_one, card_t *card_two)
-{
-    return card_one->number - card_two->number;
-}
-
-
 /* If card_one < card_two, then return value will be negative
    if they are equal, 0 will be returned,
    if card_one > card_two, then return value will be positive */