* lib/prototypes.h: pwd_to_spwd() should be declared if USE_PAM is
NOT defined.
This commit is contained in:
parent
d548bf4742
commit
66e39884e2
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user