mirror of https://github.com/mkerrisk/man-pages
xdr.3: SYNOPSIS: Fix prototype types
Use the same types glibc uses, and add a missing 'const'. .../glibc$ grep_glibc_prototype xdr_union sunrpc/rpc/xdr.h:315: extern bool_t xdr_union (XDR *__xdrs, enum_t *__dscmp, char *__unp, const struct xdr_discrim *__choices, xdrproc_t __dfault) __THROW; .../glibc$ Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
3126777905
commit
2ce1caae32
|
@ -460,8 +460,8 @@ integers and their external representations.
|
||||||
This routine returns one if it succeeds, zero otherwise.
|
This routine returns one if it succeeds, zero otherwise.
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
.BI "bool_t xdr_union(XDR *" xdrs ", int *" dscmp ", char *" unp ,
|
.BI "bool_t xdr_union(XDR *" xdrs ", enum_t *" dscmp ", char *" unp ,
|
||||||
.BI " struct xdr_discrim *" choices ,
|
.BI " const struct xdr_discrim *" choices ,
|
||||||
.BI " xdrproc_t " defaultarm "); /* may equal NULL */"
|
.BI " xdrproc_t " defaultarm "); /* may equal NULL */"
|
||||||
.fi
|
.fi
|
||||||
.IP
|
.IP
|
||||||
|
|
Loading…
Reference in New Issue