X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=sunrpc%2Fpmap_prot2.c;h=57b08001780118f8db00957c8b150d8899ce4ac6;hb=0ddd15f52f742f48174597f82bee98ad9767d84a;hp=43e62e35ee37c062834e7d250ff09432cba0ed41;hpb=ab09b221594f12d90a63d29cbf5488d91f39d3f3;p=platform%2Fupstream%2Fglibc.git diff --git a/sunrpc/pmap_prot2.c b/sunrpc/pmap_prot2.c index 43e62e3..57b0800 100644 --- a/sunrpc/pmap_prot2.c +++ b/sunrpc/pmap_prot2.c @@ -2,7 +2,7 @@ * pmap_prot2.c * Protocol for the local binder service, or pmap. * - * Copyright (C) 1984, Sun Microsystems, Inc. + * Copyright (c) 2010, Oracle America, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -14,7 +14,7 @@ * copyright notice, this list of conditions and the following * disclaimer in the documentation and/or other materials * provided with the distribution. - * * Neither the name of Sun Microsystems, Inc. nor the names of its + * * Neither the name of the "Oracle America, Inc." nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -92,7 +92,7 @@ xdr_pmaplist (xdrs, rp) while (TRUE) { more_elements = (bool_t) (*rp != NULL); - if (!INTUSE(xdr_bool) (xdrs, &more_elements)) + if (!xdr_bool (xdrs, &more_elements)) return FALSE; if (!more_elements) return TRUE; /* we are done */ @@ -103,11 +103,11 @@ xdr_pmaplist (xdrs, rp) */ if (freeing) next = (*rp)->pml_next; - if (!INTUSE(xdr_reference) (xdrs, (caddr_t *) rp, - (u_int) sizeof (struct pmaplist), - (xdrproc_t) INTUSE(xdr_pmap))) + if (!xdr_reference (xdrs, (caddr_t *) rp, + (u_int) sizeof (struct pmaplist), + (xdrproc_t) xdr_pmap)) return FALSE; rp = freeing ? &next : &((*rp)->pml_next); } } -INTDEF(xdr_pmaplist) +libc_hidden_nolink_sunrpc (xdr_pmaplist, GLIBC_2_0)