diff options
Diffstat (limited to 'lib/libskey/skey_crypt.c')
| -rw-r--r-- | lib/libskey/skey_crypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libskey/skey_crypt.c b/lib/libskey/skey_crypt.c index 4e3a141333a56..6ed6bdb154ae1 100644 --- a/lib/libskey/skey_crypt.c +++ b/lib/libskey/skey_crypt.c @@ -3,13 +3,12 @@ #include <string.h> #include <stdio.h> #include <pwd.h> -#include <unistd.h> #include "skey.h" /* skey_crypt - return encrypted UNIX passwd if s/key or regular password ok */ -const char *skey_crypt(pp, salt, pwd, pwok) +char *skey_crypt(pp, salt, pwd, pwok) char *pp; char *salt; struct passwd *pwd; @@ -17,6 +16,7 @@ int pwok; { struct skey skey; char *p; + char *crypt(); /* Try s/key authentication even when the UNIX password is permitted. */ |
