summaryrefslogtreecommitdiff
path: root/libkmod
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-11-15 11:18:54 -0200
commitbb72153d34bbed04bd37c235421b9f067e812c76 (patch)
treec350f2b24e94d9a22d09f13060657b16b5ee2b77 /libkmod
parenta5852e3b36bad7779f2a91994b3ac004b867c53a (diff)
downloadkmod-bb72153d34bbed04bd37c235421b9f067e812c76.tar.gz
kmod-bb72153d34bbed04bd37c235421b9f067e812c76.tar.bz2
kmod-bb72153d34bbed04bd37c235421b9f067e812c76.zip
libkmod-index: move comment to include the includes
Diffstat (limited to 'libkmod')
-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;