summaryrefslogtreecommitdiffstats
path: root/libcrypt
diff options
context:
space:
mode:
Diffstat (limited to 'libcrypt')
-rw-r--r--libcrypt/crypt.c4
-rw-r--r--libcrypt/des.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libcrypt/crypt.c b/libcrypt/crypt.c
index a7dd35458..a1bba6ebd 100644
--- a/libcrypt/crypt.c
+++ b/libcrypt/crypt.c
@@ -26,8 +26,8 @@
#include <crypt.h>
#include <unistd.h>
-extern char * __md5_crypt( const char *pw, const char *salt);
-extern char * __des_crypt( const char *pw, const char *salt);
+extern char * __md5_crypt( const char *pw, const char *salt) attribute_hidden;
+extern char * __des_crypt( const char *pw, const char *salt) attribute_hidden;
extern char * crypt(const char *key, const char *salt)
{
diff --git a/libcrypt/des.c b/libcrypt/des.c
index 5966da0b9..80e513183 100644
--- a/libcrypt/des.c
+++ b/libcrypt/des.c
@@ -349,7 +349,7 @@ des_init(void)
static void
-setup_salt(long salt)
+setup_salt(u_int32_t salt)
{
u_int32_t obit, saltbit;
int i;