From 89aacb513eb77549a29df2638913a0f8178cf3f5 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 11 May 2018 15:36:50 +0200 Subject: sunrpc: Remove stray exports without --enable-obsolete-rpc [BZ #23166] This is needed to avoid a warning when linking against libtirpc: /lib64/libc.so.6: warning: common of `rpc_createerr@@TIRPC_0.3.0' overridden by definition /usr/lib64/libtirpc.so: warning: defined here This ld warning is not enabled by default; -Wl,--warn-common enables it. Reviewed-by: Carlos O'Donell --- include/rpc/clnt.h | 1 + include/rpc/svc.h | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'include/rpc') diff --git a/include/rpc/clnt.h b/include/rpc/clnt.h index a397023a93..80be0a9cec 100644 --- a/include/rpc/clnt.h +++ b/include/rpc/clnt.h @@ -28,6 +28,7 @@ libc_hidden_proto (clntudp_create) libc_hidden_proto (get_myaddress) libc_hidden_proto (clntunix_create) libc_hidden_proto (__libc_clntudp_bufcreate) +libc_hidden_proto (rpc_createerr) # endif /* !_ISOMAC */ #endif diff --git a/include/rpc/svc.h b/include/rpc/svc.h index 465bf4427d..40ba2546a9 100644 --- a/include/rpc/svc.h +++ b/include/rpc/svc.h @@ -3,6 +3,10 @@ # ifndef _ISOMAC +libc_hidden_proto (svc_pollfd) +libc_hidden_proto (svc_max_pollfd) +libc_hidden_proto (svc_fdset) + libc_hidden_proto (xprt_register) libc_hidden_proto (xprt_unregister) libc_hidden_proto (svc_register) -- cgit v1.2.3