diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2014-10-03 01:41:42 -0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2014-10-03 01:43:15 -0300 |
commit | c2e4286bb98c6bec77575ac0c6f862e7ddf6394f (patch) | |
tree | 17ccffbb9bed156e4c75de36adae521cf9ffed35 /libkmod/libkmod-module.c | |
parent | 0db718edcfca1bdaf1369d3cf3773b52fcea1406 (diff) | |
download | kmod-c2e4286bb98c6bec77575ac0c6f862e7ddf6394f.tar.gz kmod-c2e4286bb98c6bec77575ac0c6f862e7ddf6394f.tar.bz2 kmod-c2e4286bb98c6bec77575ac0c6f862e7ddf6394f.zip |
Reorder and reorganize header files
Let the includes in the following order:
< system headers >
< libkmod >
< tool >
< local headers >
Diffstat (limited to 'libkmod/libkmod-module.c')
-rw-r--r-- | libkmod/libkmod-module.c | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/libkmod/libkmod-module.c b/libkmod/libkmod-module.c index b22f400..ac6b71a 100644 --- a/libkmod/libkmod-module.c +++ b/libkmod/libkmod-module.c @@ -19,24 +19,23 @@ */ #include <assert.h> -#include <stdio.h> -#include <stdlib.h> -#include <stddef.h> -#include <stdarg.h> -#include <unistd.h> -#include <errno.h> -#include <string.h> #include <ctype.h> +#include <dirent.h> +#include <errno.h> +#include <fnmatch.h> #include <inttypes.h> #include <limits.h> -#include <dirent.h> -#include <sys/stat.h> -#include <sys/types.h> +#include <stdarg.h> +#include <stddef.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> #include <sys/mman.h> +#include <sys/stat.h> #include <sys/syscall.h> +#include <sys/types.h> #include <sys/wait.h> -#include <fnmatch.h> - #ifdef HAVE_LINUX_MODULE_H #include <linux/module.h> #endif |