* lib/prototypes.h, libmisc/age.c, src/expiry.c, src/login.c: A

shadow entry is now sufficient for agecheck. Remove the first
	passwd entry parameter.
This commit is contained in:
nekral-guest
2009-04-11 18:37:08 +00:00
parent 42590e062f
commit cab74eddef
5 changed files with 12 additions and 4 deletions

View File

@@ -160,7 +160,7 @@ int expire (const struct passwd *pw, const struct spwd *sp)
* to expire and warns the user of the pending password expiration.
*/
void agecheck (const struct passwd *pw, const struct spwd *sp)
void agecheck (const struct spwd *sp)
{
long now = (long) time ((time_t *) 0) / SCALE;
long remain;