(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
pln_postread(int n, s_char *ptr)
pln_postread(int n, void *ptr)
{
struct plnstr *pp = (struct plnstr *)ptr;
struct plnstr *pp = ptr;
struct shpstr theship;
struct lndstr theland;
@ -106,11 +106,10 @@ pln_postread(int n, s_char *ptr)
return 1;
}
/*ARGSUSED*/
int
pln_prewrite(int n, s_char *ptr)
pln_prewrite(int n, void *ptr)
{
struct plnstr *pp = (struct plnstr *)ptr;
struct plnstr *pp = ptr;
struct plnstr plane;
if (pp->pln_effic < PLANE_MINEFF) {
@ -131,9 +130,9 @@ pln_prewrite(int n, s_char *ptr)
}
void
pln_init(int n, s_char *ptr)
pln_init(int n, void *ptr)
{
struct plnstr *pp = (struct plnstr *)ptr;
struct plnstr *pp = ptr;
pp->ef_type = EF_PLANE;
pp->pln_uid = n;