summaryrefslogtreecommitdiffhomepage
path: root/include/perk/perk.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-11 10:11:17 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:32 -0500
commita9788eed709a6060b7e99b99832197a3c2e93496 (patch)
tree21b38fb32ddc9472ccb895f57dc45eddcb23c55f /include/perk/perk.h
parenteb4c04e1978f8f217e24d46a3baeecf54ac23096 (diff)
downloadperk-a9788eed709a6060b7e99b99832197a3c2e93496.tar.bz2
perk-a9788eed709a6060b7e99b99832197a3c2e93496.tar.xz
pe_get_unit_ctx: fix function signature (const driver context).
Diffstat (limited to 'include/perk/perk.h')
-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 9e4b035..451b37e 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -153,7 +153,7 @@ struct pe_unit_ctx {
perk_api int pe_get_driver_ctx (const char ** argv, const char ** envp, uint32_t flags, struct pe_driver_ctx **);
perk_api void pe_free_driver_ctx (struct pe_driver_ctx *);
-perk_api int pe_get_unit_ctx (struct pe_driver_ctx *, const char * path, struct pe_unit_ctx **);
+perk_api int pe_get_unit_ctx (const struct pe_driver_ctx *, const char * path, struct pe_unit_ctx **);
perk_api void pe_free_unit_ctx (struct pe_unit_ctx *);
/* utility api */