summaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2004-12-19 20:49:12 +0000
committerAndreas Jaeger <aj@suse.de>2004-12-19 20:49:12 +0000
commit4f1a039305d3048721a52adda5b39e5af0f7b6fb (patch)
treed324d0ccbc049c81fc3c88661afb3d38f7e7e29d /sunrpc
parenta343783163dc1cc39a62f7b035c76703a911f3b1 (diff)
downloadglibc-4f1a039305d3048721a52adda5b39e5af0f7b6fb.tar.gz
[BZ #560, BZ #573]
Update. 2004-12-19 Andreas Jaeger <aj@suse.de> [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.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/xcrypt.c9
1 files changed, 6 insertions, 3 deletions
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)