chiark / gitweb /
journal: replace contexts hashmap with a plain array
[elogind.git] / src / journal / mmap-cache.h
index 543a2bf2d05757965af7b4a1fb4813f68ede067e..fe2c83d751e709c68e078508f6e1eec69f7b7187 100644 (file)
@@ -25,6 +25,8 @@
 #include <stdbool.h>
 #include <sys/stat.h>
 
+#define MMAP_CACHE_MAX_CONTEXTS 8
+
 typedef struct MMapCache MMapCache;
 
 MMapCache* mmap_cache_new(void);