diff options
author | midipix <writeonce@midipix.org> | 2016-05-27 04:52:41 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-05-27 04:52:41 -0400 |
commit | cfd00a35a48e9a721d18c9c1d504370277fbbbff (patch) | |
tree | 25d1adec4e3a29d235ade65b4828a110023561d6 /src | |
parent | aa2c18d44f6e211daaf9c4e1673a0c88af4a90ed (diff) | |
download | pemagine-cfd00a35a48e9a721d18c9c1d504370277fbbbff.tar.bz2 pemagine-cfd00a35a48e9a721d18c9c1d504370277fbbbff.tar.xz |
pe_get_import_symbol_info(): remove superfluous parameters.
Diffstat (limited to 'src')
-rw-r--r-- | src/meta/pe_get_symbol_name.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/meta/pe_get_symbol_name.c b/src/meta/pe_get_symbol_name.c index 4fe48be..e0205ce 100644 --- a/src/meta/pe_get_symbol_name.c +++ b/src/meta/pe_get_symbol_name.c @@ -24,16 +24,12 @@ static int pe_enum_exports_callback( #if defined (__NT32) static char * pe_get_imported_symbol_info_32( const void * sym_addr, - void ** sym_image_addr, - char ** sym_name, struct pe_ldr_tbl_entry ** ldr_tbl_entry); #endif #if defined (__NT64) static char * pe_get_imported_symbol_info_64( const void * sym_addr, - void ** sym_image_addr, - char ** sym_name, struct pe_ldr_tbl_entry ** ldr_tbl_entry); #endif @@ -59,21 +55,15 @@ char * pe_get_symbol_name(const void * base, const void * sym_addr) pe_api char * pe_get_import_symbol_info( const void * sym_addr, - void ** sym_image_addr, - char ** sym_name, struct pe_ldr_tbl_entry ** ldr_tbl_entry) { #if defined(__NT32) return pe_get_imported_symbol_info_32( sym_addr, - sym_image_addr, - sym_name, ldr_tbl_entry); #elif defined (__NT64) return pe_get_imported_symbol_info_64( sym_addr, - sym_image_addr, - sym_name, ldr_tbl_entry); #endif } @@ -106,8 +96,6 @@ static int pe_enum_exports_callback( #ifdef __NT32 static char * pe_get_imported_symbol_info_32( const void * sym_addr, - void ** sym_image_addr, - char ** sym_name, struct pe_ldr_tbl_entry ** ldr_tbl_entry) { struct symbol { @@ -155,8 +143,6 @@ static char * pe_get_imported_symbol_info_32( #ifdef __NT64 static char * pe_get_imported_symbol_info_64( const void * sym_addr, - void ** sym_image_addr, - char ** sym_name, struct pe_ldr_tbl_entry ** ldr_tbl_entry) { struct symbol { @@ -198,12 +184,6 @@ static char * pe_get_imported_symbol_info_64( if (fn_name) { if (ldr_tbl_entry) *ldr_tbl_entry = mod_info; - - if (sym_image_addr) - *sym_image_addr = (void *)sym_addr; - - if (sym_name) - *sym_name = fn_name; } return fn_name; |