C23 compatibility updates.
* bc/c23:
reflog: rename unreachable
index-pack: rename struct thread_local
static int input_fd, output_fd;
static const char *curr_pack;
- static struct thread_local *thread_data;
+/*
+ * local_links is guarded by read_mutex, and record_local_links is read-only in
+ * a thread.
+ */
+static struct oidset local_links = OIDSET_INIT;
+static int record_local_links;
+
+ static struct thread_local_data *thread_data;
static int nr_dispatched;
static int threads_active;