mirror of
https://github.com/rkd77/elinks.git
synced 2025-09-21 19:46:23 -04:00
In init_smjs, mark global_class static.
This commit is contained in:
committed by
Miciah Dashiel Butler Masters
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,
|
||||||
|
Reference in New Issue
Block a user