(Not part of Communicator build)

Fix warning for unspecified prototype.
This commit is contained in:
norris 1998-06-23 23:28:36 +00:00
parent aca4c96fbe
commit 45b1f46a82
2 changed files with 2 additions and 2 deletions

View File

@ -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";
}

View File

@ -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);