summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-04 21:23:24 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:30 -0500
commitc61328dfece5c7346aabd4bc0027a9eb8126dd08 (patch)
treee36332656585bc244567949ec8b08df94ed60a94 /include
parent88e83272a884b3acf62005a13d352781882f5cff (diff)
downloadperk-c61328dfece5c7346aabd4bc0027a9eb8126dd08.tar.bz2
perk-c61328dfece5c7346aabd4bc0027a9eb8126dd08.tar.xz
API redesign 4/10: pe_common_ctx: protect the common context structure against direct modification.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk.h2
1 files changed, 1 insertions, 1 deletions
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 {