@@ -1701,24 +1701,24 @@ extern size_t countEntryInCorkQueue (void)
17011701 return ptrArrayCount (TagFile .corkQueue );
17021702}
17031703
1704- extern void markTagPlaceholder (tagEntryInfo * e , bool placeholder )
1704+ extern void markTagAsPlaceholder (tagEntryInfo * e , bool placeholder )
17051705{
17061706 e -> placeholder = placeholder ;
17071707}
17081708
1709- extern void markCorkEntryPlaceholder (int index , bool placeholder )
1709+ extern void markCorkEntryAsPlaceholder (int index , bool placeholder )
17101710{
17111711 tagEntryInfo * e = getEntryInCorkQueue (index );
17121712 if (e )
1713- markTagPlaceholder (e , placeholder );
1713+ markTagAsPlaceholder (e , placeholder );
17141714}
17151715
17161716extern int makePlaceholder (const char * const name )
17171717{
17181718 tagEntryInfo e ;
17191719
17201720 initTagEntry (& e , name , KIND_GHOST_INDEX );
1721- markTagPlaceholder (& e , true);
1721+ markTagAsPlaceholder (& e , true);
17221722
17231723 /*
17241724 * makePlaceholder may be called even before reading any bytes
@@ -2121,7 +2121,7 @@ extern const char* getTagFileDirectory (void)
21212121 return TagFile .directory ;
21222122}
21232123
2124- static bool markAsPlaceholder (int index , tagEntryInfo * e , void * data CTAGS_ATTR_UNUSED )
2124+ static bool markAsPlaceholderRecursively (int index , tagEntryInfo * e , void * data CTAGS_ATTR_UNUSED )
21252125{
21262126 e -> placeholder = 1 ;
21272127 markAllEntriesInScopeAsPlaceholder (index );
@@ -2130,5 +2130,5 @@ static bool markAsPlaceholder (int index, tagEntryInfo *e, void *data CTAGS_ATT
21302130
21312131extern void markAllEntriesInScopeAsPlaceholder (int index )
21322132{
2133- foreachEntriesInScope (index , NULL , markAsPlaceholder , NULL );
2133+ foreachEntriesInScope (index , NULL , markAsPlaceholderRecursively , NULL );
21342134}
0 commit comments