mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
add static to GetTagName to reduce Macintosh compiler warnings
This commit is contained in:
parent
ec5b768afd
commit
ec3473f9d5
@ -111,6 +111,7 @@ static RTFEntry gRTFTable[] = {
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
static
|
||||
const char* GetTagName(eRTFTags aTag) {
|
||||
PRInt32 cnt=sizeof(gRTFTable)/sizeof(RTFEntry);
|
||||
PRInt32 low=0;
|
||||
|
@ -111,6 +111,7 @@ static RTFEntry gRTFTable[] = {
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
static
|
||||
const char* GetTagName(eRTFTags aTag) {
|
||||
PRInt32 cnt=sizeof(gRTFTable)/sizeof(RTFEntry);
|
||||
PRInt32 low=0;
|
||||
|
Loading…
Reference in New Issue
Block a user