diff options
author | midipix <writeonce@midipix.org> | 2024-02-19 02:47:06 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-19 02:59:31 +0000 |
commit | 932ec07826884a89addd9d0f3b436748dba65881 (patch) | |
tree | c896d5e3f78eca4c9485664a2b574d3f08ecd09e /src/util/slbt_map_input.c | |
parent | f0270acfad9d499f6a701d1df1cb08f09412eb93 (diff) | |
download | slibtool-932ec07826884a89addd9d0f3b436748dba65881.tar.bz2 slibtool-932ec07826884a89addd9d0f3b436748dba65881.tar.xz |
library api's: _fs_ (file system and raw input interfaces) namespace overhaul.
Diffstat (limited to 'src/util/slbt_map_input.c')
-rw-r--r-- | src/util/slbt_map_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/slbt_map_input.c b/src/util/slbt_map_input.c index ca0b06b..0a7b6d3 100644 --- a/src/util/slbt_map_input.c +++ b/src/util/slbt_map_input.c @@ -16,7 +16,7 @@ #include "slibtool_driver_impl.h" #include "slibtool_errinfo_impl.h" -int slbt_map_input( +int slbt_fs_map_input( const struct slbt_driver_ctx * dctx, int fd, const char * path, @@ -61,7 +61,7 @@ int slbt_map_input( : 0; } -int slbt_unmap_input(struct slbt_input * map) +int slbt_fs_unmap_input(struct slbt_input * map) { return map->size ? munmap(map->addr,map->size) : 0; } |