summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-17 20:37:47 -0500
committermidipix <writeonce@midipix.org>2016-11-17 20:37:47 -0500
commit9770d49cd8836910508683290c7c835ad15d50be (patch)
tree1bac50c78b2c857150fd48f4e8a9052809042a17
parentedca77886c2d95fa16739243234f22738f07b5f5 (diff)
downloadperk-9770d49cd8836910508683290c7c835ad15d50be.tar.bz2
perk-9770d49cd8836910508683290c7c835ad15d50be.tar.xz
reader: renamed pe_read_import_lookup_item() --> pe_read_import_lookup().
-rw-r--r--include/perk/perk.h2
-rw-r--r--src/logic/pe_get_image_meta.c2
-rw-r--r--src/reader/pe_read_import_header.c2
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; j<m->idata[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)