aboutsummaryrefslogtreecommitdiff
path: root/include/rpc/clnt.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-05-11 15:36:50 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-05-11 15:36:50 +0200
commit89aacb513eb77549a29df2638913a0f8178cf3f5 (patch)
tree160dfa13091d79de8091b4d7a33af318ee6cfa95 /include/rpc/clnt.h
parentbb066cb806dfe55511cf2fb59bf013751152608f (diff)
downloadglibc-89aacb513eb77549a29df2638913a0f8178cf3f5.tar
glibc-89aacb513eb77549a29df2638913a0f8178cf3f5.tar.gz
glibc-89aacb513eb77549a29df2638913a0f8178cf3f5.tar.bz2
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/clnt.h')
-rw-r--r--include/rpc/clnt.h1
1 files changed, 1 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