]> wimlib.net Git - wimlib/commitdiff
struct args => struct split_args
authorEric Biggers <ebiggers3@gmail.com>
Sun, 28 Oct 2012 06:07:47 +0000 (01:07 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 28 Oct 2012 06:07:47 +0000 (01:07 -0500)
src/split.c

index 971306c3bed775596babb9ae627f3225915e8f54..f38c332ada5d25b1e882de6272195f18e820bf57 100644 (file)
@@ -28,7 +28,7 @@
 #include "xml.h"
 #include "io.h"
 
-struct args {
+struct split_args {
        WIMStruct *w;
        char *swm_base_name;
        size_t swm_base_name_len;
@@ -81,7 +81,7 @@ static int finish_swm(WIMStruct *w, struct lookup_table_entry *lte_chain_head,
 
 static int copy_resource_to_swm(struct lookup_table_entry *lte, void *__args)
 {
-       struct args *args = (struct args*)__args;
+       struct split_args *args = (struct split_args*)__args;
        WIMStruct *w = args->w;
        int ret;
 
@@ -203,7 +203,7 @@ WIMLIBAPI int wimlib_split(const char *wimfile, const char *swm_name,
        }
        w->write_metadata = false;
 
-       struct args args = {
+       struct split_args args = {
                .w                 = w,
                .swm_base_name     = name,
                .swm_base_name_len = swm_base_name_len,