git: mille(6): General cleanup.
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Wed Jan 24 04:46:25 PST 2018
commit ff964c84ebc98df1f03ebbee5c3d32f68bb33f35
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Wed Jan 24 14:33:56 2018 +0200
mille(6): General cleanup.
* Constification.
* Braces.
* Do not use increments/decrements on booleans.
* Add few missing fallthrough.
Summary of changes:
games/mille/comp.c | 23 ++++++++++++-----------
games/mille/end.c | 9 +++------
games/mille/extern.c | 12 ++++++------
games/mille/init.c | 3 +--
games/mille/mille.h | 21 +++++++++++----------
games/mille/misc.c | 17 ++++++-----------
games/mille/move.c | 10 ++++++----
games/mille/print.c | 1 -
games/mille/roll.c | 4 +---
games/mille/save.c | 4 +---
games/mille/types.c | 2 --
games/mille/varpush.c | 3 +--
12 files changed, 48 insertions(+), 61 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ff964c84ebc98df1f03ebbee5c3d32f68bb33f35
--
DragonFly BSD source repository
More information about the Commits
mailing list