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
d2ad82c8
Commit
d2ad82c8
authored
Nov 21, 2022
by
Alex Henrie
Committed by
Alexandre Julliard
Nov 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Avoid using GCC's typeof extension.
parent
abf14cd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
perf.c
dlls/advapi32/tests/perf.c
+4
-6
No files found.
dlls/advapi32/tests/perf.c
View file @
d2ad82c8
...
@@ -31,12 +31,10 @@
...
@@ -31,12 +31,10 @@
#include "initguid.h"
#include "initguid.h"
#define DEFINE_FUNCTION(name) static typeof(name) *p##name;
ULONG
(
WINAPI
*
pPerfCloseQueryHandle
)(
HANDLE
);
DEFINE_FUNCTION
(
PerfCloseQueryHandle
);
ULONG
(
WINAPI
*
pPerfOpenQueryHandle
)(
const
WCHAR
*
,
HANDLE
*
);
DEFINE_FUNCTION
(
PerfOpenQueryHandle
);
ULONG
(
WINAPI
*
pPerfAddCounters
)(
HANDLE
,
PERF_COUNTER_IDENTIFIER
*
,
DWORD
);
DEFINE_FUNCTION
(
PerfAddCounters
);
ULONG
(
WINAPI
*
pPerfQueryCounterData
)(
HANDLE
,
PERF_DATA_HEADER
*
,
DWORD
,
DWORD
*
);
DEFINE_FUNCTION
(
PerfQueryCounterData
);
#undef DEFINE_FUNCTION
static
void
init_functions
(
void
)
static
void
init_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