(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:
parent
3db4e34ba4
commit
c3900f8424
9 changed files with 49 additions and 56 deletions
|
@ -44,11 +44,10 @@
|
|||
#include "nat.h"
|
||||
#include "prototypes.h"
|
||||
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
nuk_postread(int n, s_char *ptr)
|
||||
nuk_postread(int n, void *ptr)
|
||||
{
|
||||
struct nukstr *np = (struct nukstr *)ptr;
|
||||
struct nukstr *np = ptr;
|
||||
|
||||
if (np->nuk_uid != n) {
|
||||
logerror("nuk_postread: Error - %d != %d, zeroing.\n", np->nuk_uid,
|
||||
|
@ -59,11 +58,10 @@ nuk_postread(int n, s_char *ptr)
|
|||
return 1;
|
||||
}
|
||||
|
||||
/*ARGSUSED*/
|
||||
int
|
||||
nuk_prewrite(int n, s_char *ptr)
|
||||
nuk_prewrite(int n, void *ptr)
|
||||
{
|
||||
struct nukstr *np = (struct nukstr *)ptr;
|
||||
struct nukstr *np = ptr;
|
||||
struct nukstr nuke;
|
||||
|
||||
np->ef_type = EF_NUKE;
|
||||
|
@ -77,9 +75,9 @@ nuk_prewrite(int n, s_char *ptr)
|
|||
}
|
||||
|
||||
void
|
||||
nuk_init(int n, s_char *ptr)
|
||||
nuk_init(int n, void *ptr)
|
||||
{
|
||||
struct nukstr *np = (struct nukstr *)ptr;
|
||||
struct nukstr *np = ptr;
|
||||
|
||||
np->ef_type = EF_NUKE;
|
||||
np->nuk_uid = n;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue