forked from aniani/vim
patch 9.0.0003: functions are global while they could be local
Problem: Functions are global while they could be local. Solution: Add "static". Add a few tests. (Yegappan Lakshmanan, closes #10612)
This commit is contained in:
committed by
Bram Moolenaar
parent
c207fd2535
commit
ee47eaceaa
@@ -566,7 +566,7 @@ static int color_numbers_8[28] = {0, 4, 2, 6,
|
||||
* "boldp" will be set to TRUE or FALSE for a foreground color when using 8
|
||||
* colors, otherwise it will be unchanged.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
lookup_color(int idx, int foreground, int *boldp)
|
||||
{
|
||||
int color = color_numbers_16[idx];
|
||||
|
Reference in New Issue
Block a user