summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-14 12:29:36 -0500
committermidipix <writeonce@midipix.org>2016-11-14 14:38:24 -0500
commit8645607b8b76d27fb18ff68a4a2c76e6b413f3cc (patch)
treeb8492ce8b4971005fc94dd477759a236c6bfb8e4 /src
parent62b9db8b87aef70ba5d76542ebcf90ae872ea940 (diff)
downloadperk-8645607b8b76d27fb18ff68a4a2c76e6b413f3cc.tar.bz2
perk-8645607b8b76d27fb18ff68a4a2c76e6b413f3cc.tar.xz
libary api: pre-alpha: code maintenance: removed struct pe_symbol_ctx.
Diffstat (limited to 'src')
-rw-r--r--src/driver/pe_driver_ctx.c7
-rw-r--r--src/internal/perk_driver_impl.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c
index 942291b..2158957 100644
--- a/src/driver/pe_driver_ctx.c
+++ b/src/driver/pe_driver_ctx.c
@@ -91,7 +91,6 @@ static struct pe_driver_ctx_impl * pe_driver_ctx_alloc(
ictx->ctx.erricap = &ictx->ctx.erriptr[--elements];
ictx->meta = meta;
- ictx->ctx.cctx.symctx = &ictx->ctx.symctx;
ictx->ctx.cctx.outctx = &ictx->ctx.outctx;
ictx->ctx.cctx.lnkctx = &ictx->ctx.lnkctx;
ictx->ctx.cctx.srvctx = &ictx->ctx.srvctx;
@@ -227,12 +226,6 @@ static void pe_driver_close_fds(struct pe_common_ctx * cctx)
static void pe_free_driver_ctx_impl(struct pe_driver_ctx_alloc * ictx)
{
- if (ictx->ctx.symctx.append)
- free(ictx->ctx.symctx.append);
-
- if (ictx->ctx.symctx.exclude)
- free(ictx->ctx.symctx.exclude);
-
pe_driver_close_fds(&ictx->ctx.cctx);
argv_free(ictx->meta);
free(ictx);
diff --git a/src/internal/perk_driver_impl.h b/src/internal/perk_driver_impl.h
index 78d55ae..7f34714 100644
--- a/src/internal/perk_driver_impl.h
+++ b/src/internal/perk_driver_impl.h
@@ -23,7 +23,6 @@ enum app_tags {
};
struct pe_driver_ctx_impl {
- struct pe_symbol_ctx symctx;
struct pe_output_ctx outctx;
struct pe_linker_ctx lnkctx;
struct pe_server_ctx srvctx;