diff options
author | Yury Usishchev <y.usishchev@samsung.com> | 2016-02-15 18:17:32 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-02-15 12:42:47 -0500 |
commit | a444bb67e9a314a6e4e9b5c1e966b43aa02ec85a (patch) | |
tree | 38122aa82f23abdd548fa12ab2e69160e3b6eacd /include | |
parent | 876b9da17f37102985f9493ba75ecaaa34429a83 (diff) | |
download | acl-a444bb67e9a314a6e4e9b5c1e966b43aa02ec85a.tar.gz |
Rework config.h usage
Move #include "config.h" from misc.h to every source file. It's incorrect
to include it after a system header file because it does things like:
Those must come before you include any system header file in order for
them to work properly. It hasn't bitten us so far, but we still should
fix the files to do the right thing.
Diffstat (limited to 'include')
-rw-r--r-- | include/misc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/misc.h b/include/misc.h index 24b65d2..22ad915 100644 --- a/include/misc.h +++ b/include/misc.h @@ -18,8 +18,6 @@ #ifndef __MISC_H #define __MISC_H -#include "config.h" - #include <stdio.h> /* Mark library internal functions as hidden */ |