git: phantasia(6): General cleanup.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sun Jan 28 09:19:34 PST 2018


commit 4f91f2b658e9de751719e25f0c9507f2e9afec27
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sun Jan 28 18:57:53 2018 +0200

    phantasia(6): General cleanup.
    
      * Staticize
      * Constify
      * Collect externs
      * Add attributes
      * Sync logic with NetBSD (except for style)

Summary of changes:
 games/phantasia/fight.c       |  71 ++++++++++-----------------
 games/phantasia/gamesupport.c |  31 +-----------
 games/phantasia/include.h     |   2 -
 games/phantasia/interplayer.c |  57 +++++-----------------
 games/phantasia/io.c          |  25 +++-------
 games/phantasia/macros.h      |   2 +
 games/phantasia/main.c        | 100 ++++++++++++-------------------------
 games/phantasia/map.c         |   4 +-
 games/phantasia/misc.c        |  55 ++++-----------------
 games/phantasia/phantdefs.h   |   2 +
 games/phantasia/phantglobs.c  |  12 ++---
 games/phantasia/phantglobs.h  | 111 +++++++++++++++++++++++++++++-------------
 games/phantasia/phantstruct.h |   4 +-
 games/phantasia/setup.c       |  10 ++--
 14 files changed, 182 insertions(+), 304 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4f91f2b658e9de751719e25f0c9507f2e9afec27


-- 
DragonFly BSD source repository



More information about the Commits mailing list