]> wimlib.net Git - wimlib/blobdiff - src/dentry.c
Windows native build
[wimlib] / src / dentry.c
index f5be3458d9c3dbf4fcf7764fd85fd71ab3e54cb4..15a44cee981c6e97ac64f0bc5ec057344f31fd0c 100644 (file)
@@ -801,8 +801,8 @@ int increment_dentry_refcnt(struct wim_dentry *dentry, void *ignore)
 /*
  * Links a dentry into the directory tree.
  *
- * @dentry: The dentry to link.
  * @parent: The dentry that will be the parent of @dentry.
+ * @dentry: The dentry to link.
  */
 bool dentry_add_child(struct wim_dentry * restrict parent,
                      struct wim_dentry * restrict child)
@@ -974,6 +974,7 @@ void inode_remove_ads(struct wim_inode *inode, u16 idx,
        inode->i_num_ads--;
 }
 
+#ifndef __WIN32__
 int inode_get_unix_data(const struct wim_inode *inode,
                        struct wimlib_unix_data *unix_data,
                        u16 *stream_idx_ret)
@@ -1043,6 +1044,7 @@ int inode_set_unix_data(struct wim_inode *inode,
                inode_remove_ads(inode, stream_idx, lookup_table);
        return ret;
 }
+#endif /* !__WIN32__ */
 
 /*
  * Reads the alternate data stream entries of a WIM dentry.