diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-09 21:00:12 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-09 21:00:12 +0000 |
commit | fa9147bb8f8fe6b0a504a43d43764940411993d3 (patch) | |
tree | 9278c52dc53db1f4e698461baf7ed29e88aebea7 /libc/inet/rpc | |
parent | dee597fea748702998e3640a7cd2759b8256c1b2 (diff) |
Implement hidden listen, use the hidden listen/accept
Diffstat (limited to 'libc/inet/rpc')
-rw-r--r-- | libc/inet/rpc/rcmd.c | 2 | ||||
-rw-r--r-- | libc/inet/rpc/rexec.c | 2 | ||||
-rw-r--r-- | libc/inet/rpc/svc_tcp.c | 2 | ||||
-rw-r--r-- | libc/inet/rpc/svc_unix.c | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c index 3837aed8d..bd459826a 100644 --- a/libc/inet/rpc/rcmd.c +++ b/libc/inet/rpc/rcmd.c @@ -53,6 +53,8 @@ static char sccsid[] = "@(#)rcmd.c 8.3 (Berkeley) 3/26/94"; #define sigblock __sigblock #define snprintf __snprintf #define poll __poll +#define accept __accept +#define listen __listen #define __FORCE_GLIBC #include <features.h> diff --git a/libc/inet/rpc/rexec.c b/libc/inet/rpc/rexec.c index 771f85a6b..239e87fb0 100644 --- a/libc/inet/rpc/rexec.c +++ b/libc/inet/rpc/rexec.c @@ -35,6 +35,8 @@ #define atoi __atoi #define connect __connect #define snprintf __snprintf +#define accept __accept +#define listen __listen #define __FORCE_GLIBC #include <features.h> diff --git a/libc/inet/rpc/svc_tcp.c b/libc/inet/rpc/svc_tcp.c index 6a25d7c42..1972bcf99 100644 --- a/libc/inet/rpc/svc_tcp.c +++ b/libc/inet/rpc/svc_tcp.c @@ -53,6 +53,8 @@ static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro"; #define bind __bind #define bindresvport __bindresvport #define poll __poll +#define accept __accept +#define listen __listen #define __FORCE_GLIBC #define _GNU_SOURCE diff --git a/libc/inet/rpc/svc_unix.c b/libc/inet/rpc/svc_unix.c index 33ea5cf40..95a65ad1f 100644 --- a/libc/inet/rpc/svc_unix.c +++ b/libc/inet/rpc/svc_unix.c @@ -53,6 +53,8 @@ #define recvmsg __recvmsg #define sendmsg __sendmsg #define poll __poll +#define accept __accept +#define listen __listen #define __FORCE_GLIBC #include <features.h> |