]> git.ipfire.org Git - thirdparty/git.git/commit
index-pack: rename struct thread_local
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 17 Nov 2024 01:31:48 +0000 (01:31 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Nov 2024 00:42:08 +0000 (09:42 +0900)
commite8b3bcf49120309b207b7afc25c4aa81b866ac45
treed068a6d860eaf6dcbf212b5ec2a02afce8f0c342
parent777489f9e09c8d0dd6b12f9d90de6376330577a2
index-pack: rename struct thread_local

"thread_local" is a keyword in C23.  To make sure that our code compiles
on a wide variety of C versions, rename struct thread_local to "struct
thread_local_data" to avoid a conflict.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/index-pack.c