summaryrefslogtreecommitdiff
path: root/src/journal/mmap-cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal/mmap-cache.h')
-rw-r--r--src/journal/mmap-cache.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/journal/mmap-cache.h b/src/journal/mmap-cache.h
index 43dc67f080..5b5e493cf2 100644
--- a/src/journal/mmap-cache.h
+++ b/src/journal/mmap-cache.h
@@ -17,7 +17,6 @@ MMapCache* mmap_cache_unref(MMapCache *m);
int mmap_cache_get(
MMapCache *m,
MMapFileDescriptor *f,
- int prot,
unsigned context,
bool keep_always,
uint64_t offset,
@@ -25,7 +24,7 @@ int mmap_cache_get(
struct stat *st,
void **ret,
size_t *ret_size);
-MMapFileDescriptor * mmap_cache_add_fd(MMapCache *m, int fd);
+MMapFileDescriptor * mmap_cache_add_fd(MMapCache *m, int fd, int prot);
void mmap_cache_free_fd(MMapCache *m, MMapFileDescriptor *f);
void mmap_cache_stats_log_debug(MMapCache *m);