diff options
author | Andreas Jaeger <jaegerandi@gmail.com> | 2012-05-21 21:34:05 +0200 |
---|---|---|
committer | Andreas Jaeger <jaegerandi@gmail.com> | 2012-05-21 21:34:54 +0200 |
commit | 07c58f8f3501329340bf3c69a347f7c8fdcbe528 (patch) | |
tree | ee492594d7294a0d806d1a63a5f323cf9d6ae078 /sunrpc/xcrypt.c | |
parent | 662742187c77452c38cddababa92285cb62dbc28 (diff) | |
download | glibc-07c58f8f3501329340bf3c69a347f7c8fdcbe528.tar.gz glibc-07c58f8f3501329340bf3c69a347f7c8fdcbe528.tar.xz glibc-07c58f8f3501329340bf3c69a347f7c8fdcbe528.zip |
Fix sunrpc static library
* include/shlib-compat.h (libc_sunrpc_symbol): New macro. * sunrpc/svc_simple.c: Use it for registerrpc. * sunrpc/xcrypt.c: Use it for passwd2des.
Diffstat (limited to 'sunrpc/xcrypt.c')
-rw-r--r-- | sunrpc/xcrypt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sunrpc/xcrypt.c b/sunrpc/xcrypt.c index 2e53f2d9e9..da7c4e66b9 100644 --- a/sunrpc/xcrypt.c +++ b/sunrpc/xcrypt.c @@ -47,6 +47,7 @@ static char sccsid[] = "@(#)xcrypt.c 1.3 89/03/24 Copyr 1986 Sun Micro"; #include <string.h> #include <sys/types.h> #include <rpc/des_crypt.h> +#include <shlib-compat.h> static const char hex[16] = { @@ -89,7 +90,7 @@ passwd2des_internal (char *pw, char *key) #ifdef _LIBC libc_hidden_def (passwd2des_internal) -compat_symbol (libc, passwd2des_internal, passwd2des, GLIBC_2_1); +libc_sunrpc_symbol(passwd2des_internal, passwd2des, GLIBC_2_1) #else void passwd2des (char *pw, char *key) { |