Alex Henrie : msvcp90: Turn two static variables into constants.
Alexandre Julliard
julliard at winehq.org
Fri Dec 14 11:57:12 CST 2018
Module: wine
Branch: master
Commit: 551cf701aa350add29f0e6ebf4fefb303f0fb707
URL: https://source.winehq.org/git/wine.git/?a=commit;h=551cf701aa350add29f0e6ebf4fefb303f0fb707
Author: Alex Henrie <alexhenrie24 at gmail.com>
Date: Mon Dec 3 21:42:55 2018 -0700
msvcp90: Turn two static variables into constants.
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 aa29fb9..0e81b8d 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[] =
More information about the wine-cvs
mailing list