OSDN Git Service

No more *xdr* jump relocations
[uclinux-h8/uClibc.git] / libc / inet / rpc / authunix_prot.c
index b033c56..32da325 100644 (file)
  * XDR for UNIX style authentication parameters for RPC
  */
 
+#define xdr_string __xdr_string
+#define xdr_u_int __xdr_u_int
+#define xdr_array __xdr_array
+#define xdr_u_long __xdr_u_long
+
 #include <rpc/types.h>
 #include <rpc/xdr.h>
 #include <rpc/auth.h>
@@ -43,8 +48,8 @@
  * XDR for unix authentication parameters.
  * Unfortunately, none of these can be declared const.
  */
-bool_t
-xdr_authunix_parms (XDR * xdrs, struct authunix_parms *p)
+bool_t attribute_hidden
+__xdr_authunix_parms (XDR * xdrs, struct authunix_parms *p)
 {
   if (xdr_u_long (xdrs, &(p->aup_time))
       && xdr_string (xdrs, &(p->aup_machname), MAX_MACHINE_NAME)
@@ -63,3 +68,4 @@ xdr_authunix_parms (XDR * xdrs, struct authunix_parms *p)
     }
   return FALSE;
 }
+strong_alias(__xdr_authunix_parms,xdr_authunix_parms)