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:
@ -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[] = {
|
||||
|
Reference in New Issue
Block a user