From f768e4441f0b0826bed62d090a80474368df2a98 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 14 Nov 2016 12:35:16 -0500 Subject: libary api: pre-alpha: code maintenance: removed struct pe_linker_ctx. --- include/perk/perk.h | 4 ---- src/driver/pe_driver_ctx.c | 1 - src/internal/perk_driver_impl.h | 1 - 3 files changed, 6 deletions(-) diff --git a/include/perk/perk.h b/include/perk/perk.h index 92d112a..252298c 100644 --- a/include/perk/perk.h +++ b/include/perk/perk.h @@ -112,10 +112,6 @@ struct pe_image_meta { struct pe_meta_sec_hdr * hidata; }; -struct pe_linker_ctx { - const char ** attrs; -}; - struct pe_server_ctx { const char ** attrs; }; diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c index 6091fff..4ca3876 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.lnkctx = &ictx->ctx.lnkctx; ictx->ctx.cctx.srvctx = &ictx->ctx.srvctx; ictx->ctx.cctx.ioctx = &ictx->ctx.ioctx; diff --git a/src/internal/perk_driver_impl.h b/src/internal/perk_driver_impl.h index 3435405..f35e82f 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_linker_ctx lnkctx; struct pe_server_ctx srvctx; struct pe_io_ctx ioctx; struct pe_common_ctx cctx; -- cgit v1.2.3