From 4f1a039305d3048721a52adda5b39e5af0f7b6fb Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 19 Dec 2004 20:49:12 +0000 Subject: [BZ #560, BZ #573] Update. 2004-12-19 Andreas Jaeger [BZ #560] * inet/netinet/in.h: Use __interface_addr instead of __interface. [BZ #573] * sunrpc/xcrypt.c (passwd2des_internal): Make it hidden instead of internal linkage. --- sunrpc/xcrypt.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'sunrpc') diff --git a/sunrpc/xcrypt.c b/sunrpc/xcrypt.c index 9f8c142649..ea8ff45105 100644 --- a/sunrpc/xcrypt.c +++ b/sunrpc/xcrypt.c @@ -69,13 +69,15 @@ static char hexval (char) internal_function; static void hex2bin (int, char *, char *) internal_function; static void bin2hex (int, unsigned char *, char *) internal_function; -static void passwd2des_internal (char *pw, char *key); - +void passwd2des_internal (char *pw, char *key); +#ifdef _LIBC +libc_hidden_proto (passwd2des_internal) +#endif /* * Turn password into DES key */ -static void +void passwd2des_internal (char *pw, char *key) { int i; @@ -88,6 +90,7 @@ passwd2des_internal (char *pw, char *key) } #ifdef _LIBC +libc_hidden_def (passwd2des_internal) strong_alias (passwd2des_internal, passwd2des) #else void passwd2des (char *pw, char *key) -- cgit v1.2.3-70-g09d2