Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
17717165
Commit
17717165
authored
Nov 03, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Make sure that Unix function tables are always const.
parent
30dc5d28
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
syscall.c
dlls/win32u/syscall.c
+1
-1
unixlib.h
include/wine/unixlib.h
+3
-0
No files found.
dlls/win32u/syscall.c
View file @
17717165
...
...
@@ -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
,
};
include/wine/unixlib.h
View file @
17717165
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment