X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fadd_image.c;h=cd270390c3f7185a8b6f10e0dca9eecf633072ef;hb=bc38f3735bf6eaa2b856b1e05710b34bcfbbf787;hp=a544c7b8d6ca032449b1ab24b2b85d17ebbc05ef;hpb=628a82db5632db50d44320af2ed9662f47bd5d28;p=wimlib diff --git a/src/add_image.c b/src/add_image.c index a544c7b8..cd270390 100644 --- a/src/add_image.c +++ b/src/add_image.c @@ -157,8 +157,7 @@ wimlib_add_image_multisource(WIMStruct *wim, size_t num_sources, const tchar *name, const tchar *config_file, - int add_flags, - wimlib_progress_func_t progress_func) + int add_flags) { int ret; struct wimlib_update_command *add_cmds; @@ -182,7 +181,7 @@ wimlib_add_image_multisource(WIMStruct *wim, /* Delegate the work to wimlib_update_image(). */ ret = wimlib_update_image(wim, wim->hdr.image_count, add_cmds, - num_sources, 0, progress_func); + num_sources, 0); FREE(add_cmds); if (ret) goto out_delete_image; @@ -215,8 +214,7 @@ wimlib_add_image(WIMStruct *wim, const tchar *source, const tchar *name, const tchar *config_file, - int add_flags, - wimlib_progress_func_t progress_func) + int add_flags) { /* Use the more general wimlib_add_image_multisource(). */ const struct wimlib_capture_source capture_src = { @@ -225,6 +223,5 @@ wimlib_add_image(WIMStruct *wim, .reserved = 0, }; return wimlib_add_image_multisource(wim, &capture_src, 1, name, - config_file, add_flags, - progress_func); + config_file, add_flags); }