[PATCH] msvcp90: Turn two static variables into constants

Alex Henrie alexhenrie24 at gmail.com
Mon Dec 3 22:42:55 CST 2018


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 dlls/msvcp90/misc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msvcp90/misc.c b/dlls/msvcp90/misc.c
index aa29fb98ba..0e81b8d188 100644
--- a/dlls/msvcp90/misc.c
+++ b/dlls/msvcp90/misc.c
@@ -112,7 +112,7 @@ static const char str_ETIMEDOUT[]       = "connection timed out";
 static const char str_ETXTBSY[]         = "text file busy";
 static const char str_EWOULDBLOCK[]     = "operation would block";
 
-static struct {
+static const struct {
     int err;
     const char *str;
 } syserror_map[] =
@@ -199,7 +199,7 @@ static struct {
 #endif
 
 #if _MSVCP_VER >= 140
-static struct {
+static const struct {
     int winerr;
     int doserr;
 } winerror_map[] =
-- 
2.19.2




More information about the wine-devel mailing list