diff options
author | Yury Usishchev <y.usishchev@samsung.com> | 2016-02-17 13:30:59 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2016-03-02 17:19:52 +0100 |
commit | dec206f832b84fefbf61e61f2174d81fd3c61ea6 (patch) | |
tree | e644e7658673e97bd29d07cc8d30526bbef81d6b /tools | |
parent | 37a27b6fd09ecb37097b85e5db74e4f77b80fe0a (diff) | |
download | attr-dec206f832b84fefbf61e61f2174d81fd3c61ea6.tar.gz |
Cleanup config.h usage
Add config.h include to every source file before all other includes.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/getfattr.c | 3 | ||||
-rw-r--r-- | tools/setfattr.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/getfattr.c b/tools/getfattr.c index cc55d5f..72a8852 100644 --- a/tools/getfattr.c +++ b/tools/getfattr.c @@ -19,6 +19,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include "config.h" + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -30,7 +32,6 @@ #include <libgen.h> #include <sys/xattr.h> -#include "config.h" #include "walk_tree.h" #include "misc.h" diff --git a/tools/setfattr.c b/tools/setfattr.c index 9556c6c..6f79d8f 100644 --- a/tools/setfattr.c +++ b/tools/setfattr.c @@ -19,6 +19,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include "config.h" + #include <limits.h> #include <stdio.h> #include <stdlib.h> @@ -30,7 +32,6 @@ #include <sys/xattr.h> #include <sys/errno.h> -#include "config.h" #include "misc.h" #define CMD_LINE_OPTIONS "n:x:v:h" |