From 07c58f8f3501329340bf3c69a347f7c8fdcbe528 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 21 May 2012 21:34:05 +0200 Subject: 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. --- sunrpc/xcrypt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sunrpc/xcrypt.c') 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 #include #include +#include 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) { -- cgit v1.2.3-70-g09d2