summaryrefslogtreecommitdiffhomepage
path: root/src/driver
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 /src/driver
parenteb4c04e1978f8f217e24d46a3baeecf54ac23096 (diff)
downloadperk-a9788eed709a6060b7e99b99832197a3c2e93496.tar.bz2
perk-a9788eed709a6060b7e99b99832197a3c2e93496.tar.xz
pe_get_unit_ctx: fix function signature (const driver context).
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/pe_unit_ctx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/driver/pe_unit_ctx.c b/src/driver/pe_unit_ctx.c
index 77b74bc..e542681 100644
--- a/src/driver/pe_unit_ctx.c
+++ b/src/driver/pe_unit_ctx.c
@@ -19,9 +19,9 @@ static int pe_free_unit_ctx_impl(struct pe_unit_ctx_impl * ctx, int status)
}
int pe_get_unit_ctx(
- struct pe_driver_ctx * dctx,
- const char * path,
- struct pe_unit_ctx ** pctx)
+ const struct pe_driver_ctx * dctx,
+ const char * path,
+ struct pe_unit_ctx ** pctx)
{
struct pe_unit_ctx_impl * ctx;
int prot;