From 5a5fa5cd283d214bedb92130f2807abe64643f16 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 14 Nov 2016 12:36:25 -0500 Subject: libary api: pre-alpha: code maintenance: removed struct pe_server_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 252298c..de846da 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_server_ctx { - const char ** attrs; -}; - struct pe_io_ctx { int status; int prot; diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c index 4ca3876..3622fa8 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.srvctx = &ictx->ctx.srvctx; ictx->ctx.cctx.ioctx = &ictx->ctx.ioctx; for (entry=meta->entries,units=ictx->units; entry->fopt || entry->arg; entry++) diff --git a/src/internal/perk_driver_impl.h b/src/internal/perk_driver_impl.h index f35e82f..3c0d15d 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_server_ctx srvctx; struct pe_io_ctx ioctx; struct pe_common_ctx cctx; struct pe_driver_ctx ctx; -- cgit v1.2.3