mirror of
https://github.com/reactos/reactos.git
synced 2025-05-31 06:58:10 +00:00
[WINESYNC] dbghelp: Make qsort callback explicitly cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 0163db5152124efbd1a5ba46aa52a6da66d897d5 by Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
55d0c3cf66
commit
4cc24ef20e
3 changed files with 3 additions and 3 deletions
|
@ -761,7 +761,7 @@ extern DWORD64 sw_module_base(struct cpu_stack_walk* csw, DWORD64 addr) DEC
|
|||
extern const char* symt_get_name(const struct symt* sym) DECLSPEC_HIDDEN;
|
||||
extern WCHAR* symt_get_nameW(const struct symt* sym) DECLSPEC_HIDDEN;
|
||||
extern BOOL symt_get_address(const struct symt* type, ULONG64* addr) DECLSPEC_HIDDEN;
|
||||
extern int symt_cmp_addr(const void* p1, const void* p2) DECLSPEC_HIDDEN;
|
||||
extern int __cdecl symt_cmp_addr(const void* p1, const void* p2) DECLSPEC_HIDDEN;
|
||||
extern void copy_symbolW(SYMBOL_INFOW* siw, const SYMBOL_INFO* si) DECLSPEC_HIDDEN;
|
||||
extern struct symt_ht*
|
||||
symt_find_nearest(struct module* module, DWORD_PTR addr) DECLSPEC_HIDDEN;
|
||||
|
|
|
@ -54,7 +54,7 @@ static inline int cmp_sorttab_addr(struct module* module, int idx, ULONG64 addr)
|
|||
return cmp_addr(ref, addr);
|
||||
}
|
||||
|
||||
int symt_cmp_addr(const void* p1, const void* p2)
|
||||
int __cdecl symt_cmp_addr(const void* p1, const void* p2)
|
||||
{
|
||||
const struct symt* sym1 = *(const struct symt* const *)p1;
|
||||
const struct symt* sym2 = *(const struct symt* const *)p2;
|
||||
|
|
|
@ -4,4 +4,4 @@ files:
|
|||
include/dbghelp.h: sdk/include/psdk/dbghelp.h
|
||||
include/wine/mscvpdb.h: sdk/include/reactos/wine/mscvpdb.h
|
||||
tags:
|
||||
wine: e014d325ddb87dbb4678ef47ef17f9e7f49b0248
|
||||
wine: 0163db5152124efbd1a5ba46aa52a6da66d897d5
|
||||
|
|
Loading…
Reference in a new issue