diff options
author | Andreas Jaeger <aj@suse.de> | 2012-05-10 20:16:53 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2012-05-10 20:19:53 +0200 |
commit | 021db4be6f1f4189f66feee066a495d49e92b93e (patch) | |
tree | 38d877e5dcba27bb3495cc840bc14b1a3547a076 /sunrpc/key_prot.c | |
parent | b5c086a2814b45e0b2ab678922fcc66c7351fece (diff) | |
download | glibc-021db4be6f1f4189f66feee066a495d49e92b93e.zip glibc-021db4be6f1f4189f66feee066a495d49e92b93e.tar.gz glibc-021db4be6f1f4189f66feee066a495d49e92b93e.tar.bz2 |
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.
Diffstat (limited to 'sunrpc/key_prot.c')
-rw-r--r-- | sunrpc/key_prot.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sunrpc/key_prot.c b/sunrpc/key_prot.c index dd73f5e..2899c9a 100644 --- a/sunrpc/key_prot.c +++ b/sunrpc/key_prot.c @@ -38,7 +38,7 @@ xdr_keystatus (XDR * xdrs, keystatus * objp) return TRUE; } -libc_hidden_nolink (xdr_keystatus, GLIBC_2_0) +libc_hidden_nolink_sunrpc (xdr_keystatus, GLIBC_2_0) bool_t xdr_keybuf (XDR * xdrs, keybuf objp) @@ -48,7 +48,7 @@ xdr_keybuf (XDR * xdrs, keybuf objp) return TRUE; } -libc_hidden_nolink (xdr_keybuf, GLIBC_2_0) +libc_hidden_nolink_sunrpc (xdr_keybuf, GLIBC_2_0) bool_t xdr_netnamestr (XDR * xdrs, netnamestr * objp) @@ -58,7 +58,7 @@ xdr_netnamestr (XDR * xdrs, netnamestr * objp) return TRUE; } -libc_hidden_nolink (xdr_netnamestr, GLIBC_2_1) +libc_hidden_nolink_sunrpc (xdr_netnamestr, GLIBC_2_1) bool_t xdr_cryptkeyarg (XDR * xdrs, cryptkeyarg * objp) @@ -71,7 +71,7 @@ xdr_cryptkeyarg (XDR * xdrs, cryptkeyarg * objp) return TRUE; } -libc_hidden_nolink (xdr_cryptkeyarg, GLIBC_2_0) +libc_hidden_nolink_sunrpc (xdr_cryptkeyarg, GLIBC_2_0) bool_t xdr_cryptkeyarg2 (XDR * xdrs, cryptkeyarg2 * objp) @@ -84,7 +84,7 @@ xdr_cryptkeyarg2 (XDR * xdrs, cryptkeyarg2 * objp) return FALSE; return TRUE; } -libc_hidden_nolink (xdr_cryptkeyarg2, GLIBC_2_0) +libc_hidden_nolink_sunrpc (xdr_cryptkeyarg2, GLIBC_2_0) bool_t xdr_cryptkeyres (XDR * xdrs, cryptkeyres * objp) @@ -102,7 +102,7 @@ xdr_cryptkeyres (XDR * xdrs, cryptkeyres * objp) } return TRUE; } -libc_hidden_nolink (xdr_cryptkeyres, GLIBC_2_0) +libc_hidden_nolink_sunrpc (xdr_cryptkeyres, GLIBC_2_0) bool_t xdr_unixcred (XDR * xdrs, unixcred * objp) @@ -117,7 +117,7 @@ xdr_unixcred (XDR * xdrs, unixcred * objp) return FALSE; return TRUE; } -libc_hidden_nolink (xdr_unixcred, GLIBC_2_1) +libc_hidden_nolink_sunrpc (xdr_unixcred, GLIBC_2_1) bool_t xdr_getcredres (XDR * xdrs, getcredres * objp) @@ -135,7 +135,7 @@ xdr_getcredres (XDR * xdrs, getcredres * objp) } return TRUE; } -libc_hidden_nolink (xdr_getcredres, GLIBC_2_1) +libc_hidden_nolink_sunrpc (xdr_getcredres, GLIBC_2_1) bool_t xdr_key_netstarg (XDR * xdrs, key_netstarg * objp) @@ -148,7 +148,7 @@ xdr_key_netstarg (XDR * xdrs, key_netstarg * objp) return FALSE; return TRUE; } -libc_hidden_nolink (xdr_key_netstarg, GLIBC_2_0) +libc_hidden_nolink_sunrpc (xdr_key_netstarg, GLIBC_2_0) bool_t xdr_key_netstres (XDR * xdrs, key_netstres * objp) @@ -166,4 +166,4 @@ xdr_key_netstres (XDR * xdrs, key_netstres * objp) } return TRUE; } -libc_hidden_nolink (xdr_key_netstres, GLIBC_2_0) +libc_hidden_nolink_sunrpc (xdr_key_netstres, GLIBC_2_0) |