Commit 123b86fe authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Remove an unused global variable.

parent 8f507ff9
......@@ -389,7 +389,6 @@ const char **dll_paths = NULL;
const char **system_dll_paths = NULL;
const char *user_name = NULL;
SECTION_IMAGE_INFORMATION main_image_info = { NULL };
static const IMAGE_EXPORT_DIRECTORY *ntdll_exports;
/* adjust an array of pointers to make them into RVAs */
static inline void fixup_rva_ptrs( void *array, BYTE *base, unsigned int count )
......@@ -1759,12 +1758,13 @@ static void load_ntdll_functions( HMODULE module )
{
void **p__wine_unix_call_dispatcher;
unixlib_handle_t *p__wine_unixlib_handle;
const IMAGE_EXPORT_DIRECTORY *exports;
ntdll_exports = get_module_data_dir( module, IMAGE_FILE_EXPORT_DIRECTORY, NULL );
assert( ntdll_exports );
exports = get_module_data_dir( module, IMAGE_DIRECTORY_ENTRY_EXPORT, NULL );
assert( exports );
#define GET_FUNC(name) \
if (!(p##name = (void *)find_named_export( module, ntdll_exports, #name ))) \
if (!(p##name = (void *)find_named_export( module, exports, #name ))) \
ERR( "%s not found\n", #name )
GET_FUNC( DbgUiRemoteBreakin );
......
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