Fix the do_pam_passwd() prototype (it returns void).
This commit is contained in:
parent
5a4848c8cc
commit
cea5c823a1
11
ChangeLog
11
ChangeLog
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
* lib/groupio.c: Remove prototype of putgrent(), add parameter's
|
* lib/groupio.c: Remove prototype of putgrent(), add parameter's
|
||||||
name of sgetgrent().
|
name of sgetgrent().
|
||||||
|
* lib/prototypes.h: Fix the do_pam_passwd() prototype (it returns
|
||||||
|
void).
|
||||||
|
|
||||||
2008-01-05 Nicolas François <nicolas.francois@centraliens.net>
|
2008-01-05 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
@ -15,15 +17,14 @@
|
|||||||
* lib/prototypes.h: "shadowio.h" was included for the definition
|
* lib/prototypes.h: "shadowio.h" was included for the definition
|
||||||
of the spwd structure. Replace this include by <shadow.h>
|
of the spwd structure. Replace this include by <shadow.h>
|
||||||
* libmisc/xmalloc.c, libmisc/utmp.c, libmisc/strtoday.c,
|
* libmisc/xmalloc.c, libmisc/utmp.c, libmisc/strtoday.c,
|
||||||
libmisc/pwd_init.c, libmisc/tz.c, lib/port.c, lib/fputsx.c:
|
libmisc/pwd_init.c, libmisc/tz.c, lib/port.c, lib/fputsx.c,
|
||||||
Include "prototypes.h" to make sure the exported prototypes are
|
libmisc/pam_pass.c: Include "prototypes.h" to make sure the
|
||||||
the ones used for the definition of functions.
|
exported prototypes are the ones used for the definition of
|
||||||
|
functions.
|
||||||
* libmisc/console.c: Define is_listed() as static and add its
|
* libmisc/console.c: Define is_listed() as static and add its
|
||||||
prototype.
|
prototype.
|
||||||
* libmisc/xgetXXbyYY.c, libmisc/yesno.c: Include config.h as a
|
* libmisc/xgetXXbyYY.c, libmisc/yesno.c: Include config.h as a
|
||||||
system include, as recommended by the autoconf documentation.
|
system include, as recommended by the autoconf documentation.
|
||||||
* libmisc/pam_pass.c: Define do_pam_passwd() as static and add its
|
|
||||||
prototype.
|
|
||||||
* libmisc/log.c: Define dolastlog() as static and add its
|
* libmisc/log.c: Define dolastlog() as static and add its
|
||||||
prototype.
|
prototype.
|
||||||
* src/chage.c: Define isnum() as static and add its prototype.
|
* src/chage.c: Define isnum() as static and add its prototype.
|
||||||
|
@ -115,7 +115,7 @@ extern struct passwd *get_my_pwent (void);
|
|||||||
extern int obscure (const char *, const char *, const struct passwd *);
|
extern int obscure (const char *, const char *, const struct passwd *);
|
||||||
|
|
||||||
/* pam_pass.c */
|
/* pam_pass.c */
|
||||||
extern int do_pam_passwd (const char *, int, int);
|
extern void do_pam_passwd (const char *, int, int);
|
||||||
|
|
||||||
/* port.c */
|
/* port.c */
|
||||||
extern int isttytime (const char *, const char *, time_t);
|
extern int isttytime (const char *, const char *, time_t);
|
||||||
|
Loading…
Reference in New Issue
Block a user