include: Make sure that Unix function tables are always const.
This commit is contained in:
parent
30dc5d28d1
commit
1771716528
2 changed files with 4 additions and 1 deletions
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue