From 8645607b8b76d27fb18ff68a4a2c76e6b413f3cc Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 14 Nov 2016 12:29:36 -0500 Subject: libary api: pre-alpha: code maintenance: removed struct pe_symbol_ctx. --- src/driver/pe_driver_ctx.c | 7 ------- src/internal/perk_driver_impl.h | 1 - 2 files changed, 8 deletions(-) (limited to 'src') 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; -- cgit v1.2.3