summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/rpc_thread.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-07-07 07:25:57 +0000
committerEric Andersen <andersen@codepoet.org>2002-07-07 07:25:57 +0000
commit45f1824dc839fb6401cd6e061924a604438b2bed (patch)
tree541539a86a0ddc1120fec25bcc71774da26f783b /libc/inet/rpc/rpc_thread.c
parentf6fcd28c186a9ff0544e92c32ec61b871aa30b8f (diff)
Kill namespace pollution in getrpcent.c. Silence other rpc warnings
by fixing prototypes. Fix global stuff so it should behave itself properly now, -Erik
Diffstat (limited to 'libc/inet/rpc/rpc_thread.c')
-rw-r--r--libc/inet/rpc/rpc_thread.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/inet/rpc/rpc_thread.c b/libc/inet/rpc/rpc_thread.c
index 267149b62..09bff0dd1 100644
--- a/libc/inet/rpc/rpc_thread.c
+++ b/libc/inet/rpc/rpc_thread.c
@@ -125,6 +125,11 @@ __rpc_thread_svc_max_pollfd (void)
}
#else
+#undef svc_fdset
+#undef rpc_createerr
+#undef svc_pollfd
+#undef svc_max_pollfd
+
fd_set * __rpc_thread_svc_fdset (void)
{
extern fd_set svc_fdset;