Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
4dc31f92
Commit
4dc31f92
authored
Oct 23, 2023
by
Brendan Shanks
Committed by
Alexandre Julliard
Oct 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnsapi: Ensure unixlib function tables and enum stay in sync.
parent
e0237f77
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
dnsapi.h
dlls/dnsapi/dnsapi.h
+1
-0
libresolv.c
dlls/dnsapi/libresolv.c
+4
-0
No files found.
dlls/dnsapi/dnsapi.h
View file @
4dc31f92
...
@@ -127,6 +127,7 @@ enum unix_funcs
...
@@ -127,6 +127,7 @@ enum unix_funcs
unix_get_serverlist
,
unix_get_serverlist
,
unix_set_serverlist
,
unix_set_serverlist
,
unix_query
,
unix_query
,
unix_funcs_count
};
};
#define RESOLV_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params )
#define RESOLV_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params )
dlls/dnsapi/libresolv.c
View file @
4dc31f92
...
@@ -344,6 +344,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
...
@@ -344,6 +344,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
resolv_query
,
resolv_query
,
};
};
C_ASSERT
(
ARRAYSIZE
(
__wine_unix_call_funcs
)
==
unix_funcs_count
);
#ifdef _WIN64
#ifdef _WIN64
typedef
ULONG
PTR32
;
typedef
ULONG
PTR32
;
...
@@ -415,6 +417,8 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
...
@@ -415,6 +417,8 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
wow64_resolv_query
,
wow64_resolv_query
,
};
};
C_ASSERT
(
ARRAYSIZE
(
__wine_unix_call_wow64_funcs
)
==
unix_funcs_count
);
#endif
/* _WIN64 */
#endif
/* _WIN64 */
#endif
/* HAVE_RESOLV */
#endif
/* HAVE_RESOLV */
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