Mercurial > hg > early-roguelike
comparison rogue3/sticks.c @ 233:0990adf580ee
Declare some function arguments as const.
Some functions, mostly in fight.c, declared variables as pointers to
const char but passed them to functions that took pointers to ordinary
char. The strings did not actually get modified, so adding 'const' to
the function definitions removed the warnings.
author | John "Elwin" Edwards |
---|---|
date | Sun, 06 Mar 2016 19:32:47 -0500 |
parents | 527e2150eaf0 |
children |
comparison
equal
deleted
inserted
replaced
229:50b89f165a34 | 233:0990adf580ee |
---|