treewide: mark fopencookie() vtable const

`fopencookie()` takes the vtable by value, so it can be marked `const`, so do that.
This commit is contained in:
Barnabás Pőcze 2026-05-06 21:44:39 +02:00 committed by Wim Taymans
parent 8caea521d7
commit ff7b996596
2 changed files with 2 additions and 2 deletions

View file

@ -1252,7 +1252,7 @@ static ssize_t log_write(void *cookie, const char *buf, size_t size)
return size;
}
static cookie_io_functions_t io_funcs = {
static const cookie_io_functions_t io_funcs = {
.write = log_write,
};