summaryrefslogtreecommitdiff
path: root/libcrypt
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-21 20:03:20 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-21 20:03:20 +0000
commit67e320f2201b518732cc46b59ff4f5b0b79c8aec (patch)
treec5564fa547d8b63e510084671614d11f512ee992 /libcrypt
parent04bb057e1b198eec7a67a4ecc810a07c2c8a24e2 (diff)
Hide __des_crypt/__md5_crypt
Diffstat (limited to 'libcrypt')
-rw-r--r--libcrypt/des.c2
-rw-r--r--libcrypt/md5.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcrypt/des.c b/libcrypt/des.c
index 3b49a7af6..5966da0b9 100644
--- a/libcrypt/des.c
+++ b/libcrypt/des.c
@@ -638,7 +638,7 @@ encrypt(char *block, int flag)
block[(i << 5) | j] = (io[i] & bits32[j]) ? 1 : 0;
}
-char *
+char attribute_hidden *
__des_crypt(const char *key, const char *setting)
{
u_int32_t count, salt, l, r0, r1, keybuf[2];
diff --git a/libcrypt/md5.c b/libcrypt/md5.c
index 27ee2a802..7d852b7b2 100644
--- a/libcrypt/md5.c
+++ b/libcrypt/md5.c
@@ -531,7 +531,7 @@ static void __md5_to64( char *s, unsigned long v, int n)
* Use MD5 for what it is best at...
*/
-extern char * __md5_crypt( const char *pw, const char *salt)
+extern char attribute_hidden * __md5_crypt( const char *pw, const char *salt)
{
/* Static stuff */
static const char *sp, *ep;