diff --git a/ChangeLog b/ChangeLog index 3d3cf434..e924dc1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-04-06 Nicolas François + + * lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is + NOT defined. + 2009-04-06 Nicolas François * src/passwd.c: Replace getnumber() by getlong(). This permits to diff --git a/lib/prototypes.h b/lib/prototypes.h index f4e6a8ae..7a057ebb 100644 --- a/lib/prototypes.h +++ b/lib/prototypes.h @@ -235,7 +235,7 @@ extern void do_pam_passwd (const char *user, bool silent, bool change_expired); extern bool isttytime (const char *, const char *, time_t); /* pwd2spwd.c */ -#ifdef USE_PAM +#ifndef USE_PAM extern struct spwd *pwd_to_spwd (const struct passwd *); #endif