]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
libkmod-index: move comment to include the includes
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 28 Oct 2014 03:58:11 +0000 (01:58 -0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 15 Nov 2014 13:18:54 +0000 (11:18 -0200)
libkmod/libkmod-index.c

index cc9a417e66eb061738dc341b381f3c9434ace5e9..54643c040a4590af8fdd92ace277989fdda3db2b 100644 (file)
@@ -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;