]> granicus.if.org Git - shadow/commit
* lib/prototypes.h, libmisc/addgrps.c: restrict add_groups() to
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 5 Apr 2009 22:29:42 +0000 (22:29 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 5 Apr 2009 22:29:42 +0000 (22:29 +0000)
commita51954203eda9e2fa7ca70f09ddf70613e024019
tree9c907e4e7a85249295c56760df33d4ca723cfbe6
parent021066a9809736fb1d32e3676897ee46957d1396
* lib/prototypes.h, libmisc/addgrps.c: restrict add_groups() to
ifndef USE_PAM.
* lib/prototypes.h: Remove the declaration of add_cons_grps(). The
function does not exist.
* libmisc/age.c (setup_uid_gid): is_console is never set ifndef
USE_PAM. Change the prototype of setup_uid_gid() when USE_PAM is
not defined. This permits to remove add_groups from PAM builds.
setup_uid_gid is already subject to HAVE_INITGROUPS.
* libmisc/pwd2spwd.c (pwd_to_spwd): pwd_to_spwd() is not used in
PAM builds.
ChangeLog
lib/prototypes.h
libmisc/addgrps.c
libmisc/age.c
libmisc/pwd2spwd.c