Skip to content

Commit

Permalink
jscntxt: js_GetErrorMessage: match header declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
roytam1 committed May 19, 2018
1 parent ba7f53c commit 67325a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/jscntxt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 67325a1

Please sign in to comment.