Use static linkage for various local names
This commit is contained in:
@@ -539,7 +539,8 @@ struct wxHtmlEntityInfo
|
||||
unsigned code;
|
||||
};
|
||||
|
||||
extern "C" int LINKAGEMODE wxHtmlEntityCompare(const void *key, const void *item)
|
||||
extern "C" {
|
||||
static int LINKAGEMODE wxHtmlEntityCompare(const void *key, const void *item)
|
||||
{
|
||||
#if wxUSE_UNICODE_UTF8
|
||||
return strcmp((char*)key, ((wxHtmlEntityInfo*)item)->name);
|
||||
@@ -547,6 +548,7 @@ extern "C" int LINKAGEMODE wxHtmlEntityCompare(const void *key, const void *item
|
||||
return wxStrcmp((wxChar*)key, ((wxHtmlEntityInfo*)item)->name);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
wxChar wxHtmlEntitiesParser::GetEntityChar(const wxString& entity) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user