summaryrefslogtreecommitdiff
path: root/libkmod/libkmod-index.c
diff options
context:
space:
mode:
Diffstat (limited to 'libkmod/libkmod-index.c')
-rw-r--r--libkmod/libkmod-index.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libkmod/libkmod-index.c b/libkmod/libkmod-index.c
index cc9a417..54643c0 100644
--- a/libkmod/libkmod-index.c
+++ b/libkmod/libkmod-index.c
@@ -599,17 +599,17 @@ struct index_value *index_searchwild(struct index_file *in, const char *key)
return out;
}
+/**************************************************************************/
+/*
+ * Alternative implementation, using mmap to map all the file to memory when
+ * starting
+ */
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>
static const char _idx_empty_str[] = "";
-/**************************************************************************/
-/*
- * Alternative implementation, using mmap to map all the file to memory when
- * starting
- */
struct index_mm {
struct kmod_ctx *ctx;
void *mm;