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/svc_tcp.c | |
parent | c5ad60615407d6f54807ed52656d962d1dcbbe3e (diff) | |
download | uClibc-alpine-a920808b219ce74ae7e5e3f52bcbfe67884c5087.tar.bz2 uClibc-alpine-a920808b219ce74ae7e5e3f52bcbfe67884c5087.tar.xz |
Merge from trunk.
Diffstat (limited to 'libc/inet/rpc/svc_tcp.c')
-rw-r--r-- | libc/inet/rpc/svc_tcp.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libc/inet/rpc/svc_tcp.c b/libc/inet/rpc/svc_tcp.c index 20deb8719..32b3cc995 100644 --- a/libc/inet/rpc/svc_tcp.c +++ b/libc/inet/rpc/svc_tcp.c @@ -42,7 +42,13 @@ static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro"; */ #define xdrrec_create __xdrrec_create +#define xdrrec_endofrecord __xdrrec_endofrecord +#define xdrrec_skiprecord __xdrrec_skiprecord +#define xdrrec_eof __xdrrec_eof +#define xdr_callmsg __xdr_callmsg +#define xdr_replymsg __xdr_replymsg #define xprt_register __xprt_register +#define getsockname __getsockname #define __FORCE_GLIBC #define _GNU_SOURCE @@ -159,7 +165,7 @@ svctcp_create (int sock, u_int sendsize, u_int recvsize) { if ((sock = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0) { - perror (_("svc_tcp.c - tcp socket creation problem")); + __perror (_("svc_tcp.c - tcp socket creation problem")); return (SVCXPRT *) NULL; } madesock = TRUE; @@ -174,7 +180,7 @@ svctcp_create (int sock, u_int sendsize, u_int recvsize) if ((getsockname (sock, (struct sockaddr *) &addr, &len) != 0) || (listen (sock, 2) != 0)) { - perror (_("svc_tcp.c - cannot getsockname or listen")); + __perror (_("svc_tcp.c - cannot getsockname or listen")); if (madesock) (void) __close (sock); return (SVCXPRT *) NULL; |