From c61328dfece5c7346aabd4bc0027a9eb8126dd08 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 4 Dec 2015 21:23:24 -0500 Subject: API redesign 4/10: pe_common_ctx: protect the common context structure against direct modification. --- include/perk/perk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/perk/perk.h') diff --git a/include/perk/perk.h b/include/perk/perk.h index e2001e1..f19e596 100644 --- a/include/perk/perk.h +++ b/include/perk/perk.h @@ -131,7 +131,7 @@ struct pe_driver_ctx { const char ** units; const char * program; const char * module; - struct pe_common_ctx cctx; + const struct pe_common_ctx * cctx; }; struct pe_unit_ctx { -- cgit v1.2.3