chiark / gitweb /
Return error messages as 'const char *', not 'char *'.
authorSimon Tatham <anakin@pobox.com>
Sun, 1 Oct 2017 12:53:24 +0000 (13:53 +0100)
committerSimon Tatham <anakin@pobox.com>
Sun, 1 Oct 2017 15:34:41 +0000 (16:34 +0100)
commitb3243d75043cf1d70beb88d2a36eaebfe85c2c3f
treeab6151e321465c172582ca064910665f055ceec9
parentde67801b0fd3dfa11777c1ef86cd617baf376b7b
Return error messages as 'const char *', not 'char *'.

They're never dynamically allocated, and are almost always string
literals, so const is more appropriate.
52 files changed:
blackbox.c
bridges.c
cube.c
devel.but
dominosa.c
emcc.c
fifteen.c
filling.c
flip.c
flood.c
galaxies.c
gtk.c
guess.c
inertia.c
keen.c
lightup.c
loopy.c
magnets.c
map.c
midend.c
mines.c
nestedvm.c
net.c
netslide.c
nullgame.c
osx.m
palisade.c
pattern.c
pearl.c
pegs.c
puzzles.h
range.c
rect.c
samegame.c
signpost.c
singles.c
sixteen.c
slant.c
solo.c
tents.c
towers.c
tracks.c
twiddle.c
undead.c
unequal.c
unfinished/group.c
unfinished/separate.c
unfinished/slide.c
unfinished/sokoban.c
unruly.c
untangle.c
windows.c