diff options
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 |
commit | a920808b219ce74ae7e5e3f52bcbfe67884c5087 (patch) | |
tree | 0fcf572a9963925f7d9fc209e2c5694de0e43fcd /libc/inet/rpc/clnt_unix.c | |
parent | c5ad60615407d6f54807ed52656d962d1dcbbe3e (diff) | |
download | uClibc-alpine-a920808b219ce74ae7e5e3f52bcbfe67884c5087.tar.bz2 uClibc-alpine-a920808b219ce74ae7e5e3f52bcbfe67884c5087.tar.xz |
Merge from trunk.
Diffstat (limited to 'libc/inet/rpc/clnt_unix.c')
-rw-r--r-- | libc/inet/rpc/clnt_unix.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/libc/inet/rpc/clnt_unix.c b/libc/inet/rpc/clnt_unix.c index 3af68d9c8..efdd39005 100644 --- a/libc/inet/rpc/clnt_unix.c +++ b/libc/inet/rpc/clnt_unix.c @@ -48,9 +48,15 @@ #define authnone_create __authnone_create #define xdrrec_create __xdrrec_create +#define xdrrec_endofrecord __xdrrec_endofrecord +#define xdrrec_skiprecord __xdrrec_skiprecord +#define xdr_callhdr __xdr_callhdr +#define xdr_replymsg __xdr_replymsg +#define xdr_opaque_auth __xdr_opaque_auth #define xdrmem_create __xdrmem_create #define getegid __getegid #define geteuid __geteuid +#define _seterr_reply __seterr_reply #define __FORCE_GLIBC #include <features.h> @@ -120,8 +126,8 @@ static struct clnt_ops unix_ops = * NB: The rpch->cl_auth is set null authentication. Caller may wish to set this * something more useful. */ -CLIENT * -clntunix_create (struct sockaddr_un *raddr, u_long prog, u_long vers, +CLIENT attribute_hidden * +__clntunix_create (struct sockaddr_un *raddr, u_long prog, u_long vers, int *sockp, u_int sendsz, u_int recvsz) { CLIENT *h; @@ -218,6 +224,7 @@ fooy: mem_free ((caddr_t) h, sizeof (CLIENT)); return (CLIENT *) NULL; } +strong_alias(__clntunix_create,clntunix_create) static enum clnt_stat clntunix_call (h, proc, xdr_args, args_ptr, xdr_results, results_ptr, timeout) |