summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-15 12:27:42 -0500
committermidipix <writeonce@midipix.org>2016-11-15 12:27:42 -0500
commit204e71196db007f92f76ac202a12b7a5b8309272 (patch)
tree4daccef03be637d83f3931bc31e7e4dc0a12856b /src
parent44fcac1011352bf06f6019e2861aecfbe76adc36 (diff)
downloadperk-204e71196db007f92f76ac202a12b7a5b8309272.tar.bz2
perk-204e71196db007f92f76ac202a12b7a5b8309272.tar.xz
pe_output_image_category(): signature now matches that of other output api's.
Diffstat (limited to 'src')
-rw-r--r--src/driver/pe_amain.c2
-rw-r--r--src/output/pe_output_image_category.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/driver/pe_amain.c b/src/driver/pe_amain.c
index 5b86432..40eaf9d 100644
--- a/src/driver/pe_amain.c
+++ b/src/driver/pe_amain.c
@@ -53,7 +53,7 @@ static void pe_perform_unit_actions(
uint64_t flags = dctx->cctx->fmtflags;
if (flags & PERK_OUTPUT_IMAGE_CATEGORY)
- pe_output_image_category(dctx,uctx,0);
+ pe_output_image_category(dctx,uctx->meta,0);
if (flags & PERK_OUTPUT_EXPORT_SYMS)
pe_output_export_symbols(dctx,uctx->meta,0);
diff --git a/src/output/pe_output_image_category.c b/src/output/pe_output_image_category.c
index 432b853..ccf25c4 100644
--- a/src/output/pe_output_image_category.c
+++ b/src/output/pe_output_image_category.c
@@ -12,14 +12,13 @@
int pe_output_image_category(
const struct pe_driver_ctx * dctx,
- const struct pe_unit_ctx * uctx,
+ const struct pe_image_meta * meta,
FILE * fout)
{
struct pe_info_string abi;
struct pe_info_string subtype;
struct pe_info_string subsystem;
struct pe_info_string framework;
- const struct pe_image_meta * meta = uctx->meta;
if (!fout)
fout = stdout;