1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

include: Make sure that Unix function tables are always const.

This commit is contained in:
Alexandre Julliard 2023-11-03 15:34:00 +01:00
parent 30dc5d28d1
commit 1771716528
2 changed files with 4 additions and 1 deletions

View file

@ -465,7 +465,7 @@ static NTSTATUS init( void *dispatcher )
return ntdll_init_syscalls( &syscall_table, dispatcher );
}
unixlib_entry_t __wine_unix_call_funcs[] =
const unixlib_entry_t __wine_unix_call_funcs[] =
{
init,
};

View file

@ -29,6 +29,9 @@ typedef UINT64 unixlib_handle_t;
typedef NTSTATUS (*unixlib_entry_t)( void *args );
extern const unixlib_entry_t __wine_unix_call_funcs[];
extern const unixlib_entry_t __wine_unix_call_wow64_funcs[];
/* some useful helpers from ntdll */
extern const char *ntdll_get_build_dir(void);
extern const char *ntdll_get_data_dir(void);