]> wimlib.net Git - wimlib/blobdiff - src/hardlink.c
Make lookup table use hlist
[wimlib] / src / hardlink.c
index 20faa555c9ea21c5a1c0e17b7dd2fea3e2efd9dc..ba4f2e165ce45d0b87a56572b638818fe6a72203 100644 (file)
@@ -1,3 +1,22 @@
+/*
+ * Copyright (C) 2012 Eric Biggers
+ *
+ * This file is part of wimlib, a library for working with WIM files.
+ *
+ * wimlib is free software; you can redistribute it and/or modify it under the
+ * terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 2.1 of the License, or (at your option)
+ * any later version.
+ *
+ * wimlib is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with wimlib; if not, see http://www.gnu.org/licenses/.
+ */
+
 #include "wimlib_internal.h"
 #include "dentry.h"
 #include "list.h"
@@ -59,8 +78,9 @@ err:
  * we keep a linked list of the single dentries, and assign them hard link group
  * IDs later.
  */
-int link_group_table_insert(struct dentry *dentry, struct link_group_table *table)
+int link_group_table_insert(struct dentry *dentry, void *__table)
 {
+       struct link_group_table *table = __table;
        size_t pos;
        struct link_group *group;