git: games: Fix -Werror for gcc47.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Jul 12 04:42:07 PDT 2012


commit 435f923e109adcc7b1ee7693c6981255e6bc7030
Author: Sascha Wildner <saw at online.de>
Date:   Thu Jul 12 13:41:23 2012 +0200

    games: Fix -Werror for gcc47.
    
    * Remove unused variables and mark a few things __unused.
    
    * Properly use socklen_t.
    
    * Remove trek(6)'s undocumented -p option (which did nothing).

Summary of changes:
 games/adventure/io.c                  |    6 +++---
 games/backgammon/teachgammon/ttext2.c |    4 ----
 games/battlestar/fly.c                |    2 +-
 games/hunt/hunt/list.c                |    4 ++--
 games/rain/rain.c                     |    5 +----
 games/rogue/init.c                    |    4 +---
 games/rogue/machdep.c                 |   28 ----------------------------
 games/rogue/rogue.h                   |    3 ---
 games/trek/main.c                     |   19 +++++--------------
 9 files changed, 13 insertions(+), 62 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/435f923e109adcc7b1ee7693c6981255e6bc7030


-- 
DragonFly BSD source repository





More information about the Commits mailing list