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

[lua] do_hooks_file const

This commit is contained in:
Witold Filipczyk 2022-01-30 15:55:54 +01:00
parent 04c1660f97
commit b5c4addbbe

View File

@ -689,7 +689,7 @@ eval_function(LS, int num_args, int num_results)
/* Initialisation */ /* Initialisation */
static void static void
do_hooks_file(LS, char *prefix, char *filename) do_hooks_file(LS, const char *prefix, const char *filename)
{ {
char *file = straconcat(prefix, STRING_DIR_SEP, filename, char *file = straconcat(prefix, STRING_DIR_SEP, filename,
(char *) NULL); (char *) NULL);