diff options
author | midipix <writeonce@midipix.org> | 2016-10-26 20:59:01 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-10-26 22:10:27 -0400 |
commit | bb5e477926b1aa1732c862b34e3b515406b18bc5 (patch) | |
tree | fe4a42d5701f3409478ee9a111da50dcc98fce7d /include | |
parent | bbcd7d3ba187f5b2f4ecec766436d36514a34ce4 (diff) | |
download | apimagic-bb5e477926b1aa1732c862b34e3b515406b18bc5.tar.bz2 apimagic-bb5e477926b1aa1732c862b34e3b515406b18bc5.tar.xz |
amgc_map_input(): added error trace support.
Diffstat (limited to 'include')
-rw-r--r-- | include/apimagic/apimagic.h | 2 |
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 */ |