summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2014-10-28 01:58:11 -0200
committerLucas De Marchi <lucas.demarchi@intel.com>2014-10-28 01:58:11 -0200
commitaccbb7843fd4e3fc7859f3dddc177541e113576f (patch)
tree84e96bda26264f685005826fa7789b1a8211a06c
parent2024f6b9c0f38ffb2c927725745cbf6987652453 (diff)
downloadkmod-move-stuff.tar.gz
libkmod-index: move comment to include the includesmove-stuff
-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;