summaryrefslogtreecommitdiffstats
path: root/libc/inet/rpc/authunix_prot.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-08 04:51:28 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-08 04:51:28 +0000
commita920808b219ce74ae7e5e3f52bcbfe67884c5087 (patch)
tree0fcf572a9963925f7d9fc209e2c5694de0e43fcd /libc/inet/rpc/authunix_prot.c
parentc5ad60615407d6f54807ed52656d962d1dcbbe3e (diff)
downloaduClibc-alpine-a920808b219ce74ae7e5e3f52bcbfe67884c5087.tar.bz2
uClibc-alpine-a920808b219ce74ae7e5e3f52bcbfe67884c5087.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/inet/rpc/authunix_prot.c')
-rw-r--r--libc/inet/rpc/authunix_prot.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/libc/inet/rpc/authunix_prot.c b/libc/inet/rpc/authunix_prot.c
index b033c568a..32da3256d 100644
--- a/libc/inet/rpc/authunix_prot.c
+++ b/libc/inet/rpc/authunix_prot.c
@@ -34,6 +34,11 @@
* 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)