(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

@ -44,9 +44,9 @@
#include "optlist.h"
int
lnd_postread(int n, s_char *ptr)
lnd_postread(int n, void *ptr)
{
struct lndstr *llp = (struct lndstr *)ptr;
struct lndstr *llp = ptr;
struct shpstr theship;
struct lndstr theland;
@ -108,11 +108,10 @@ lnd_postread(int n, s_char *ptr)
return 1;
}
/*ARGSUSED*/
int
lnd_prewrite(int n, s_char *ptr)
lnd_prewrite(int n, void *ptr)
{
struct lndstr *llp = (struct lndstr *)ptr;
struct lndstr *llp = ptr;
struct lndstr land;
struct lndstr *lp;
struct plnstr *pp;
@ -163,9 +162,9 @@ lnd_prewrite(int n, s_char *ptr)
}
void
lnd_init(int n, s_char *ptr)
lnd_init(int n, void *ptr)
{
struct lndstr *lp = (struct lndstr *)ptr;
struct lndstr *lp = ptr;
lp->ef_type = EF_LAND;
lp->lnd_uid = n;