Commit 17717165 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 30dc5d28
...@@ -465,7 +465,7 @@ static NTSTATUS init( void *dispatcher ) ...@@ -465,7 +465,7 @@ static NTSTATUS init( void *dispatcher )
return ntdll_init_syscalls( &syscall_table, dispatcher ); return ntdll_init_syscalls( &syscall_table, dispatcher );
} }
unixlib_entry_t __wine_unix_call_funcs[] = const unixlib_entry_t __wine_unix_call_funcs[] =
{ {
init, init,
}; };
...@@ -29,6 +29,9 @@ typedef UINT64 unixlib_handle_t; ...@@ -29,6 +29,9 @@ typedef UINT64 unixlib_handle_t;
typedef NTSTATUS (*unixlib_entry_t)( void *args ); 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 */ /* some useful helpers from ntdll */
extern const char *ntdll_get_build_dir(void); extern const char *ntdll_get_build_dir(void);
extern const char *ntdll_get_data_dir(void); extern const char *ntdll_get_data_dir(void);
......
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