* lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is

NOT defined.
This commit is contained in:
nekral-guest 2009-04-10 22:34:29 +00:00
parent d548bf4742
commit 66e39884e2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
* lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is
NOT defined.
2009-04-06 Nicolas François <nicolas.francois@centraliens.net>
* src/passwd.c: Replace getnumber() by getlong(). This permits to

View File

@ -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