mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -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
|
||||
init_smjs(struct module *module)
|
||||
{
|
||||
const JSClass global_class = {
|
||||
static const JSClass global_class = {
|
||||
"global", 0,
|
||||
JS_PropertyStub, JS_PropertyStub,
|
||||
JS_PropertyStub, JS_PropertyStub,
|
||||
|
Loading…
Reference in New Issue
Block a user