aboutsummaryrefslogtreecommitdiff
path: root/lib/sqfs/xattr/xattr_writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqfs/xattr/xattr_writer.h')
-rw-r--r--lib/sqfs/xattr/xattr_writer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/sqfs/xattr/xattr_writer.h b/lib/sqfs/xattr/xattr_writer.h
index 8ff9691..ff8479a 100644
--- a/lib/sqfs/xattr/xattr_writer.h
+++ b/lib/sqfs/xattr/xattr_writer.h
@@ -20,6 +20,7 @@
#include "str_table.h"
#include "rbtree.h"
+#include "array.h"
#include "util.h"
#include <stdlib.h>
@@ -51,9 +52,7 @@ struct sqfs_xattr_writer_t {
str_table_t keys;
str_table_t values;
- sqfs_u64 *kv_pairs;
- size_t max_pairs;
- size_t num_pairs;
+ array_t kv_pairs;
size_t kv_start;