mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +00:00
89aacb513e
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>
48 lines
1.4 KiB
C
48 lines
1.4 KiB
C
#ifndef _RPC_SVC_H
|
|
#include <sunrpc/rpc/svc.h>
|
|
|
|
# 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)
|
|
libc_hidden_proto (svc_unregister)
|
|
libc_hidden_proto (svcerr_auth)
|
|
libc_hidden_proto (svcerr_noprog)
|
|
libc_hidden_proto (svcerr_progvers)
|
|
|
|
/* Now define the internal interfaces. */
|
|
extern SVCXPRT *svcfd_create (int fd, u_int sendsize, u_int recvsize);
|
|
|
|
extern int svcudp_enablecache (SVCXPRT *transp, u_long size);
|
|
extern SVCXPRT *svcunixfd_create (int fd, u_int sendsize, u_int recvsize);
|
|
|
|
libc_hidden_proto (svc_exit)
|
|
libc_hidden_proto (svc_getreq)
|
|
libc_hidden_proto (svc_getreqset)
|
|
libc_hidden_proto (svc_run)
|
|
libc_hidden_proto (svc_sendreply)
|
|
libc_hidden_proto (svcerr_decode)
|
|
libc_hidden_proto (svcerr_noproc)
|
|
libc_hidden_proto (svcerr_systemerr)
|
|
libc_hidden_proto (svcerr_weakauth)
|
|
libc_hidden_proto (svcfd_create)
|
|
libc_hidden_proto (svcraw_create)
|
|
libc_hidden_proto (svctcp_create)
|
|
libc_hidden_proto (svcudp_bufcreate)
|
|
libc_hidden_proto (svcudp_create)
|
|
libc_hidden_proto (svcudp_enablecache)
|
|
libc_hidden_proto (svcunix_create)
|
|
libc_hidden_proto (svcunixfd_create)
|
|
libc_hidden_proto (svc_getreq_common)
|
|
libc_hidden_proto (svc_getreq_poll)
|
|
|
|
extern void __svc_accept_failed (void) attribute_hidden;
|
|
|
|
# endif /* !_ISOMAC */
|
|
#endif
|