summaryrefslogtreecommitdiffstats
path: root/libc/inet/rpc/svc_unix.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-10 15:10:57 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-10 15:10:57 +0000
commit7fe677c6d31a6fd854eaf64609d72b8613ca36ea (patch)
tree4c65df7c08e0730d0686b169545be93177080810 /libc/inet/rpc/svc_unix.c
parenteb853014235c86b33318f16e205ff2f818e5a67c (diff)
downloaduClibc-alpine-7fe677c6d31a6fd854eaf64609d72b8613ca36ea.tar.bz2
uClibc-alpine-7fe677c6d31a6fd854eaf64609d72b8613ca36ea.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/inet/rpc/svc_unix.c')
-rw-r--r--libc/inet/rpc/svc_unix.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/libc/inet/rpc/svc_unix.c b/libc/inet/rpc/svc_unix.c
index 79c27ac5f..95a65ad1f 100644
--- a/libc/inet/rpc/svc_unix.c
+++ b/libc/inet/rpc/svc_unix.c
@@ -44,9 +44,17 @@
#define xdr_callmsg __xdr_callmsg
#define xdr_replymsg __xdr_replymsg
#define xprt_register __xprt_register
+#define xprt_unregister __xprt_unregister
#define getegid __getegid
#define geteuid __geteuid
#define getsockname __getsockname
+#define setsockopt __setsockopt
+#define bind __bind
+#define recvmsg __recvmsg
+#define sendmsg __sendmsg
+#define poll __poll
+#define accept __accept
+#define listen __listen
#define __FORCE_GLIBC
#include <features.h>
@@ -158,7 +166,7 @@ svcunix_create (int sock, u_int sendsize, u_int recvsize, char *path)
if (sock == RPC_ANYSOCK)
{
- if ((sock = socket (AF_UNIX, SOCK_STREAM, 0)) < 0)
+ if ((sock = __socket (AF_UNIX, SOCK_STREAM, 0)) < 0)
{
__perror (_("svc_unix.c - AF_UNIX socket creation problem"));
return (SVCXPRT *) NULL;