commands: Rename the command functions travis
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 18 Jan 2021 05:00:04 +0000 (06:00 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 18 Jan 2021 05:16:26 +0000 (06:16 +0100)
commit7e6318500758d8ba99dca7dd9b95e3a8218699cb
treefca7c384e200d203e3e112f7947cf12c6c654f47
parentaf143ac5973d8b650e7a153372bd9da9e7546a76
commands: Rename the command functions

Command functions are traditionally named like the command shortened
to four characters.  When this name collides with a keyword or library
function, we abbreviate more: brea(), rea().  A few are unabbreviated,
e.g.  execute().  A few have different names, e.g. explain(), not
list().

Commit 23726b379 (v4.3.0) suppressed a GCC warning about carg()
colliding with its built-in function.

Ron Koenderink reported Microsoft Visual Studio 2019 fails to link:
"_carg already defined in ucrtd.lib(ucrtbased.dll)".

Time to clean this up: rename the functions to c_FOO(), where FOO is
the unabbreviated name of the command.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
158 files changed:
configure.ac
include/prototypes.h
include/testing.h
src/lib/commands/acce.c
src/lib/commands/add.c
src/lib/commands/anti.c
src/lib/commands/arm.c
src/lib/commands/army.c
src/lib/commands/assa.c
src/lib/commands/atta.c
src/lib/commands/bdes.c
src/lib/commands/best.c
src/lib/commands/boar.c
src/lib/commands/bomb.c
src/lib/commands/brea.c
src/lib/commands/budg.c
src/lib/commands/buil.c
src/lib/commands/buy.c
src/lib/commands/capi.c
src/lib/commands/carg.c
src/lib/commands/cens.c
src/lib/commands/chan.c
src/lib/commands/coas.c
src/lib/commands/coll.c
src/lib/commands/comm.c
src/lib/commands/cons.c
src/lib/commands/conv.c
src/lib/commands/coun.c
src/lib/commands/cuto.c
src/lib/commands/decl.c
src/lib/commands/deli.c
src/lib/commands/demo.c
src/lib/commands/desi.c
src/lib/commands/disa.c
src/lib/commands/dist.c
src/lib/commands/drop.c
src/lib/commands/dump.c
src/lib/commands/echo.c
src/lib/commands/edit.c
src/lib/commands/enab.c
src/lib/commands/enli.c
src/lib/commands/expl.c
src/lib/commands/fina.c
src/lib/commands/flash.c
src/lib/commands/flee.c
src/lib/commands/fly.c
src/lib/commands/forc.c
src/lib/commands/fort.c
src/lib/commands/give.c
src/lib/commands/grin.c
src/lib/commands/hard.c
src/lib/commands/head.c
src/lib/commands/improve.c
src/lib/commands/info.c
src/lib/commands/land.c
src/lib/commands/laun.c
src/lib/commands/lboard.c
src/lib/commands/ldump.c
src/lib/commands/ledg.c
src/lib/commands/leve.c
src/lib/commands/load.c
src/lib/commands/look.c
src/lib/commands/lost.c
src/lib/commands/lstat.c
src/lib/commands/lten.c
src/lib/commands/map.c
src/lib/commands/marc.c
src/lib/commands/mark.c
src/lib/commands/mfir.c
src/lib/commands/mine.c
src/lib/commands/miss.c
src/lib/commands/mora.c
src/lib/commands/move.c
src/lib/commands/name.c
src/lib/commands/nati.c
src/lib/commands/navi.c
src/lib/commands/ndump.c
src/lib/commands/new.c
src/lib/commands/newe.c
src/lib/commands/news.c
src/lib/commands/nuke.c
src/lib/commands/offe.c
src/lib/commands/orig.c
src/lib/commands/para.c
src/lib/commands/path.c
src/lib/commands/payo.c
src/lib/commands/pboa.c
src/lib/commands/pdump.c
src/lib/commands/peek.c
src/lib/commands/plan.c
src/lib/commands/play.c
src/lib/commands/powe.c
src/lib/commands/prod.c
src/lib/commands/pstat.c
src/lib/commands/rada.c
src/lib/commands/rang.c
src/lib/commands/rea.c
src/lib/commands/real.c
src/lib/commands/reco.c
src/lib/commands/reje.c
src/lib/commands/rela.c
src/lib/commands/relo.c
src/lib/commands/repa.c
src/lib/commands/repo.c
src/lib/commands/rese.c
src/lib/commands/reso.c
src/lib/commands/retr.c
src/lib/commands/rout.c
src/lib/commands/sabo.c
src/lib/commands/sate.c
src/lib/commands/scra.c
src/lib/commands/scut.c
src/lib/commands/sdump.c
src/lib/commands/sect.c
src/lib/commands/sell.c
src/lib/commands/set.c
src/lib/commands/setres.c
src/lib/commands/setsect.c
src/lib/commands/shar.c
src/lib/commands/shark.c
src/lib/commands/shi.c
src/lib/commands/shoo.c
src/lib/commands/show.c
src/lib/commands/shut.c
src/lib/commands/sinf.c
src/lib/commands/skyw.c
src/lib/commands/sona.c
src/lib/commands/spy.c
src/lib/commands/sstat.c
src/lib/commands/stoc.c
src/lib/commands/stop.c
src/lib/commands/stre.c
src/lib/commands/strv.c
src/lib/commands/supp.c
src/lib/commands/surv.c
src/lib/commands/swap.c
src/lib/commands/tele.c
src/lib/commands/tend.c
src/lib/commands/terr.c
src/lib/commands/testing.c
src/lib/commands/thre.c
src/lib/commands/togg.c
src/lib/commands/torp.c
src/lib/commands/trad.c
src/lib/commands/tran.c
src/lib/commands/turn.c
src/lib/commands/upda.c
src/lib/commands/upgr.c
src/lib/commands/vers.c
src/lib/commands/wing.c
src/lib/commands/wipe.c
src/lib/commands/work.c
src/lib/commands/xdump.c
src/lib/commands/zdon.c
src/lib/player/empdis.c
src/lib/player/empmod.c
src/lib/player/player.c
src/lib/subs/unitsub.c