Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ffa84441
Commit
ffa84441
authored
Dec 14, 2006
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Dec 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Make some data const.
parent
54aae988
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
exit.c
dlls/msvcrt/exit.c
+1
-1
locale.c
dlls/msvcrt/locale.c
+3
-3
No files found.
dlls/msvcrt/exit.c
View file @
ffa84441
...
...
@@ -33,7 +33,7 @@ static MSVCRT__onexit_t *MSVCRT_atexit_table = NULL;
static
int
MSVCRT_atexit_table_size
=
0
;
static
int
MSVCRT_atexit_registered
=
0
;
/* Points to free slot */
static
LPCSTR
szMsgBoxTitle
=
"Wine C++ Runtime Library"
;
static
const
char
szMsgBoxTitle
[]
=
"Wine C++ Runtime Library"
;
extern
int
MSVCRT_app_type
;
extern
char
*
MSVCRT__pgmptr
;
...
...
dlls/msvcrt/locale.c
View file @
ffa84441
...
...
@@ -65,7 +65,7 @@ extern unsigned char MSVCRT_mbctype[257];
/* Friendly country strings & iso codes for synonym support.
* Based on MS documentation for setlocale().
*/
static
const
char
*
_country_synonyms
[]
=
static
const
char
*
const
_country_synonyms
[]
=
{
"Hong Kong"
,
"HK"
,
"Hong-Kong"
,
"HK"
,
...
...
@@ -484,7 +484,7 @@ MSVCRT_wchar_t* CDECL MSVCRT__wsetlocale(int category, const MSVCRT_wchar_t* loc
*/
const
char
*
CDECL
_Getdays
(
void
)
{
static
const
char
*
MSVCRT_days
=
":Sun:Sunday:Mon:Monday:Tue:Tuesday:Wed:"
static
const
char
MSVCRT_days
[]
=
":Sun:Sunday:Mon:Monday:Tue:Tuesday:Wed:"
"Wednesday:Thu:Thursday:Fri:Friday:Sat:Saturday"
;
/* FIXME: Use locale */
TRACE
(
"(void) semi-stub
\n
"
);
...
...
@@ -496,7 +496,7 @@ const char* CDECL _Getdays(void)
*/
const
char
*
CDECL
_Getmonths
(
void
)
{
static
const
char
*
MSVCRT_months
=
":Jan:January:Feb:February:Mar:March:Apr:"
static
const
char
MSVCRT_months
[]
=
":Jan:January:Feb:February:Mar:March:Apr:"
"April:May:May:Jun:June:Jul:July:Aug:August:Sep:September:Oct:"
"October:Nov:November:Dec:December"
;
/* FIXME: Use locale */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment