Make gcc -Wall happy.
This commit is contained in:
parent
89bae99c5d
commit
c501583dfa
|
@ -230,7 +230,7 @@ nis_xdr_ypmaplist(xdrs, objp)
|
|||
return (FALSE);
|
||||
}
|
||||
if (!xdr_pointer(xdrs, (char **)&objp->next,
|
||||
sizeof(nismaplist), nis_xdr_ypmaplist))
|
||||
sizeof(nismaplist), (xdrproc_t)nis_xdr_ypmaplist))
|
||||
{
|
||||
return (FALSE);
|
||||
}
|
||||
|
@ -260,7 +260,7 @@ nis_xdr_ypresp_maplist(xdrs, objp)
|
|||
return (FALSE);
|
||||
}
|
||||
if (!xdr_pointer(xdrs, (char **)&objp->maps,
|
||||
sizeof(nismaplist), nis_xdr_ypmaplist))
|
||||
sizeof(nismaplist), (xdrproc_t)nis_xdr_ypmaplist))
|
||||
{
|
||||
return (FALSE);
|
||||
}
|
||||
|
@ -277,9 +277,11 @@ nisproc_maplist_2(argp, clnt)
|
|||
static nisresp_maplist res;
|
||||
|
||||
memset(&res, 0, sizeof(res));
|
||||
if (clnt_call(clnt, YPPROC_MAPLIST, nis_xdr_domainname, (caddr_t)argp,
|
||||
nis_xdr_ypresp_maplist, (caddr_t)&res, TIMEOUT)
|
||||
!= RPC_SUCCESS) {
|
||||
if (clnt_call(clnt, YPPROC_MAPLIST,
|
||||
(xdrproc_t)nis_xdr_domainname, (caddr_t)argp,
|
||||
(xdrproc_t)nis_xdr_ypresp_maplist, (caddr_t)&res,
|
||||
TIMEOUT) != RPC_SUCCESS)
|
||||
{
|
||||
return (NULL);
|
||||
}
|
||||
return (&res);
|
||||
|
|
|
@ -630,7 +630,7 @@ strop_count(self, args)
|
|||
PyObject *args;
|
||||
{
|
||||
char *s, *sub;
|
||||
int len, n, j;
|
||||
int len, n;
|
||||
int i = 0, last = INT_MAX;
|
||||
int m, r;
|
||||
|
||||
|
|
Loading…
Reference in New Issue