diff options
| author | plunky <plunky@NetBSD.org> | 2011-08-30 17:06:20 +0000 |
|---|---|---|
| committer | plunky <plunky@NetBSD.org> | 2011-08-30 17:06:20 +0000 |
| commit | 3cd9f110a3b5d823dfa855b36c0a0b3ca97faa0b (patch) | |
| tree | 36b768fff008b683b52a411eae1f23e5e8fbb47f /libexec/rpc.rstatd | |
| parent | d978656c4d2c9d76d838899f16b846bdfce60bfb (diff) | |
Apply casts to cases where xdrproc_t is expected but is not
strictly passed, for example because the second argument is
a different kind of pointer.
Diffstat (limited to 'libexec/rpc.rstatd')
| -rw-r--r-- | libexec/rpc.rstatd/rstat_proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/rpc.rstatd/rstat_proc.c b/libexec/rpc.rstatd/rstat_proc.c index bc27ff4a4a6..781fc7e5e01 100644 --- a/libexec/rpc.rstatd/rstat_proc.c +++ b/libexec/rpc.rstatd/rstat_proc.c @@ -1,4 +1,4 @@ -/* $NetBSD: rstat_proc.c,v 1.44 2009/03/16 00:51:06 lukem Exp $ */ +/* $NetBSD: rstat_proc.c,v 1.45 2011/08/30 17:06:20 plunky Exp $ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -35,7 +35,7 @@ static char sccsid[] = "from: @(#)rpc.rstatd.c 1.1 86/09/25 Copyr 1984 Sun Micro"; static char sccsid[] = "from: @(#)rstat_proc.c 2.2 88/08/01 4.0 RPCSRC"; #else -__RCSID("$NetBSD: rstat_proc.c,v 1.44 2009/03/16 00:51:06 lukem Exp $"); +__RCSID("$NetBSD: rstat_proc.c,v 1.45 2011/08/30 17:06:20 plunky Exp $"); #endif #endif @@ -378,7 +378,7 @@ rstat_service(struct svc_req *rqstp, SVCXPRT *transp) switch (rqstp->rq_proc) { case NULLPROC: - (void)svc_sendreply(transp, xdr_void, (char *)NULL); + (void)svc_sendreply(transp, (xdrproc_t)xdr_void, (char *)NULL); goto leave; case RSTATPROC_STATS: |
