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

@ -47,7 +47,7 @@
#include "sect.h"
#include "xy.h"
int
void
nuk_postread(int n, void *ptr)
{
struct nukstr *np = ptr;
@ -71,10 +71,9 @@ nuk_postread(int n, void *ptr)
}
player->owner = (player->god || np->nuk_own == player->cnum);
return 1;
}
int
void
nuk_prewrite(int n, void *ptr)
{
struct nukstr *np = ptr;
@ -89,8 +88,6 @@ nuk_prewrite(int n, void *ptr)
}
getnuke(n, &nuke);
return 1;
}
int