0
0
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:
Miciah Dashiel Butler Masters
2005-12-20 22:09:56 +00:00
committed by Miciah Dashiel Butler Masters
parent 5aaf1101e1
commit bb4f08172b

View File

@@ -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,