]> granicus.if.org Git - linux-pam/commit
Fix compile time errors in --enable-static-modules mode
authorMatveychikov Ilya <i.matveychikov@securitycode.ru>
Tue, 17 Jan 2012 07:16:49 +0000 (11:16 +0400)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 27 Jan 2012 00:17:54 +0000 (00:17 +0000)
commitaff021e14203373248e376b4ca013e58074dc7a9
treed28011df6407901e1ed1026509d83f7162864907
parent9e85d7033d3c24f5fd63ecde172b92e61f864844
Fix compile time errors in --enable-static-modules mode

* libpam/pam_static_modules.h (_pam_rhosts_auth_modstruct): Remove
obsolete declaration.
(static_modules): Remove undefined reference to
_pam_rhosts_auth_modstruct.
* modules/pam_pwhistory/opasswd.h: Rename {save,check}_old_password to
{save,check}_old_pass in order to avoid conflicts with pam_unix.
* modules/pam_pwhistory/opasswd.c: Likewise.
* modules/pam_pwhistory/pam_pwhistory.c: Likewise.
* modules/pam_tally2/pam_tally2.c: Rename _pam_tally_modstruct to
_pam_tally2_modstruct.

Signed-off-by: Matveychikov Ilya <i.matveychikov@securitycode.ru>
libpam/pam_static_modules.h
modules/pam_pwhistory/opasswd.c
modules/pam_pwhistory/opasswd.h
modules/pam_pwhistory/pam_pwhistory.c
modules/pam_tally2/pam_tally2.c