diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-05-11 15:36:50 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-05-11 15:36:50 +0200 |
commit | 89aacb513eb77549a29df2638913a0f8178cf3f5 (patch) | |
tree | 160dfa13091d79de8091b4d7a33af318ee6cfa95 /include/rpc | |
parent | bb066cb806dfe55511cf2fb59bf013751152608f (diff) | |
download | glibc-89aacb513eb77549a29df2638913a0f8178cf3f5.tar.gz glibc-89aacb513eb77549a29df2638913a0f8178cf3f5.tar.xz glibc-89aacb513eb77549a29df2638913a0f8178cf3f5.zip |
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 <carlos@redhat.com>
Diffstat (limited to 'include/rpc')
-rw-r--r-- | include/rpc/clnt.h | 1 | ||||
-rw-r--r-- | include/rpc/svc.h | 4 |
2 files changed, 5 insertions, 0 deletions
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) |