aboutsummaryrefslogtreecommitdiff
path: root/tools/process_headers.zig
diff options
context:
space:
mode:
Diffstat (limited to 'tools/process_headers.zig')
-rw-r--r--tools/process_headers.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/process_headers.zig b/tools/process_headers.zig
index b5bce2ef7f..0655c118dc 100644
--- a/tools/process_headers.zig
+++ b/tools/process_headers.zig
@@ -325,7 +325,7 @@ pub fn main() !void {
},
.os = .linux,
};
- search: for (search_paths.span()) |search_path| {
+ search: for (search_paths.items) |search_path| {
var sub_path: []const []const u8 = undefined;
switch (vendor) {
.musl => {
@@ -416,7 +416,7 @@ pub fn main() !void {
try contents_list.append(contents);
}
}
- std.sort.sort(*Contents, contents_list.span(), {}, Contents.hitCountLessThan);
+ std.sort.sort(*Contents, contents_list.items, {}, Contents.hitCountLessThan);
const best_contents = contents_list.popOrNull().?;
if (best_contents.hit_count > 1) {
// worth it to make it generic