secur32: Make some data const

Dmitry Timoshkov dmitry at codeweavers.com
Thu Dec 14 08:47:50 CST 2006


Hello,

Changelog:
    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_DecryptMessage(PCtxtHandle phContext,
     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_InitializeSecurityContextW(
     return ret;
 }
 
-static SecurityFunctionTableA schanTableA = {
+static const SecurityFunctionTableA schanTableA = {
     1,
     NULL, /* EnumerateSecurityPackagesA */
     schan_QueryCredentialsAttributesA,
@@ -321,7 +321,7 @@ static SecurityFunctionTableA schanTableA = {
     NULL, /* SetContextAttributesA */
 };
 
-static SecurityFunctionTableW schanTableW = {
+static const SecurityFunctionTableW schanTableW = {
     1,
     NULL, /* EnumerateSecurityPackagesW */
     schan_QueryCredentialsAttributesW,
-- 
1.4.4.2






More information about the wine-patches mailing list