1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-28 11:42:03 +03:00

Make a number of the lookup tables 'const'. I'm told this assists in sharing

memory between users of shared libs.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
-
parent 20f6f9e3a2
commit 41dd5a4d29
4 changed files with 15 additions and 15 deletions

View File

@ -24,7 +24,7 @@
#include <security/pam_appl.h>
/* PAM -> NT_STATUS map */
static struct {
const static struct {
int pam_code;
NTSTATUS ntstatus;
} pam_to_nt_status_map[] = {
@ -55,7 +55,7 @@ static struct {
};
/* NT_STATUS -> PAM map */
static struct {
const static struct {
NTSTATUS ntstatus;
int pam_code;
} nt_status_to_pam_map[] = {