Commit 9139d870 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

mountmgr.sys: Ensure unixlib function tables and enum stay in sync.

parent 42100f2d
...@@ -586,3 +586,5 @@ const unixlib_entry_t __wine_unix_call_funcs[] = ...@@ -586,3 +586,5 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
delete_credential, delete_credential,
enumerate_credentials, enumerate_credentials,
}; };
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
...@@ -172,6 +172,7 @@ enum mountmgr_funcs ...@@ -172,6 +172,7 @@ enum mountmgr_funcs
unix_write_credential, unix_write_credential,
unix_delete_credential, unix_delete_credential,
unix_enumerate_credentials, unix_enumerate_credentials,
unix_funcs_count
}; };
#define MOUNTMGR_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params ) #define MOUNTMGR_CALL( func, params ) WINE_UNIX_CALL( unix_ ## func, params )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment