Change empfile members postread() and prewrite() to return void

Callers ignore the value, and callees always return 1.  Pointless.
This commit is contained in:
Markus Armbruster 2008-08-31 14:44:16 -04:00
parent e438f6b4cd
commit bf436a4498
8 changed files with 35 additions and 38 deletions

View file

@ -50,7 +50,7 @@
static int checksect(struct sctstr *);
int
void
sct_postread(int id, void *ptr)
{
struct sctstr *sp = ptr;
@ -59,10 +59,9 @@ sct_postread(int id, void *ptr)
player->owner = (player->god || sp->sct_own == player->cnum);
if (opt_MOB_ACCESS)
sct_do_upd_mob(sp);
return 1;
}
int
void
sct_prewrite(int id, void *ptr)
{
struct sctstr *sp = ptr;
@ -71,7 +70,6 @@ sct_prewrite(int id, void *ptr)
bridge_damaged(sp);
checksect(sp);
getsect(sp->sct_x, sp->sct_y, &sect);
return 1;
}
void