summaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-12-19 23:44:54 +0000
committerJakub Jelinek <jakub@redhat.com>2004-12-19 23:44:54 +0000
commita7008c8e9dec89809ff552c117a008f49faf72b4 (patch)
tree9148c9fc31b1b8ee5a4c41cfedec36d40f58daca /sunrpc
parentacea899bcb4ca903f778b7d90d0fbea9b93dda7a (diff)
Updated to fedora-glibc-20041219T2331
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)