about summary refs log tree commit diff
path: root/include/rpc/svc.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/svc.h
parentbb066cb806dfe55511cf2fb59bf013751152608f (diff)
downloadglibc-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/svc.h')
-rw-r--r--include/rpc/svc.h4
1 files changed, 4 insertions, 0 deletions
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)