X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fmetadata_resource.c;h=54ea91532e6bcc5336f1ccac404d63f5435ca2bc;hb=5f3757249c17cb9e2826f645e0f8618534c80fcc;hp=7c97b3dfe179daa6b0d9b09a422a00afe444b722;hpb=3071e89c11d1be71cf45b694432e5908e0c4ded9;p=wimlib diff --git a/src/metadata_resource.c b/src/metadata_resource.c index 7c97b3df..54ea9153 100644 --- a/src/metadata_resource.c +++ b/src/metadata_resource.c @@ -23,6 +23,7 @@ # include "config.h" #endif +#include "wimlib/assert.h" #include "wimlib/dentry.h" #include "wimlib/error.h" #include "wimlib/lookup_table.h" @@ -34,9 +35,6 @@ /* * Reads and parses a metadata resource for an image in the WIM file. * - * @wim: - * Pointer to the WIMStruct for the WIM file. - * * @imd: * Pointer to the image metadata structure for the image whose metadata * resource we are reading. Its `metadata_lte' member specifies the lookup @@ -52,7 +50,7 @@ * WIMLIB_ERR_DECOMPRESSION */ int -read_metadata_resource(WIMStruct *wim, struct wim_image_metadata *imd) +read_metadata_resource(struct wim_image_metadata *imd) { const struct wim_lookup_table_entry *metadata_lte; void *buf;