From 021db4be6f1f4189f66feee066a495d49e92b93e Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 10 May 2012 20:16:53 +0200 Subject: 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. --- sunrpc/xdr_rec.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sunrpc/xdr_rec.c') diff --git a/sunrpc/xdr_rec.c b/sunrpc/xdr_rec.c index 556c6c4..f5d6ef2 100644 --- a/sunrpc/xdr_rec.c +++ b/sunrpc/xdr_rec.c @@ -189,7 +189,7 @@ xdrrec_create (XDR *xdrs, u_int sendsize, rstrm->fbtbc = 0; rstrm->last_frag = TRUE; } -libc_hidden_nolink (xdrrec_create, GLIBC_2_0) +libc_hidden_nolink_sunrpc (xdrrec_create, GLIBC_2_0) /* @@ -477,7 +477,7 @@ xdrrec_skiprecord (XDR *xdrs) rstrm->last_frag = FALSE; return TRUE; } -libc_hidden_nolink (xdrrec_skiprecord, GLIBC_2_0) +libc_hidden_nolink_sunrpc (xdrrec_skiprecord, GLIBC_2_0) /* * Lookahead function. @@ -501,7 +501,7 @@ xdrrec_eof (XDR *xdrs) return TRUE; return FALSE; } -libc_hidden_nolink (xdrrec_eof, GLIBC_2_0) +libc_hidden_nolink_sunrpc (xdrrec_eof, GLIBC_2_0) /* * The client must tell the package when an end-of-record has occurred. @@ -528,7 +528,7 @@ xdrrec_endofrecord (XDR *xdrs, bool_t sendnow) rstrm->out_finger += BYTES_PER_XDR_UNIT; return TRUE; } -libc_hidden_nolink (xdrrec_endofrecord, GLIBC_2_0) +libc_hidden_nolink_sunrpc (xdrrec_endofrecord, GLIBC_2_0) /* -- cgit v1.1