summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/apimagic/apimagic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/apimagic/apimagic.h b/include/apimagic/apimagic.h
index 1d51bd9..462c2f1 100644
--- a/include/apimagic/apimagic.h
+++ b/include/apimagic/apimagic.h
@@ -201,7 +201,7 @@ amgc_api void amgc_free_driver_ctx (struct amgc_driver_ctx *);
amgc_api int amgc_get_unit_ctx (const struct amgc_driver_ctx *, const char * path, struct amgc_unit_ctx **);
amgc_api void amgc_free_unit_ctx (struct amgc_unit_ctx *);
-amgc_api int amgc_map_input (int fd, const char * path, int prot, struct amgc_input *);
+amgc_api int amgc_map_input (const struct amgc_driver_ctx *, int fd, const char * path, int prot, struct amgc_input *);
amgc_api int amgc_unmap_input (struct amgc_input *);
/* driver helper api */