mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Make sunrpc code usable again
New configure option --enable-obsolete-rpc makes the deprecated RPC headers and functions available at compile time as they were before version 2.14. This option will be removed at some time in the future after the TI-RPC library becomes fully sufficient for the needs of existing applications.
This commit is contained in:
@@ -184,7 +184,7 @@ svcunix_create (int sock, u_int sendsize, u_int recvsize, char *path)
|
||||
xprt_register (xprt);
|
||||
return xprt;
|
||||
}
|
||||
libc_hidden_nolink (svcunix_create, GLIBC_2_1)
|
||||
libc_hidden_nolink_sunrpc (svcunix_create, GLIBC_2_1)
|
||||
|
||||
/*
|
||||
* Like svunix_create(), except the routine takes any *open* UNIX file
|
||||
@@ -195,7 +195,7 @@ svcunixfd_create (int fd, u_int sendsize, u_int recvsize)
|
||||
{
|
||||
return makefd_xprt (fd, sendsize, recvsize);
|
||||
}
|
||||
libc_hidden_nolink (svcunixfd_create, GLIBC_2_1)
|
||||
libc_hidden_nolink_sunrpc (svcunixfd_create, GLIBC_2_1)
|
||||
|
||||
static SVCXPRT *
|
||||
internal_function
|
||||
|
Reference in New Issue
Block a user