]> git.pond.sub.org Git - empserver/commit
subs: Factor common military counting out of shoo() and conv()
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 16 Sep 2016 07:07:52 +0000 (09:07 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 18:09:19 +0000 (20:09 +0200)
commitffd6651f8650696eeef4ee65072cb5839c295d51
tree47a45b3e18f3c82eb6e9a67244146827b26fd435
parent602f15f52d826c5c211b0ed0c63cb04f545812f8
subs: Factor common military counting out of shoo() and conv()

Put the new function security_strength() next to military_control(),
because that one does a similar count.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
include/prototypes.h
src/lib/commands/conv.c
src/lib/commands/shoo.c
src/lib/subs/control.c