aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/xdr_rec.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-05-09 15:51:23 +0200
committerAndreas Jaeger <aj@suse.de>2012-05-09 22:35:39 +0200
commitec2868627f550cb9edbfb05ce3680ecbb23d715b (patch)
tree21fb77feec44ff887639e40ff38c2e572e9d6ade /sunrpc/xdr_rec.c
parentb9f1922d7e7d67e8559664b266b2a6b35121d6af (diff)
downloadglibc-aj/revert-sunrpc.zip
glibc-aj/revert-sunrpc.tar.gz
glibc-aj/revert-sunrpc.tar.bz2
Make sunrpc code usable againaj/revert-sunrpc
This in effect reverts the obsoletion of the sunrpc code. 2012-05-09 Andreas Schwab <schwab@linux-m68k.org> Andreas Jaeger <aj@suse.de> * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc. * config.h.in (LINK_OBSOLETE_RPC): Add. * config.make.in (link-obsolete-rpc): Add. * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from libc_hidden_nolink and define based on LINK_OBSOLETE_RPC. * sunrpc/Makefile (headers)[link-obsolete-rpc]: Add rpc headers. (shared-only-routines): Do not use with link-obsolete-rpc. * nis/Makefile (headers)[link-obsolete-rpc]: Add rpc headers. * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc. * sunrpc/auth_none.c: Likewise. * sunrpc/auth_unix.c: Likewise. * sunrpc/authdes_prot.c: Likewise. * sunrpc/authuxprot.c: Likewise. * sunrpc/clnt_gen.c: Likewise. * sunrpc/clnt_perr.c: Likewise. * sunrpc/clnt_raw.c: Likewise. * sunrpc/clnt_simp.c: Likewise. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. * sunrpc/des_crypt.c: Likewise. * sunrpc/des_soft.c: Likewise. * sunrpc/get_myaddr.c: Likewise. * sunrpc/key_call.c: Likewise. * sunrpc/key_prot.c: Likewise. * sunrpc/netname.c: Likewise. * sunrpc/pm_getmaps.c: Likewise. * sunrpc/pm_getport.c: Likewise. * sunrpc/pmap_clnt.c: Likewise. * sunrpc/pmap_prot.c: Likewise. * sunrpc/pmap_prot2.c: Likewise. * sunrpc/pmap_rmt.c: Likewise. * sunrpc/publickey.c: Likewise. * sunrpc/rpc_cmsg.c: Likewise. * sunrpc/rpc_common.c: Likewise. * sunrpc/rpc_dtable.c: Likewise. * sunrpc/rpc_prot.c: Likewise. * sunrpc/rpc_thread.c: Likewise. * sunrpc/rtime.c: Likewise. * sunrpc/svc.c: Likewise. * sunrpc/svc_auth.c: Likewise. * sunrpc/svc_raw.c: Likewise. * sunrpc/svc_run.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. * sunrpc/svc_unix.c: Likewise. * sunrpc/svcauth_des.c: Likewise. * sunrpc/xcrypt.c: Likewise. * sunrpc/xdr.c: Likewise. * sunrpc/xdr_array.c: Likewise. * sunrpc/xdr_float.c: Likewise. * sunrpc/xdr_intXX_t.c: Likewise. * sunrpc/xdr_mem.c: Likewise. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_ref.c: Likewise. * sunrpc/xdr_sizeof.c: Likewise. * sunrpc/xdr_stdio.c: Likewise.
Diffstat (limited to 'sunrpc/xdr_rec.c')
-rw-r--r--sunrpc/xdr_rec.c8
1 files changed, 4 insertions, 4 deletions
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)
/*