diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-12-12 08:42:52 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-12-12 08:42:52 -0500 |
commit | df070173af75b83fcbc49afed244947e3326c373 (patch) | |
tree | f20160a792550dd1f03f642b071ffc7774080077 /src/stat_cache.h | |
parent | 8fe93aa56b4a066df43c64c55b90c11d49969f90 (diff) | |
download | lighttpd-git-df070173af75b83fcbc49afed244947e3326c373.tar.gz |
[core] add more const to stat_cache_update_entry()
Diffstat (limited to 'src/stat_cache.h')
-rw-r--r-- | src/stat_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat_cache.h b/src/stat_cache.h index 0a3612e6..18c76b9e 100644 --- a/src/stat_cache.h +++ b/src/stat_cache.h @@ -52,7 +52,7 @@ const buffer * stat_cache_content_type_get_by_ext(stat_cache_entry *sce, const a #define stat_cache_content_type_get(con, r) stat_cache_content_type_get_by_ext((sce), (r)->conf.mimetypes) #endif const buffer * stat_cache_etag_get(stat_cache_entry *sce, int flags); -void stat_cache_update_entry(const char *name, uint32_t len, struct stat *st, buffer *etagb); +void stat_cache_update_entry(const char *name, uint32_t len, const struct stat *st, const buffer *etagb); void stat_cache_delete_entry(const char *name, uint32_t len); void stat_cache_delete_dir(const char *name, uint32_t len); void stat_cache_invalidate_entry(const char *name, uint32_t len); |