From 746d0019f275acc0d3752b54e8ae1930a2f5fa3c Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 7 Dec 2005 02:42:58 +0000 Subject: No more *xdr* jump relocations --- libc/inet/rpc/xdr_rec.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'libc/inet/rpc/xdr_rec.c') diff --git a/libc/inet/rpc/xdr_rec.c b/libc/inet/rpc/xdr_rec.c index 749955401..a8d95e162 100644 --- a/libc/inet/rpc/xdr_rec.c +++ b/libc/inet/rpc/xdr_rec.c @@ -476,8 +476,8 @@ xdrrec_putint32 (XDR *xdrs, const int32_t *ip) * Before reading (deserializing from the stream, one should always call * this procedure to guarantee proper record alignment. */ -bool_t -xdrrec_skiprecord (XDR *xdrs) +bool_t attribute_hidden +__xdrrec_skiprecord (XDR *xdrs) { RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private; @@ -492,14 +492,15 @@ xdrrec_skiprecord (XDR *xdrs) rstrm->last_frag = FALSE; return TRUE; } +strong_alias(__xdrrec_skiprecord,xdrrec_skiprecord) /* * Lookahead function. * Returns TRUE iff there is no more input in the buffer * after consuming the rest of the current record. */ -bool_t -xdrrec_eof (XDR *xdrs) +bool_t attribute_hidden +__xdrrec_eof (XDR *xdrs) { RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private; @@ -515,6 +516,7 @@ xdrrec_eof (XDR *xdrs) return TRUE; return FALSE; } +strong_alias(__xdrrec_eof,xdrrec_eof) /* * The client must tell the package when an end-of-record has occurred. @@ -522,8 +524,8 @@ xdrrec_eof (XDR *xdrs) * (output) tcp stream. (This lets the package support batched or * pipelined procedure calls.) TRUE => immediate flush to tcp connection. */ -bool_t -xdrrec_endofrecord (XDR *xdrs, bool_t sendnow) +bool_t attribute_hidden +__xdrrec_endofrecord (XDR *xdrs, bool_t sendnow) { RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private; u_long len; /* fragment length */ @@ -541,7 +543,7 @@ xdrrec_endofrecord (XDR *xdrs, bool_t sendnow) rstrm->out_finger += BYTES_PER_XDR_UNIT; return TRUE; } - +strong_alias(__xdrrec_endofrecord,xdrrec_endofrecord) /* * Internal useful routines -- cgit v1.2.3