X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fresource.c;h=4b91be6b010104fc2c26cf65f5a16b77606f357a;hp=8e1fd2415693d6d2da8cb9351fbc8215359f4320;hb=ef8f175fc63c907e7f65498c2979f0da153a20d9;hpb=4f953b223bed60d71a7689d414ccb5cc60be537f diff --git a/src/resource.c b/src/resource.c index 8e1fd241..4b91be6b 100644 --- a/src/resource.c +++ b/src/resource.c @@ -48,7 +48,7 @@ * Returns zero on success, nonzero on failure. */ static int -read_compressed_resource(filedes_t in_fd, +read_compressed_resource(int in_fd, u64 resource_compressed_size, u64 resource_uncompressed_size, u64 resource_offset, @@ -397,7 +397,7 @@ read_partial_wim_resource(const struct wim_lookup_table_entry *lte, u64 offset) { WIMStruct *wim; - filedes_t in_fd; + int in_fd; int ret; wimlib_assert(lte->resource_location == RESOURCE_IN_WIM); @@ -563,8 +563,6 @@ typedef int (*read_resource_prefix_handler_t)(const struct wim_lookup_table_entr * size until the resource is exhausted. * * If the resource is located in a WIM file, @flags can be: - * * WIMLIB_RESOURCE_FLAG_THREADSAFE_READ if it must be safe to access the resource - * concurrently by multiple threads. * * WIMLIB_RESOURCE_FLAG_RAW if the raw compressed data is to be supplied * instead of the uncompressed data. * Otherwise, the @flags are ignored.