From 9770d49cd8836910508683290c7c835ad15d50be Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 17 Nov 2016 20:37:47 -0500 Subject: reader: renamed pe_read_import_lookup_item() --> pe_read_import_lookup(). --- include/perk/perk.h | 2 +- src/logic/pe_get_image_meta.c | 2 +- src/reader/pe_read_import_header.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/perk/perk.h b/include/perk/perk.h index a7c5add..332ddde 100644 --- a/include/perk/perk.h +++ b/include/perk/perk.h @@ -202,7 +202,7 @@ perk_api int pe_read_optional_header (const union pe_opt_hdr *, struct pe_met perk_api int pe_read_section_header (const struct pe_sec_hdr *, struct pe_meta_sec_hdr *); perk_api int pe_read_export_header (const struct pe_export_hdr *, struct pe_meta_export_hdr *); perk_api int pe_read_import_header (const struct pe_import_hdr *, struct pe_meta_import_hdr *); -perk_api int pe_read_import_lookup_item(const union pe_import_lookup_item *, struct pe_meta_import_lookup_item *, uint32_t magic); +perk_api int pe_read_import_lookup (const union pe_import_lookup_item *, struct pe_meta_import_lookup_item *, uint32_t magic); #ifdef __cplusplus } diff --git a/src/logic/pe_get_image_meta.c b/src/logic/pe_get_image_meta.c index 8301bfc..ba3f560 100644 --- a/src/logic/pe_get_image_meta.c +++ b/src/logic/pe_get_image_meta.c @@ -298,7 +298,7 @@ int pe_get_image_meta( } for (j=0; jidata[i].count; j++) { - if ((ret = pe_read_import_lookup_item( + if ((ret = pe_read_import_lookup( &(m->idata[i].aitems[j]), &(m->idata[i].items[j]), m->opt.std.magic))) diff --git a/src/reader/pe_read_import_header.c b/src/reader/pe_read_import_header.c index 79f0f55..7616cff 100644 --- a/src/reader/pe_read_import_header.c +++ b/src/reader/pe_read_import_header.c @@ -24,7 +24,7 @@ int pe_read_import_header(const struct pe_import_hdr * p, struct pe_meta_import_ return 0; } -int pe_read_import_lookup_item( +int pe_read_import_lookup( const union pe_import_lookup_item * p, struct pe_meta_import_lookup_item * m, uint32_t magic) -- cgit v1.2.3