Alexandre Julliard : ntdll: Remove no longer used parameter from find_fileid_module().
Alexandre Julliard
julliard at winehq.org
Fri Feb 8 16:16:28 CST 2019
Module: wine
Branch: master
Commit: f7b3120991df02ecaa975c18c6421fedb48ae731
URL: https://source.winehq.org/git/wine.git/?a=commit;h=f7b3120991df02ecaa975c18c6421fedb48ae731
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Feb 8 23:00:27 2019 +0100
ntdll: Remove no longer used parameter from find_fileid_module().
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/loader.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c
index f017651..e7a9c2c 100644
--- a/dlls/ntdll/loader.c
+++ b/dlls/ntdll/loader.c
@@ -464,7 +464,7 @@ static WINE_MODREF *find_fullname_module( const UNICODE_STRING *nt_name )
* Find a module from its file id.
* The loader_section must be locked while calling this function
*/
-static WINE_MODREF *find_fileid_module( HANDLE handle, struct stat *st )
+static WINE_MODREF *find_fileid_module( struct stat *st )
{
LIST_ENTRY *mark, *entry;
@@ -2368,7 +2368,7 @@ static HANDLE open_dll_file( UNICODE_STRING *nt_name, WINE_MODREF **pwm, struct
{
fstat( fd, st );
if (needs_close) close( fd );
- if ((*pwm = find_fileid_module( handle, st )))
+ if ((*pwm = find_fileid_module( st )))
{
TRACE( "%s is the same file as existing module %p %s\n", debugstr_w( nt_name->Buffer ),
(*pwm)->ldr.BaseAddress, debugstr_w( (*pwm)->ldr.FullDllName.Buffer ));
More information about the wine-cvs
mailing list