(empfile, fileinit, lnd_init, lnd_postread, lnd_prewrite, nuk_init)

(nuk_postread, nuk_prewrite, pln_init, pln_postread, pln_prewrite)
(sct_postread, sct_prewrite, shp_init, shp_postread, shp_prewrite)
(ef_extend): Use void * for generic pointer parameter.
This commit is contained in:
Markus Armbruster 2005-12-31 12:52:18 +00:00
parent 3db4e34ba4
commit c3900f8424
9 changed files with 49 additions and 56 deletions

View file

@ -48,11 +48,10 @@
static int checksect(struct sctstr *);
/*ARGSUSED*/
int
sct_postread(int id, s_char *ptr)
sct_postread(int id, void *ptr)
{
struct sctstr *sp = (struct sctstr *)ptr;
struct sctstr *sp = ptr;
checksect(sp);
player->owner = (player->god || sp->sct_own == player->cnum);
@ -61,11 +60,10 @@ sct_postread(int id, s_char *ptr)
return 1;
}
/*ARGSUSED*/
int
sct_prewrite(int id, s_char *ptr)
sct_prewrite(int id, void *ptr)
{
struct sctstr *sp = (struct sctstr *)ptr;
struct sctstr *sp = ptr;
struct sctstr sect;
time(&sp->sct_timestamp);