summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2003-08-05 23:42:31 +0000
committerMarcus Brinkmann <marcus@gnu.org>2003-08-05 23:42:31 +0000
commite2b4be1e78e30e671147d8487f7002ae072054d6 (patch)
tree53fee9da53772a8276144b370dc2d5486f333bbe
parentc5b4d18cc640368468b5720d2520fd89ab819260 (diff)
2003-08-03 Marco Gerards <metgerards@student.han.nl>
* idvec-verify.c: Include <crypt.h>. (crypt): Removed prototype.
-rw-r--r--libshouldbeinlibc/ChangeLog5
-rw-r--r--libshouldbeinlibc/idvec-verify.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libshouldbeinlibc/ChangeLog b/libshouldbeinlibc/ChangeLog
index 359b0d77..fd854f6b 100644
--- a/libshouldbeinlibc/ChangeLog
+++ b/libshouldbeinlibc/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-03 Marco Gerards <metgerards@student.han.nl>
+
+ * idvec-verify.c: Include <crypt.h>.
+ (crypt): Removed prototype.
+
2002-05-12 Marcus Brinkmann <marcus@gnu.org>
* idvec-impgids.c (_merge_implied_gids): Free CACHE on failure.
diff --git a/libshouldbeinlibc/idvec-verify.c b/libshouldbeinlibc/idvec-verify.c
index 4e957d43..55d20e2c 100644
--- a/libshouldbeinlibc/idvec-verify.c
+++ b/libshouldbeinlibc/idvec-verify.c
@@ -26,10 +26,10 @@
#include <grp.h>
#include <pwd.h>
#include <shadow.h>
+#include <crypt.h>
#define SHADOW_PASSWORD_STRING "x" /* pw_passwd contents for shadow passwd */
-extern char *crypt (const char *string, const char salt[2]);
#pragma weak crypt
static error_t verify_id (); /* FWD */