mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
[smjs] const
This commit is contained in:
parent
1ee99c9aef
commit
ee6d24b66d
@ -33,7 +33,7 @@ JSObject *smjs_elinks_object;
|
||||
struct session *smjs_ses;
|
||||
|
||||
void
|
||||
alert_smjs_error(char *msg)
|
||||
alert_smjs_error(const char *msg)
|
||||
{
|
||||
report_scripting_error(&smjs_scripting_module,
|
||||
smjs_ses, msg);
|
||||
|
@ -10,7 +10,7 @@ struct string;
|
||||
extern JSContext *smjs_ctx;
|
||||
extern struct session *smjs_ses;
|
||||
|
||||
void alert_smjs_error(char *msg);
|
||||
void alert_smjs_error(const char *msg);
|
||||
|
||||
void init_smjs(struct module *module);
|
||||
void cleanup_smjs(struct module *module);
|
||||
|
Loading…
Reference in New Issue
Block a user