1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

[smjs] const

This commit is contained in:
Witold Filipczyk 2022-06-20 16:27:30 +02:00
parent 1ee99c9aef
commit ee6d24b66d
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);