Update to 2.17
[platform/upstream/glibc.git] / sunrpc / pmap_prot2.c
index 43e62e3..57b0800 100644 (file)
@@ -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)