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/des_crypt.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/des_crypt.c')
-rw-r--r-- | sunrpc/des_crypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sunrpc/des_crypt.c b/sunrpc/des_crypt.c index 8745900..22a34b7 100644 --- a/sunrpc/des_crypt.c +++ b/sunrpc/des_crypt.c @@ -102,7 +102,7 @@ cbc_crypt (char *key, char *buf, unsigned int len, unsigned int mode, COPY8 (dp.des_ivec, ivec); return err; } -libc_hidden_nolink (cbc_crypt, GLIBC_2_1) +libc_hidden_nolink_sunrpc (cbc_crypt, GLIBC_2_1) /* * ECB mode encryption @@ -115,4 +115,4 @@ ecb_crypt (char *key, char *buf, unsigned int len, unsigned int mode) dp.des_mode = ECB; return common_crypt (key, buf, len, mode, &dp); } -libc_hidden_nolink (ecb_crypt, GLIBC_2_1) +libc_hidden_nolink_sunrpc (ecb_crypt, GLIBC_2_1) |