mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
(Not part of Communicator build)
Fix warning for unspecified prototype.
This commit is contained in:
parent
aca4c96fbe
commit
45b1f46a82
@ -594,7 +594,7 @@ JS_SetVersion(JSContext *cx, JSVersion version)
|
||||
}
|
||||
|
||||
JS_PUBLIC_API(const char *)
|
||||
JS_GetImplementationVersion()
|
||||
JS_GetImplementationVersion(void)
|
||||
{
|
||||
return "JavaScript-C 1.3 1998 06 30";
|
||||
}
|
||||
|
@ -288,7 +288,7 @@ extern JS_PUBLIC_API(JSVersion)
|
||||
JS_SetVersion(JSContext *cx, JSVersion version);
|
||||
|
||||
extern JS_PUBLIC_API(const char *)
|
||||
JS_GetImplementationVersion();
|
||||
JS_GetImplementationVersion(void);
|
||||
|
||||
extern JS_PUBLIC_API(JSObject *)
|
||||
JS_GetGlobalObject(JSContext *cx);
|
||||
|
Loading…
Reference in New Issue
Block a user