Remove unused variables (1st round).
Add prototype for auth_pam().
Remove unused variables (2nd pass).
Add cheking on calife argument.
Remove one variable, merge two portions of code.
-Wall is default.
Added tag 3.0.2 for changeset 8454656b738e
Fix botched test.
Added tag 3.0.2 for changeset 162282762a82