diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-03-23 08:45:03 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-03-23 08:45:03 +0000 |
commit | 41dd5a4d292bb08fa313f6220014cd9b4490237b (patch) | |
tree | 0f3118dca0befe74be04cd412d8085a2ff06bcd0 /source/lib/pam_errors.c | |
parent | 20f6f9e3a221da60aae0de166f17085053e27286 (diff) | |
download | samba-41dd5a4d292bb08fa313f6220014cd9b4490237b.tar.gz samba-41dd5a4d292bb08fa313f6220014cd9b4490237b.tar.xz samba-41dd5a4d292bb08fa313f6220014cd9b4490237b.zip |
Make a number of the lookup tables 'const'. I'm told this assists in sharing
memory between users of shared libs.
Andrew Bartlett
Diffstat (limited to 'source/lib/pam_errors.c')
-rw-r--r-- | source/lib/pam_errors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/pam_errors.c b/source/lib/pam_errors.c index f0f47333cb6..1971e3b763b 100644 --- a/source/lib/pam_errors.c +++ b/source/lib/pam_errors.c @@ -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[] = { |