From c2e4286bb98c6bec77575ac0c6f862e7ddf6394f Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Fri, 3 Oct 2014 01:41:42 -0300 Subject: Reorder and reorganize header files Let the includes in the following order: < system headers > < libkmod > < tool > < local headers > --- shared/array.c | 10 +++++----- shared/hash.c | 2 +- shared/util.c | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'shared') diff --git a/shared/array.c b/shared/array.c index b37e54e..865b3e8 100644 --- a/shared/array.c +++ b/shared/array.c @@ -18,14 +18,14 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include - -#include "libkmod.h" - #include +#include #include #include -#include + +#include + +#include /* basic pointer array growing in steps */ diff --git a/shared/hash.c b/shared/hash.c index d2f5a78..99057ef 100644 --- a/shared/hash.c +++ b/shared/hash.c @@ -18,10 +18,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include #include #include -#include #include #include diff --git a/shared/util.c b/shared/util.c index 2d44107..0113967 100644 --- a/shared/util.c +++ b/shared/util.c @@ -21,14 +21,14 @@ */ #include +#include +#include +#include +#include #include #include -#include -#include -#include -#include #include -#include +#include #include -- cgit v1.2.3