Module: wine Branch: master Commit: 098e82d81e52c1a36fe97837e8bbf0445e179261 URL: http://source.winehq.org/git/wine.git/?a=commit;h=098e82d81e52c1a36fe97837e8...
Author: Dmitry Timoshkov dmitry@codeweavers.com Date: Thu Dec 14 22:47:50 2006 +0800
secur32: Make some data const.
---
dlls/secur32/ntlm.c | 4 ++-- dlls/secur32/schannel.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/secur32/ntlm.c b/dlls/secur32/ntlm.c index 86d61cf..853edd1 100644 --- a/dlls/secur32/ntlm.c +++ b/dlls/secur32/ntlm.c @@ -1634,7 +1634,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_De return ret; }
-static SecurityFunctionTableA ntlmTableA = { +static const SecurityFunctionTableA ntlmTableA = { 1, NULL, /* EnumerateSecurityPackagesA */ ntlm_QueryCredentialsAttributesA, /* QueryCredentialsAttributesA */ @@ -1665,7 +1665,7 @@ static SecurityFunctionTableA ntlmTableA NULL, /* SetContextAttributesA */ };
-static SecurityFunctionTableW ntlmTableW = { +static const SecurityFunctionTableW ntlmTableW = { 1, NULL, /* EnumerateSecurityPackagesW */ ntlm_QueryCredentialsAttributesW, /* QueryCredentialsAttributesW */ diff --git a/dlls/secur32/schannel.c b/dlls/secur32/schannel.c index b4c1d57..a8f50b6 100644 --- a/dlls/secur32/schannel.c +++ b/dlls/secur32/schannel.c @@ -290,7 +290,7 @@ static SECURITY_STATUS SEC_ENTRY schan_I return ret; }
-static SecurityFunctionTableA schanTableA = { +static const SecurityFunctionTableA schanTableA = { 1, NULL, /* EnumerateSecurityPackagesA */ schan_QueryCredentialsAttributesA, @@ -321,7 +321,7 @@ static SecurityFunctionTableA schanTable NULL, /* SetContextAttributesA */ };
-static SecurityFunctionTableW schanTableW = { +static const SecurityFunctionTableW schanTableW = { 1, NULL, /* EnumerateSecurityPackagesW */ schan_QueryCredentialsAttributesW,