diff options
author | Alex Deymo <deymo@chromium.org> | 2014-08-25 16:34:52 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-08-26 03:05:42 +0000 |
commit | f510973497a430c1bb41d9b7e996d02fb7f7179e (patch) | |
tree | ec38ec802e2924d38d2893268c69f3f2b9cca712 | |
parent | fcefaedf6281308a9be852ff7698948b31930ec7 (diff) | |
download | vboot-f510973497a430c1bb41d9b7e996d02fb7f7179e.tar.gz |
Fix include quotes.
System libraries such as string.h and errno.h should be included with
<> instead of "" to avoid including them from the local directory.
BRANCH=None
BUG=None
TEST=FEATURES="test" emerge-link vboot_reference
Change-Id: I6734e14223fdad9060c6518790f52f1bcfcdf8e0
Reviewed-on: https://chromium-review.googlesource.com/214058
Commit-Queue: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
-rw-r--r-- | cgpt/flash_ts.c | 7 | ||||
-rw-r--r-- | cgpt/flash_ts_drv.c | 8 | ||||
-rw-r--r-- | tests/cgptlib_test.c | 2 |
3 files changed, 9 insertions, 8 deletions
diff --git a/cgpt/flash_ts.c b/cgpt/flash_ts.c index e5e461d9..f37c4acc 100644 --- a/cgpt/flash_ts.c +++ b/cgpt/flash_ts.c @@ -13,9 +13,10 @@ #include "flash_ts.h" -#include "errno.h" -#include "stdio.h" -#include "string.h" +#include <errno.h> +#include <stdio.h> +#include <string.h> + #include "utility.h" // These match the linux driver diff --git a/cgpt/flash_ts_drv.c b/cgpt/flash_ts_drv.c index 01a68951..4709b37c 100644 --- a/cgpt/flash_ts_drv.c +++ b/cgpt/flash_ts_drv.c @@ -6,12 +6,12 @@ * files for more details. */ -#include "flash_ts.h" +#include <errno.h> +#include <stdio.h> +#include <string.h> +#include "flash_ts.h" #include "cgpt.h" -#include "errno.h" -#include "stdio.h" -#include "string.h" inline int page_to_sector(const nand_geom *nand, int page) { return page * (nand->szofpg / nand->szofsector); diff --git a/tests/cgptlib_test.c b/tests/cgptlib_test.c index e7a9748a..be4c7159 100644 --- a/tests/cgptlib_test.c +++ b/tests/cgptlib_test.c @@ -3,6 +3,7 @@ * found in the LICENSE file. */ +#include <errno.h> #include <string.h> #include "../cgpt/cgpt.h" @@ -11,7 +12,6 @@ #include "cgptlib_test.h" #include "crc32.h" #include "crc32_test.h" -#include "errno.h" #include "gpt.h" #include "mtdlib.h" #include "mtdlib_unused.h" |