#include "wimlib_internal.h"
#include "lookup_table.h"
#include "xml.h"
-#include "io.h"
+#include "buffer_io.h"
struct split_args {
WIMStruct *w;
size_t swm_base_name_len;
const char *swm_suffix;
struct list_head lte_list;
- int cur_part_number;
- int write_flags;
- long size_remaining;
+ int cur_part_number;
+ int write_flags;
+ long size_remaining;
size_t part_size;
wimlib_progress_func_t progress_func;
union wimlib_progress_info progress;
size_t swm_name_len;
size_t swm_base_name_len;
- if (!w || !swm_name || part_size == 0)
+ if (!swm_name || part_size == 0)
return WIMLIB_ERR_INVALID_PARAM;
if (w->hdr.total_parts != 1)