pam: Use PAM_CONST more often
authorAndrew Deason <adeason@sinenomine.net>
Wed, 13 Apr 2011 15:52:50 +0000 (10:52 -0500)
committerDerrick Brashear <shadow@dementia.org>
Fri, 15 Apr 2011 17:13:17 +0000 (10:13 -0700)
commit78d1f8d88334f711eaaf6555d3a962a504d3e80e
treeaf60a02b9ced8e4c031f244d5e71c880cfdfeba7
parentfbb4c6115b9af9c52ee06fa9c979a3f4195ad342
pam: Use PAM_CONST more often

Some callers of pam_get_item et al were just casting their argument to
a const void **. Some PAM implementations (Linux) want a const void**,
but others (Solaris) do not. Use the PAM_CONST symbol already defined
by autoconf to declare or cast the relevant variable const or not as
appropriate.

Change-Id: I81c7863797396eb146b78ffbb2586e4f3a1e854e
Reviewed-on: http://gerrit.openafs.org/4470
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/pam/afs_auth.c
src/pam/afs_password.c
src/pam/afs_setcred.c