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

[event] const in trigger_event_name

This commit is contained in:
Witold Filipczyk 2022-01-30 15:33:05 +01:00
parent 64cc15766d
commit 0d2cbb8847
2 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ trigger_event(int id, ...)
}
void
trigger_event_name(char *name, ...)
trigger_event_name(const char *name, ...)
{
va_list ap;
int id = get_event_id(name);

View File

@ -115,7 +115,7 @@ char *get_event_name(int id);
void trigger_event(int id, ...);
void trigger_event_name(char *name, ...);
void trigger_event_name(const char *name, ...);
/*** The very events subsystem itself */