Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b9b26926
Commit
b9b26926
authored
Jun 28, 2012
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp60: Remove unused functions.
parent
5dbdab59
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
109 deletions
+0
-109
main.c
dlls/msvcp60/main.c
+0
-21
misc.c
dlls/msvcp60/misc.c
+0
-82
string.c
dlls/msvcp60/string.c
+0
-6
No files found.
dlls/msvcp60/main.c
View file @
b9b26926
...
...
@@ -98,24 +98,3 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return
TRUE
;
}
/* ?_BADOFF@std@@3JB -> long const std::_BADOFF */
/* ?_BADOFF@std@@3_JB -> __int64 const std::_BADOFF */
const
INT_PTR
std_BADOFF
=
-
1
;
/* ?_BADOFF_func@std@@YAABJXZ -> long const & __cdecl std::_BADOFF_func(void) */
/* ?_BADOFF_func@std@@YAAEB_JXZ -> __int64 const & __ptr64 __cdecl std::_BADOFF_func(void) */
const
INT_PTR
*
__cdecl
std_BADOFF_func
(
void
)
{
return
&
std_BADOFF
;
}
/* ?_Fpz@std@@3_JA __int64 std::_Fpz */
__int64
std_Fpz
=
0
;
/* ?_Fpz_func@std@@YAAA_JXZ -> __int64 & __cdecl std::_Fpz_func(void) */
/* ?_Fpz_func@std@@YAAEA_JXZ -> __int64 & __ptr64 __cdecl std::_Fpz_func(void) */
__int64
*
__cdecl
std_Fpz_func
(
void
)
{
return
&
std_Fpz
;
}
dlls/msvcp60/misc.c
View file @
b9b26926
...
...
@@ -61,34 +61,6 @@ void __thiscall mutex_unlock(mutex *this)
ReleaseMutex
(
this
->
mutex
);
}
/* ?_Mutex_Lock@_Mutex@std@@CAXPAV12@@Z */
/* ?_Mutex_Lock@_Mutex@std@@CAXPEAV12@@Z */
void
CDECL
mutex_mutex_lock
(
mutex
*
m
)
{
mutex_lock
(
m
);
}
/* ?_Mutex_Unlock@_Mutex@std@@CAXPAV12@@Z */
/* ?_Mutex_Unlock@_Mutex@std@@CAXPEAV12@@Z */
void
CDECL
mutex_mutex_unlock
(
mutex
*
m
)
{
mutex_unlock
(
m
);
}
/* ?_Mutex_ctor@_Mutex@std@@CAXPAV12@@Z */
/* ?_Mutex_ctor@_Mutex@std@@CAXPEAV12@@Z */
void
CDECL
mutex_mutex_ctor
(
mutex
*
m
)
{
mutex_ctor
(
m
);
}
/* ?_Mutex_dtor@_Mutex@std@@CAXPAV12@@Z */
/* ?_Mutex_dtor@_Mutex@std@@CAXPEAV12@@Z */
void
CDECL
mutex_mutex_dtor
(
mutex
*
m
)
{
mutex_dtor
(
m
);
}
static
CRITICAL_SECTION
lockit_cs
;
void
init_lockit
(
void
)
{
...
...
@@ -122,57 +94,3 @@ void __thiscall _Lockit_dtor(_Lockit *this)
{
LeaveCriticalSection
(
&
lockit_cs
);
}
/* wctype */
unsigned
short
__cdecl
wctype
(
const
char
*
property
)
{
static
const
struct
{
const
char
*
name
;
unsigned
short
mask
;
}
properties
[]
=
{
{
"alnum"
,
_DIGIT
|
_ALPHA
},
{
"alpha"
,
_ALPHA
},
{
"cntrl"
,
_CONTROL
},
{
"digit"
,
_DIGIT
},
{
"graph"
,
_DIGIT
|
_PUNCT
|
_ALPHA
},
{
"lower"
,
_LOWER
},
{
"print"
,
_DIGIT
|
_PUNCT
|
_BLANK
|
_ALPHA
},
{
"punct"
,
_PUNCT
},
{
"space"
,
_SPACE
},
{
"upper"
,
_UPPER
},
{
"xdigit"
,
_HEX
}
};
int
i
;
for
(
i
=
0
;
i
<
sizeof
(
properties
)
/
sizeof
(
properties
[
0
]);
i
++
)
if
(
!
strcmp
(
property
,
properties
[
i
].
name
))
return
properties
[
i
].
mask
;
return
0
;
}
typedef
void
(
__cdecl
*
MSVCP_new_handler_func
)(
void
);
static
MSVCP_new_handler_func
MSVCP_new_handler
;
static
int
__cdecl
new_handler_wrapper
(
MSVCP_size_t
unused
)
{
MSVCP_new_handler
();
return
1
;
}
/* ?set_new_handler@std@@YAP6AXXZP6AXXZ@Z */
MSVCP_new_handler_func
__cdecl
set_new_handler
(
MSVCP_new_handler_func
new_handler
)
{
MSVCP_new_handler_func
old_handler
=
MSVCP_new_handler
;
TRACE
(
"%p
\n
"
,
new_handler
);
MSVCP_new_handler
=
new_handler
;
MSVCRT_set_new_handler
(
new_handler
?
new_handler_wrapper
:
NULL
);
return
old_handler
;
}
/* ?set_new_handler@std@@YAP6AXXZH@Z */
MSVCP_new_handler_func
__cdecl
set_new_handler_reset
(
int
unused
)
{
return
set_new_handler
(
NULL
);
}
dlls/msvcp60/string.c
View file @
b9b26926
...
...
@@ -2154,12 +2154,6 @@ basic_string_wchar* __thiscall basic_string_wchar_ctor_cstr_alloc(
return
this
;
}
basic_string_wchar
*
__thiscall
MSVCP_basic_string_wchar_ctor_cstr
(
basic_string_wchar
*
this
,
const
wchar_t
*
str
)
{
return
basic_string_wchar_ctor_cstr_alloc
(
this
,
str
,
NULL
);
}
/* ??0?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QAE@IGABV?$allocator@G@1@@Z */
/* ??0?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QEAA@_KGAEBV?$allocator@G@1@@Z */
DEFINE_THISCALL_WRAPPER
(
basic_string_wchar_ctor_ch_alloc
,
16
)
...
...
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