about summary refs log tree commit diff
path: root/sunrpc/des_crypt.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-04-16 21:59:36 -0400
committerUlrich Drepper <drepper@gmail.com>2011-04-16 21:59:36 -0400
commit7b57bfe5988e476ea40934457dfd1c8a231e2391 (patch)
tree33dbec2b9a1a8fd8472a214945090f31d5372a8e /sunrpc/des_crypt.c
parente6c61494125126d2ba77e5d99f83887a2ed49783 (diff)
downloadglibc-7b57bfe5988e476ea40934457dfd1c8a231e2391.tar.gz
glibc-7b57bfe5988e476ea40934457dfd1c8a231e2391.tar.xz
glibc-7b57bfe5988e476ea40934457dfd1c8a231e2391.zip
Obsolete RPC implementation in libc.
Diffstat (limited to 'sunrpc/des_crypt.c')
-rw-r--r--sunrpc/des_crypt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sunrpc/des_crypt.c b/sunrpc/des_crypt.c
index 57dce6ae88..8745900b82 100644
--- a/sunrpc/des_crypt.c
+++ b/sunrpc/des_crypt.c
@@ -32,6 +32,7 @@
 
 #include <sys/types.h>
 #include <rpc/des_crypt.h>
+#include <abi-versions.h>
 #include "des.h"
 
 extern int _des_crypt (char *, unsigned, struct desparams *);
@@ -101,7 +102,7 @@ cbc_crypt (char *key, char *buf, unsigned int len, unsigned int mode,
   COPY8 (dp.des_ivec, ivec);
   return err;
 }
-libc_hidden_def (cbc_crypt)
+libc_hidden_nolink (cbc_crypt, GLIBC_2_1)
 
 /*
  * ECB mode encryption
@@ -114,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_def (ecb_crypt)
+libc_hidden_nolink (ecb_crypt, GLIBC_2_1)