diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2014-10-28 01:58:11 -0200 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2014-10-28 01:58:11 -0200 |
commit | accbb7843fd4e3fc7859f3dddc177541e113576f (patch) | |
tree | 84e96bda26264f685005826fa7789b1a8211a06c /libkmod/libkmod-index.c | |
parent | 2024f6b9c0f38ffb2c927725745cbf6987652453 (diff) | |
download | kmod-move-stuff.tar.gz |
libkmod-index: move comment to include the includesmove-stuff
Diffstat (limited to 'libkmod/libkmod-index.c')
-rw-r--r-- | libkmod/libkmod-index.c | 10 |
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; |