From 33dd5128961f2a39cd70c7b6766a524aba2443d7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 23 Mar 2002 08:45:03 +0000 Subject: Make a number of the lookup tables 'const'. I'm told this assists in sharing memory between users of shared libs. Andrew Bartlett (This used to be commit 41dd5a4d292bb08fa313f6220014cd9b4490237b) --- source3/lib/pam_errors.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib/pam_errors.c') diff --git a/source3/lib/pam_errors.c b/source3/lib/pam_errors.c index f0f47333cb..1971e3b763 100644 --- a/source3/lib/pam_errors.c +++ b/source3/lib/pam_errors.c @@ -24,7 +24,7 @@ #include /* 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[] = { -- cgit