History

scripts/kallsyms: rename build_initial_tok_table()

Except for the function build_initial_tok_table(), no token abbreviation is used elsewhere. $ cat scripts/kallsyms.c | grep tok | wc -l 33 $ cat scripts/kallsyms.c | grep token | wc -l 31 Here, it would be clearer to use the full name.

Zhen Lei committed 4 years ago

Commit fcdf7191 parent 45af1d71 file · +2 −2Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/kallsyms.c+2−2
@@ -573,7 +573,7 @@ static void forget_symbol(const unsigned char *symbol, int len) · 572 unmodified lines
573573 }
574574
575575 /* do the initial token count */
576−static void build_initial_tok_table(void)
576+static void build_initial_token_table(void)
577577 {
578578 unsigned int i;
579579
@@ -698,7 +698,7 @@ static void insert_real_symbols_in_table(void) · 118 unmodified lines
698698
699699 static void optimize_token_table(void)
700700 {
701− build_initial_tok_table();
701+ build_initial_token_table();
702702
703703 insert_real_symbols_in_table();
704704

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t