mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
In init_smjs, mark global_class static.
This commit is contained in:
parent
5aaf1101e1
commit
bb4f08172b
@ -97,7 +97,7 @@ smjs_load_hooks(void)
|
|||||||
void
|
void
|
||||||
init_smjs(struct module *module)
|
init_smjs(struct module *module)
|
||||||
{
|
{
|
||||||
const JSClass global_class = {
|
static const JSClass global_class = {
|
||||||
"global", 0,
|
"global", 0,
|
||||||
JS_PropertyStub, JS_PropertyStub,
|
JS_PropertyStub, JS_PropertyStub,
|
||||||
JS_PropertyStub, JS_PropertyStub,
|
JS_PropertyStub, JS_PropertyStub,
|
||||||
|
Loading…
Reference in New Issue
Block a user