jscntxt: js_GetErrorMessage: match header declaration

This commit is contained in:
roytam1 2018-05-19 21:48:00 +08:00
parent ba7f53c261
commit 67325a144e

View File

@ -1220,7 +1220,7 @@ JSErrorFormatString js_ErrorFormatString[JSErr_Limit] = {
#undef MSG_DEF
};
const JSErrorFormatString *
JS_PUBLIC_API(const JSErrorFormatString *)
js_GetErrorMessage(void *userRef, const char *locale, const uintN errorNumber)
{
if ((errorNumber > 0) && (errorNumber < JSErr_Limit))