Skip to content

Commit

Permalink
[compiler-rt][builtins] Add a missing 'const' to the Apple __init_cpu…
Browse files Browse the repository at this point in the history
…_features_resolver
  • Loading branch information
jroelofs committed Jan 12, 2024
1 parent c8ef88c commit 45ccc3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/lib/builtins/cpu_model/aarch64/fmv/apple.inc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void __init_cpu_features_resolver(void) {
static dispatch_once_t onceToken = 0;
dispatch_once(&onceToken, ^{
// https://developer.apple.com/documentation/kernel/1387446-sysctlbyname/determining_instruction_set_characteristics
static struct {
static const struct {
const char *sysctl_name;
enum CPUFeatures feature;
} features[] = {
Expand Down

0 comments on commit 45ccc3b

Please sign in to comment.