DragonFly BSD
DragonFly commits List (threaded) for 2010-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: games: Massive style(9) cleanup commit. Reduces differences to NetBSD.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 9 Jan 2010 15:33:56 -0800 (PST)

commit 6693db176654a0f25095ec64d0a74d58dcf0e47e
Author: Sascha Wildner <saw@online.de>
Date:   Sun Jan 10 00:32:31 2010 +0100

    games: Massive style(9) cleanup commit. Reduces differences to NetBSD.
    
    Submitted-by: Ulrich Spoerlein <uqs@spoerlein.net>

Summary of changes:
 games/adventure/adventure.6              |    6 +-
 games/adventure/crc.c                    |  130 +-
 games/adventure/done.c                   |  155 +-
 games/adventure/hdr.h                    |  237 ++--
 games/adventure/init.c                   |  140 +-
 games/adventure/io.c                     |  617 ++++----
 games/adventure/main.c                   |  967 +++++++-----
 games/adventure/save.c                   |  185 +--
 games/adventure/setup.c                  |   26 +-
 games/adventure/subr.c                   | 1424 +++++++++-------
 games/adventure/vocab.c                  |  165 +-
 games/adventure/wizard.c                 |   80 +-
 games/arithmetic/arithmetic.6            |    6 +-
 games/arithmetic/arithmetic.c            |   32 +-
 games/atc/atc.6                          |    6 +-
 games/atc/def.h                          |    6 +-
 games/atc/extern.c                       |    6 +-
 games/atc/extern.h                       |    6 +-
 games/atc/grammar.y                      |   52 +-
 games/atc/graphics.c                     |   14 +-
 games/atc/include.h                      |    6 +-
 games/atc/input.c                        |   38 +-
 games/atc/lex.l                          |    6 +-
 games/atc/list.c                         |    8 +-
 games/atc/log.c                          |    7 +-
 games/atc/main.c                         |   38 +-
 games/atc/pathnames.h                    |    6 +-
 games/atc/struct.h                       |    6 +-
 games/atc/tunable.c                      |    6 +-
 games/atc/tunable.h                      |    6 +-
 games/atc/update.c                       |    6 +-
 games/backgammon/backgammon/backgammon.6 |    6 +-
 games/backgammon/backgammon/extra.c      |  187 +--
 games/backgammon/backgammon/main.c       |  466 +++---
 games/backgammon/backgammon/move.c       |  383 +++---
 games/backgammon/backgammon/text.c       |   32 +-
 games/backgammon/backgammon/version.c    |    8 +-
 games/backgammon/common_source/allow.c   |   45 +-
 games/backgammon/common_source/back.h    |   97 +-
 games/backgammon/common_source/board.c   |  109 +-
 games/backgammon/common_source/check.c   |   98 +-
 games/backgammon/common_source/fancy.c   |  694 ++++----
 games/backgammon/common_source/init.c    |   12 +-
 games/backgammon/common_source/odds.c    |   56 +-
 games/backgammon/common_source/one.c     |  102 +-
 games/backgammon/common_source/save.c    |  156 +-
 games/backgammon/common_source/subs.c    |  285 ++--
 games/backgammon/common_source/table.c   |  183 +--
 games/backgammon/teachgammon/data.c      |   10 +-
 games/backgammon/teachgammon/teach.c     |   52 +-
 games/backgammon/teachgammon/ttext1.c    |    8 +-
 games/backgammon/teachgammon/ttext2.c    |   73 +-
 games/backgammon/teachgammon/tutor.c     |   65 +-
 games/backgammon/teachgammon/tutor.h     |    8 +-
 games/battlestar/battlestar.6            |    6 +-
 games/battlestar/battlestar.c            |   31 +-
 games/battlestar/com1.c                  |  145 +-
 games/battlestar/com2.c                  |  362 +++--
 games/battlestar/com3.c                  |  402 +++---
 games/battlestar/com4.c                  |  442 +++---
 games/battlestar/com5.c                  |  388 +++---
 games/battlestar/com6.c                  |  135 +-
 games/battlestar/com7.c                  |  364 ++---
 games/battlestar/cypher.c                |  719 ++++----
 games/battlestar/dayfile.c               |    8 +-
 games/battlestar/dayobjs.c               |    8 +-
 games/battlestar/externs.h               |  118 +-
 games/battlestar/fly.c                   |  248 ++--
 games/battlestar/getcom.c                |   17 +-
 games/battlestar/globals.c               |   94 +-
 games/battlestar/init.c                  |   14 +-
 games/battlestar/misc.c                  |   19 +-
 games/battlestar/nightfile.c             |    8 +-
 games/battlestar/nightobjs.c             |    8 +-
 games/battlestar/parse.c                 |   23 +-
 games/battlestar/pathnames.h             |    6 +-
 games/battlestar/room.c                  |  268 ++--
 games/battlestar/save.c                  |   20 +-
 games/battlestar/words.c                 |   10 +-
 games/bcd/bcd.6                          |    6 +-
 games/bcd/bcd.c                          |   16 +-
 games/bs/bs.c                            |   74 +-
 games/caesar/caesar.6                    |    6 +-
 games/caesar/caesar.c                    |   63 +-
 games/caesar/rot13.sh                    |    6 +-
 games/canfield/canfield/canfield.6       |    6 +-
 games/canfield/canfield/canfield.c       |   51 +-
 games/canfield/canfield/pathnames.h      |    6 +-
 games/canfield/cfscores/cfscores.c       |   18 +-
 games/cribbage/cards.c                   |    9 +-
 games/cribbage/crib.c                    |   22 +-
 games/cribbage/cribbage.6                |    6 +-
 games/cribbage/cribbage.h                |   69 +-
 games/cribbage/cribcur.h                 |   10 +-
 games/cribbage/deck.h                    |   16 +-
 games/cribbage/extern.c                  |    9 +-
 games/cribbage/instr.c                   |    8 +-
 games/cribbage/io.c                      |   10 +-
 games/cribbage/pathnames.h               |    6 +-
 games/cribbage/score.c                   |   12 +-
 games/cribbage/support.c                 |   16 +-
 games/factor/factor.6                    |    6 +-
 games/factor/factor.c                    |   16 +-
 games/fish/fish.6                        |    6 +-
 games/fish/fish.c                        |   49 +-
 games/fish/pathnames.h                   |    6 +-
 games/fortune/Makefile.inc               |    2 +-
 games/fortune/datfiles/dragonfly-funny   |   20 +-
 games/fortune/datfiles/dragonfly-tips    |   20 +-
 games/fortune/datfiles/fortunes2         |    2 +-
 games/fortune/fortune/fortune.6          |    6 +-
 games/fortune/fortune/fortune.c          |  583 ++++----
 games/fortune/fortune/pathnames.h        |    6 +-
 games/fortune/strfile/strfile.8          |    6 +-
 games/fortune/strfile/strfile.c          |  148 +-
 games/fortune/strfile/strfile.h          |    6 +-
 games/fortune/unstr/unstr.c              |   56 +-
 games/grdc/grdc.c                        |   11 +-
 games/hack/Original_READ_ME              |    4 +-
 games/hack/alloc.c                       |   12 +-
 games/hack/config.h                      |   14 +-
 games/hack/data                          |    2 +-
 games/hack/def.gen.h                     |    4 +-
 games/hack/def.gold.h                    |    2 +-
 games/hack/def.mkroom.h                  |    6 +-
 games/hack/def.monst.h                   |   60 +-
 games/hack/def.obj.h                     |   24 +-
 games/hack/def.objclass.h                |   20 +-
 games/hack/def.objects.h                 |   10 +-
 games/hack/def.permonst.h                |    4 +-
 games/hack/def.rm.h                      |   10 +-
 games/hack/def.trap.h                    |   14 +-
 games/hack/def.wseg.h                    |    4 +-
 games/hack/hack.Decl.c                   |    8 +-
 games/hack/hack.apply.c                  |  322 ++--
 games/hack/hack.bones.c                  |   91 +-
 games/hack/hack.c                        |  948 ++++++-----
 games/hack/hack.cmd.c                    |  194 ++-
 games/hack/hack.do.c                     |  463 +++---
 games/hack/hack.do_name.c                |  233 ++--
 games/hack/hack.do_wear.c                |  340 +++--
 games/hack/hack.dog.c                    |  449 +++---
 games/hack/hack.eat.c                    |  318 ++--
 games/hack/hack.end.c                    |  684 +++++----
 games/hack/hack.engrave.c                |  283 ++--
 games/hack/hack.fight.c                  |  385 +++--
 games/hack/hack.fix                      |    4 +-
 games/hack/hack.h                        |   54 +-
 games/hack/hack.invent.c                 |  795 +++++----
 games/hack/hack.ioctl.c                  |   17 +-
 games/hack/hack.lev.c                    |  166 +-
 games/hack/hack.main.c                   |  302 ++--
 games/hack/hack.makemon.c                |  180 ++-
 games/hack/hack.mhitu.c                  |  338 ++--
 games/hack/hack.mklev.c                  |  764 +++++----
 games/hack/hack.mkmaze.c                 |  147 +-
 games/hack/hack.mkobj.c                  |   82 +-
 games/hack/hack.mkshop.c                 |  297 ++--
 games/hack/hack.mon.c                    |  916 ++++++-----
 games/hack/hack.monst.c                  |    4 +-
 games/hack/hack.o_init.c                 |  173 +-
 games/hack/hack.objnam.c                 |  476 +++---
 games/hack/hack.options.c                |  166 +-
 games/hack/hack.pager.c                  |  343 ++--
 games/hack/hack.potion.c                 |  308 ++--
 games/hack/hack.pri.c                    |  525 ++++---
 games/hack/hack.read.c                   |  706 +++++----
 games/hack/hack.rip.c                    |   36 +-
 games/hack/hack.rumors.c                 |   70 +-
 games/hack/hack.save.c                   |  188 ++-
 games/hack/hack.search.c                 |  162 +-
 games/hack/hack.shk.c                    |  949 ++++++------
 games/hack/hack.shknam.c                 |   27 +-
 games/hack/hack.steal.c                  |  190 ++-
 games/hack/hack.termcap.c                |  119 +-
 games/hack/hack.timeout.c                |   80 +-
 games/hack/hack.topl.c                   |  119 +-
 games/hack/hack.track.c                  |   24 +-
 games/hack/hack.trap.c                   |  343 ++--
 games/hack/hack.tty.c                    |  144 +-
 games/hack/hack.u_init.c                 |  171 ++-
 games/hack/hack.unix.c                   |  227 ++--
 games/hack/hack.vault.c                  |  308 ++--
 games/hack/hack.version.c                |    6 +-
 games/hack/hack.wield.c                  |   79 +-
 games/hack/hack.wizard.c                 |  244 ++--
 games/hack/hack.worm.c                   |  127 +-
 games/hack/hack.worn.c                   |   37 +-
 games/hack/hack.zap.c                    |  623 ++++----
 games/hack/makedefs.c                    |  168 +-
 games/hack/pathnames.h                   |    6 +-
 games/hack/rnd.c                         |   13 +-
 games/hangman/Makefile                   |    4 +-
 games/hangman/endgame.c                  |   10 +-
 games/hangman/extern.c                   |   51 +-
 games/hangman/getguess.c                 |   22 +-
 games/hangman/getword.c                  |   16 +-
 games/hangman/hangman.6                  |    6 +-
 games/hangman/hangman.h                  |   22 +-
 games/hangman/main.c                     |   13 +-
 games/hangman/pathnames.h                |    6 +-
 games/hangman/playgame.c                 |    8 +-
 games/hangman/prdata.c                   |    8 +-
 games/hangman/prman.c                    |    8 +-
 games/hangman/prword.c                   |    6 +-
 games/hangman/setup.c                    |   16 +-
 games/hunt/README                        |    2 +-
 games/hunt/README.protocol               |   32 +-
 games/hunt/hunt/client.h                 |   50 +-
 games/hunt/hunt/connect.c                |   50 +-
 games/hunt/hunt/display.c                |   16 +-
 games/hunt/hunt/display.h                |    4 +-
 games/hunt/hunt/hunt.c                   |   58 +-
 games/hunt/hunt/list.c                   |   10 +-
 games/hunt/hunt/list.h                   |    2 +-
 games/hunt/hunt/otto.c                   |   50 +-
 games/hunt/hunt/playit.c                 |   52 +-
 games/hunt/huntd/answer.c                |   74 +-
 games/hunt/huntd/conf.c                  |   26 +-
 games/hunt/huntd/conf.h                  |    2 +-
 games/hunt/huntd/draw.c                  |   56 +-
 games/hunt/huntd/driver.c                |   20 +-
 games/hunt/huntd/execute.c               |   52 +-
 games/hunt/huntd/expl.c                  |   50 +-
 games/hunt/huntd/extern.c                |   54 +-
 games/hunt/huntd/hunt.h                  |   50 +-
 games/hunt/huntd/makemaze.c              |   50 +-
 games/hunt/huntd/server.h                |   50 +-
 games/hunt/huntd/shots.c                 |   58 +-
 games/hunt/huntd/terminal.c              |   50 +-
 games/larn/Fixed.Bugs                    |    8 +-
 games/larn/README                        |    4 +-
 games/larn/bill.c                        |   20 +-
 games/larn/config.c                      |   19 +-
 games/larn/create.c                      |  721 +++++----
 games/larn/data.c                        |  535 +++---
 games/larn/datfiles/larn.help            |    4 +-
 games/larn/diag.c                        |  438 +++--
 games/larn/display.c                     |  751 ++++++----
 games/larn/fortune.c                     |    6 +-
 games/larn/global.c                      |  937 +++++++----
 games/larn/header.h                      |  185 +--
 games/larn/help.c                        |  103 +-
 games/larn/holidays                      |   66 -
 games/larn/io.c                          | 1064 +++++++------
 games/larn/larn.6                        |    6 +-
 games/larn/main.c                        | 1575 +++++++++++-------
 games/larn/monster.c                     | 2111 +++++++++++++++---------
 games/larn/moreobj.c                     |  638 ++++----
 games/larn/movem.c                       |  558 ++++---
 games/larn/nap.c                         |    9 +-
 games/larn/object.c                      | 1809 +++++++++++++--------
 games/larn/pathnames.h                   |    6 +-
 games/larn/regen.c                       |  213 ++-
 games/larn/savelev.c                     |   50 +-
 games/larn/scores.c                      |  811 ++++++----
 games/larn/signal.c                      |  250 ++--
 games/larn/store.c                       |  898 ++++++-----
 games/larn/tok.c                         |  332 +++--
 games/mille/comp.c                       |   18 +-
 games/mille/end.c                        |   18 +-
 games/mille/extern.c                     |   38 +-
 games/mille/init.c                       |   22 +-
 games/mille/mille.6                      |    6 +-
 games/mille/mille.c                      |   22 +-
 games/mille/mille.h                      |  246 ++--
 games/mille/misc.c                       |   21 +-
 games/mille/move.c                       |   32 +-
 games/mille/print.c                      |   24 +-
 games/mille/roll.c                       |   12 +-
 games/mille/save.c                       |   41 +-
 games/mille/types.c                      |   15 +-
 games/mille/varpush.c                    |   46 +-
 games/morse/morse.6                      |    6 +-
 games/morse/morse.c                      |    8 +-
 games/number/number.6                    |    6 +-
 games/number/number.c                    |    8 +-
 games/phantasia/fight.c                  | 2659 ++++++++++++++----------------
 games/phantasia/gamesupport.c            | 1203 ++++++--------
 games/phantasia/interplayer.c            | 1893 ++++++++++------------
 games/phantasia/io.c                     |  637 +++-----
 games/phantasia/macros.h                 |    2 +
 games/phantasia/main.c                   | 1942 ++++++++++------------
 games/phantasia/misc.c                   | 2541 ++++++++++++----------------
 games/phantasia/pathnames.h              |    6 +-
 games/phantasia/phantdefs.h              |   86 +-
 games/phantasia/phantglobs.c             |   52 +-
 games/phantasia/phantglobs.h             |    2 +-
 games/phantasia/setup.c                  |  262 ++--
 games/pig/pig.6                          |    6 +-
 games/pig/pig.c                          |    6 +-
 games/pom/pom.6                          |    6 +-
 games/pom/pom.c                          |    8 +-
 games/ppt/ppt.c                          |    8 +-
 games/primes/pattern.c                   |    8 +-
 games/primes/pr_tbl.c                    |    8 +-
 games/primes/primes.c                    |    8 +-
 games/primes/primes.h                    |    8 +-
 games/quiz/pathnames.h                   |    6 +-
 games/quiz/quiz.6                        |    6 +-
 games/quiz/quiz.c                        |    6 +-
 games/quiz/quiz.h                        |    6 +-
 games/quiz/rxp.c                         |    6 +-
 games/rain/rain.6                        |    6 +-
 games/rain/rain.c                        |    8 +-
 games/random/random.6                    |    6 +-
 games/random/random.c                    |    8 +-
 games/random/randomize_fd.c              |    2 +-
 games/random/randomize_fd.h              |    2 +-
 games/robots/extern.c                    |   71 +-
 games/robots/flush_in.c                  |   18 +-
 games/robots/init_field.c                |   24 +-
 games/robots/main.c                      |   74 +-
 games/robots/make_level.c                |   20 +-
 games/robots/move.c                      |   76 +-
 games/robots/move_robs.c                 |   26 +-
 games/robots/pathnames.h                 |    6 +-
 games/robots/play_level.c                |   28 +-
 games/robots/query.c                     |   14 +-
 games/robots/rnd_pos.c                   |   19 +-
 games/robots/robots.6                    |    6 +-
 games/robots/robots.h                    |  106 +-
 games/robots/score.c                     |   68 +-
 games/rogue/CHANGES                      |    2 +-
 games/rogue/Makefile                     |    2 +-
 games/rogue/USD.doc/rogue.me             |   10 +-
 games/rogue/hit.c                        |   39 +-
 games/rogue/init.c                       |   29 +-
 games/rogue/inventory.c                  |   10 +-
 games/rogue/level.c                      |   46 +-
 games/rogue/machdep.c                    |   25 +-
 games/rogue/main.c                       |   10 +-
 games/rogue/message.c                    |   18 +-
 games/rogue/monster.c                    |   30 +-
 games/rogue/move.c                       |   27 +-
 games/rogue/object.c                     |   35 +-
 games/rogue/pack.c                       |   25 +-
 games/rogue/pathnames.h                  |    7 +-
 games/rogue/play.c                       |    8 +-
 games/rogue/random.c                     |   11 +-
 games/rogue/ring.c                       |   18 +-
 games/rogue/rogue.6                      |    6 +-
 games/rogue/rogue.h                      |   44 +-
 games/rogue/room.c                       |   21 +-
 games/rogue/save.c                       |   42 +-
 games/rogue/score.c                      |   39 +-
 games/rogue/spec_hit.c                   |   37 +-
 games/rogue/throw.c                      |   19 +-
 games/rogue/trap.c                       |   10 +-
 games/rogue/use.c                        |   22 +-
 games/rogue/zap.c                        |   20 +-
 games/sail/assorted.c                    |   24 +-
 games/sail/dr_1.c                        |   23 +-
 games/sail/dr_2.c                        |   47 +-
 games/sail/dr_3.c                        |   28 +-
 games/sail/dr_4.c                        |    8 +-
 games/sail/dr_5.c                        |    8 +-
 games/sail/dr_main.c                     |   10 +-
 games/sail/driver.h                      |    8 +-
 games/sail/externs.h                     |  166 +-
 games/sail/game.c                        |   17 +-
 games/sail/globals.c                     |  607 ++++----
 games/sail/lo_main.c                     |    8 +-
 games/sail/machdep.h                     |    8 +-
 games/sail/main.c                        |   15 +-
 games/sail/misc.c                        |   24 +-
 games/sail/parties.c                     |   14 +-
 games/sail/pathnames.h                   |    6 +-
 games/sail/pl_1.c                        |   10 +-
 games/sail/pl_2.c                        |    8 +-
 games/sail/pl_3.c                        |   11 +-
 games/sail/pl_4.c                        |   10 +-
 games/sail/pl_5.c                        |   10 +-
 games/sail/pl_6.c                        |   10 +-
 games/sail/pl_7.c                        |   22 +-
 games/sail/pl_main.c                     |   18 +-
 games/sail/player.h                      |   10 +-
 games/sail/sail.6                        |    6 +-
 games/sail/sync.c                        |   17 +-
 games/sail/version.c                     |    8 +-
 games/snake/snake/pathnames.h            |    8 +-
 games/snake/snake/snake.6                |    6 +-
 games/snake/snake/snake.c                |  448 +++---
 games/snake/snscore/Makefile             |    4 +-
 games/snake/snscore/snscore.c            |   14 +-
 games/trek/DOC/trekmanual.nr             |    4 +-
 games/trek/USD.doc/trek.me               |    8 +-
 games/trek/abandon.c                     |   42 +-
 games/trek/attack.c                      |   50 +-
 games/trek/autover.c                     |   16 +-
 games/trek/capture.c                     |   33 +-
 games/trek/cgetc.c                       |   14 +-
 games/trek/check_out.c                   |   10 +-
 games/trek/checkcond.c                   |   16 +-
 games/trek/compkl.c                      |   35 +-
 games/trek/computer.c                    |  102 +-
 games/trek/damage.c                      |   18 +-
 games/trek/damaged.c                     |   13 +-
 games/trek/dcrept.c                      |   29 +-
 games/trek/destruct.c                    |   23 +-
 games/trek/dock.c                        |   40 +-
 games/trek/dumpgame.c                    |   34 +-
 games/trek/dumpme.c                      |   22 +-
 games/trek/dumpssradio.c                 |   19 +-
 games/trek/events.c                      |  116 +-
 games/trek/externs.c                     |   16 +-
 games/trek/getcodi.c                     |   12 +-
 games/trek/getpar.c                      |   72 +-
 games/trek/getpar.h                      |   36 +-
 games/trek/help.c                        |   50 +-
 games/trek/impulse.c                     |   24 +-
 games/trek/initquad.c                    |   39 +-
 games/trek/kill.c                        |   64 +-
 games/trek/klmove.c                      |   49 +-
 games/trek/lose.c                        |   19 +-
 games/trek/lrscan.c                      |   37 +-
 games/trek/main.c                        |   46 +-
 games/trek/move.c                        |   64 +-
 games/trek/nova.c                        |   46 +-
 games/trek/out.c                         |   10 +-
 games/trek/phaser.c                      |  149 +-
 games/trek/play.c                        |   22 +-
 games/trek/ram.c                         |   16 +-
 games/trek/ranf.c                        |   10 +-
 games/trek/rest.c                        |   19 +-
 games/trek/schedule.c                    |   35 +-
 games/trek/score.c                       |   25 +-
 games/trek/setup.c                       |   83 +-
 games/trek/setwarp.c                     |   14 +-
 games/trek/shield.c                      |   57 +-
 games/trek/snova.c                       |   62 +-
 games/trek/srscan.c                      |   55 +-
 games/trek/systemname.c                  |   12 +-
 games/trek/torped.c                      |   83 +-
 games/trek/trek.6                        |    6 +-
 games/trek/trek.h                        |  252 ++--
 games/trek/utility.c                     |    8 +-
 games/trek/visual.c                      |   19 +-
 games/trek/warp.c                        |   80 +-
 games/trek/win.c                         |   25 +-
 games/wargames/wargames.6                |   20 +-
 games/wargames/wargames.sh               |    6 +-
 games/worm/worm.6                        |    6 +-
 games/worm/worm.c                        |   66 +-
 games/worms/worms.6                      |   21 +-
 games/worms/worms.c                      |   21 +-
 games/wump/pathnames.h                   |    6 +-
 games/wump/wump.6                        |    6 +-
 games/wump/wump.c                        |   64 +-
 games/wump/wump.info                     |    4 +-
 450 files changed, 31450 insertions(+), 29998 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6693db176654a0f25095ec64d0a74d58dcf0e47e


-- 
DragonFly BSD source repository



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