}
static int
-process_global_set(struct archive_read *a, struct mtree *mtree,
+process_global_set(struct archive_read *a,
struct mtree_option **global, const char *line)
{
const char *next, *eq;
}
static int
-process_global_unset(struct archive_read *a, struct mtree *mtree,
+process_global_unset(struct archive_read *a,
struct mtree_option **global, const char *line)
{
const char *next;
size_t len;
- int r;
line += 6;
if ((next = strchr(line, '=')) != NULL) {
uintmax_t counter;
char *p;
struct mtree_option *global;
- struct mtree_entry *mentry;
struct mtree_entry *last_entry;
int r;
} else if (strncmp(p, "/set", 4) == 0) {
if (p[4] != ' ' && p[4] != '\t')
break;
- r = process_global_set(a, mtree, &global, p);
+ r = process_global_set(a, &global, p);
} else if (strncmp(p, "/unset", 6) == 0) {
if (p[6] != ' ' && p[6] != '\t')
break;
- r = process_global_unset(a, mtree, &global, p);
+ r = process_global_unset(a, &global, p);
} else
break;