summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/svc.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-26 14:14:05 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-26 14:14:05 +0000
commitf3b4c74b53903b32d1b852b381ae22b140b7b05b (patch)
treeb6adc3094d207688bce66a702523dc3597ff244e /libc/inet/rpc/svc.c
parent83b2918ebe75fe7c3ee54c3a33bd8cc10234db8c (diff)
100 JUMP relocs less (remaining 431) by hiding internally used ones
Diffstat (limited to 'libc/inet/rpc/svc.c')
-rw-r--r--libc/inet/rpc/svc.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/libc/inet/rpc/svc.c b/libc/inet/rpc/svc.c
index 6e1d8dc3d..08678ba79 100644
--- a/libc/inet/rpc/svc.c
+++ b/libc/inet/rpc/svc.c
@@ -36,6 +36,16 @@
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#define _authenticate __libc__authenticate
+#define _rpc_dtablesize __libc__rpc_dtablesize
+
+/* used by svc_[max_]pollfd */
+#define __rpc_thread_svc_pollfd __libc_rpc_thread_svc_pollfd
+#define __rpc_thread_svc_max_pollfd __libc_rpc_thread_svc_max_pollfd
+
+/* used by svc_fdset */
+#define __rpc_thread_svc_fdset __libc_rpc_thread_svc_fdset
+
#define __FORCE_GLIBC
#define _GNU_SOURCE
#include <features.h>
@@ -480,8 +490,7 @@ svc_getreq_common (const int fd)
#ifdef __UCLIBC_HAS_THREADS__
-void
-__rpc_thread_svc_cleanup (void)
+void attribute_hidden __rpc_thread_svc_cleanup (void)
{
struct svc_callout *svcp;