rogue3, rogue5: fix all GCC5 warnings.
GCC5 enables more warnings by default, including pre-ANSI implicit function definitions. These two games now build cleanly, but the others will require more effort.
This commit is contained in:
parent
b937606ef8
commit
384386d71c
2 changed files with 4 additions and 5 deletions
|
|
@ -25,9 +25,8 @@ WINDOW *mw; /* Used to store mosnters */
|
||||||
FILE *scoreboard = NULL;
|
FILE *scoreboard = NULL;
|
||||||
FILE *logfi = NULL;
|
FILE *logfi = NULL;
|
||||||
|
|
||||||
main(argc, argv, envp)
|
int
|
||||||
char **argv;
|
main(int argc, char *argv[], char *envp[])
|
||||||
char **envp;
|
|
||||||
{
|
{
|
||||||
char *env;
|
char *env;
|
||||||
struct linked_list *item;
|
struct linked_list *item;
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,8 @@
|
||||||
* If this was the object of something's desire, that monster will
|
* If this was the object of something's desire, that monster will
|
||||||
* get mad and run at the hero
|
* get mad and run at the hero
|
||||||
*/
|
*/
|
||||||
update_mdest(obj)
|
void
|
||||||
register THING *obj;
|
update_mdest(THING *obj)
|
||||||
{
|
{
|
||||||
register THING *mp;
|
register THING *mp;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue