clean code

This commit is contained in:
2024-01-10 14:50:53 +07:00
parent a8ffae5202
commit 9a8ab15d88
4 changed files with 41 additions and 25 deletions

View File

@ -308,7 +308,7 @@ func bcell2header(bfile string, header string) {
fmt.Fprintf(w, "};\n")
fmt.Fprintf(w, "__attribute__((section(\"__DATA,bshield\")))\n")
fmt.Fprintf(w, "char* special_selectors_name[] = {\n")
fmt.Fprintf(w, "const char* special_selectors_name[] = {\n")
for _, selector := range info.GetSpecialSelectors() {
fmt.Fprintf(w, "\"%s\",\n", selector.Name)
}