aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/pmap_prot.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-04-16 21:59:36 -0400
committerUlrich Drepper <drepper@gmail.com>2011-04-16 21:59:36 -0400
commit7b57bfe5988e476ea40934457dfd1c8a231e2391 (patch)
tree33dbec2b9a1a8fd8472a214945090f31d5372a8e /sunrpc/pmap_prot.c
parente6c61494125126d2ba77e5d99f83887a2ed49783 (diff)
downloadglibc-7b57bfe5988e476ea40934457dfd1c8a231e2391.zip
glibc-7b57bfe5988e476ea40934457dfd1c8a231e2391.tar.gz
glibc-7b57bfe5988e476ea40934457dfd1c8a231e2391.tar.bz2
Obsolete RPC implementation in libc.
Diffstat (limited to 'sunrpc/pmap_prot.c')
-rw-r--r--sunrpc/pmap_prot.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sunrpc/pmap_prot.c b/sunrpc/pmap_prot.c
index 8362e12..5a2e052 100644
--- a/sunrpc/pmap_prot.c
+++ b/sunrpc/pmap_prot.c
@@ -43,10 +43,10 @@ xdr_pmap (xdrs, regs)
struct pmap *regs;
{
- if (INTUSE(xdr_u_long) (xdrs, &regs->pm_prog) &&
- INTUSE(xdr_u_long) (xdrs, &regs->pm_vers) &&
- INTUSE(xdr_u_long) (xdrs, &regs->pm_prot))
- return INTUSE(xdr_u_long) (xdrs, &regs->pm_port);
+ if (xdr_u_long (xdrs, &regs->pm_prog) &&
+ xdr_u_long (xdrs, &regs->pm_vers) &&
+ xdr_u_long (xdrs, &regs->pm_prot))
+ return xdr_u_long (xdrs, &regs->pm_port);
return FALSE;
}
-INTDEF(xdr_pmap)
+libc_hidden_nolink (xdr_pmap, GLIBC_2_0)