rogue4: fix most GCC5 warnings.
Converting all function definitions to ANSI style accounts for most of the change. This has exposed other problems, such as daemons not actually being their stated type, that will require more careful solutions.
This commit is contained in:
parent
384386d71c
commit
c1d6a6af6a
32 changed files with 625 additions and 394 deletions
|
|
@ -52,17 +52,9 @@ extern WINDOW *hw;
|
|||
* Function types
|
||||
*/
|
||||
|
||||
char *charge_str(), *ctime(), *getenv(), *inv_name(),
|
||||
*killname(), *nothing(), *num(), *ring_num(),
|
||||
*tr_name(),
|
||||
*unctrol(), *vowelstr();
|
||||
char *ctime(), *getenv();
|
||||
|
||||
void leave(int), quit(int), tstp(), auto_save(int), endit(int);
|
||||
int doctor(), nohaste(),
|
||||
rollwand(), runners(), sight(), stomach(), swander(),
|
||||
turn_see(), unconfuse(), unsee();
|
||||
|
||||
void checkout();
|
||||
void tstp(), endit(int);
|
||||
|
||||
long lseek();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue