secur32: Ensure unixlib function tables and enum stay in sync.

This commit is contained in:
Brendan Shanks 2024-08-30 11:48:02 -07:00 committed by Alexandre Julliard
parent c4ea63a8bf
commit d4d6d3a3f8
Notes: Alexandre Julliard 2024-10-30 14:01:15 -05:00
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/wine/merge_requests/6416
2 changed files with 5 additions and 0 deletions

View file

@ -1632,6 +1632,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
schan_set_dtls_timeouts,
};
C_ASSERT(ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count);
#ifdef _WIN64
typedef ULONG PTR32;
@ -1965,6 +1967,8 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
schan_set_dtls_timeouts,
};
C_ASSERT(ARRAYSIZE(__wine_unix_call_wow64_funcs) == unix_funcs_count);
#endif /* _WIN64 */
#endif /* SONAME_LIBGNUTLS */

View file

@ -239,6 +239,7 @@ enum schan_funcs
unix_set_dtls_mtu,
unix_set_session_target,
unix_set_dtls_timeouts,
unix_funcs_count,
};
#endif /* __SECUR32_PRIV_H__ */