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
318d0272
Commit
318d0272
authored
Nov 21, 2022
by
Alex Henrie
Committed by
Alexandre Julliard
Nov 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Avoid using GCC's typeof extension.
parent
929de484
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
heap.c
dlls/kernel32/tests/heap.c
+4
-7
No files found.
dlls/kernel32/tests/heap.c
View file @
318d0272
...
...
@@ -52,13 +52,10 @@ static BOOLEAN (WINAPI *pRtlSetUserFlagsHeap)(HANDLE,ULONG,void*,ULONG,ULONG);
static
HGLOBAL
(
WINAPI
*
pGlobalAlloc
)(
UINT
,
SIZE_T
);
static
HGLOBAL
(
WINAPI
*
pGlobalFree
)(
HGLOBAL
);
static
HGLOBAL
(
WINAPI
*
pLocalFree
)(
HLOCAL
);
#define MAKE_FUNC(f) static typeof(f) *p ## f
MAKE_FUNC
(
HeapQueryInformation
);
MAKE_FUNC
(
HeapSetInformation
);
MAKE_FUNC
(
GlobalFlags
);
MAKE_FUNC
(
RtlGetNtGlobalFlags
);
#undef MAKE_FUNC
static
BOOL
(
WINAPI
*
pHeapQueryInformation
)(
HANDLE
,
HEAP_INFORMATION_CLASS
,
void
*
,
SIZE_T
,
SIZE_T
*
);
static
BOOL
(
WINAPI
*
pHeapSetInformation
)(
HANDLE
,
HEAP_INFORMATION_CLASS
,
void
*
,
SIZE_T
);
static
UINT
(
WINAPI
*
pGlobalFlags
)(
HGLOBAL
);
static
ULONG
(
WINAPI
*
pRtlGetNtGlobalFlags
)(
void
);
static
void
load_functions
(
void
)
{
...
...
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