Declare read-only data const

This commit is contained in:
Christian Göttsche
2022-08-05 17:40:31 +02:00
committed by Serge Hallyn
parent 44917600b6
commit ae38d3a87f
4 changed files with 10 additions and 10 deletions

View File

@ -22,7 +22,7 @@ static int ni_conv (int num_msg,
const struct pam_message **msg,
struct pam_response **resp,
unused void *appdata_ptr);
static struct pam_conv non_interactive_pam_conv = {
static const struct pam_conv non_interactive_pam_conv = {
ni_conv,
NULL
};