Commit b0622bb4 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Mark old_locinfo as const in create_locinfo.

parent dcdbe44d
...@@ -1035,7 +1035,7 @@ static inline BOOL set_lc_locale_name(MSVCRT_pthreadlocinfo locinfo, int cat) ...@@ -1035,7 +1035,7 @@ static inline BOOL set_lc_locale_name(MSVCRT_pthreadlocinfo locinfo, int cat)
#endif #endif
static inline BOOL category_needs_update(int cat, int user_cat, static inline BOOL category_needs_update(int cat, int user_cat,
MSVCRT_pthreadlocinfo locinfo, LCID lcid, unsigned short cp) const MSVCRT_threadlocinfo *locinfo, LCID lcid, unsigned short cp)
{ {
if(!locinfo) return TRUE; if(!locinfo) return TRUE;
if(user_cat!=cat && user_cat!=MSVCRT_LC_ALL) return FALSE; if(user_cat!=cat && user_cat!=MSVCRT_LC_ALL) return FALSE;
...@@ -1106,7 +1106,7 @@ static MSVCRT___lc_time_data* create_time_data(LCID lcid) ...@@ -1106,7 +1106,7 @@ static MSVCRT___lc_time_data* create_time_data(LCID lcid)
} }
static MSVCRT_pthreadlocinfo create_locinfo(int category, static MSVCRT_pthreadlocinfo create_locinfo(int category,
const char *locale, MSVCRT_pthreadlocinfo old_locinfo) const char *locale, const MSVCRT_threadlocinfo *old_locinfo)
{ {
static const char collate[] = "COLLATE="; static const char collate[] = "COLLATE=";
static const char ctype[] = "CTYPE="; static const char ctype[] = "CTYPE=";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment