summaryrefslogtreecommitdiff
path: root/cgpt
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-08-29 13:58:52 +0800
committerCommit Bot <commit-bot@chromium.org>2019-09-23 17:54:12 +0000
commitffd42a82201423d7b82cffd755baf3d5cd5c7efc (patch)
tree744299c8a134b963e8ac117c1d62a4a5d1b51f73 /cgpt
parent56b70c403ea47f7da67c69b72c84d591b8f3ce21 (diff)
downloadvboot-ffd42a82201423d7b82cffd755baf3d5cd5c7efc.tar.gz
vboot: fix up some more includes
Should have no extra line breaks in between local includes, and should be sorted alphabetically. BUG=b:124141368 TEST=make clean && make runtests BRANCH=none Change-Id: I83c25d30d7376712857314965a7d93f57190aa3f Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1776281 Tested-by: Joel Kitching <kitching@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'cgpt')
-rw-r--r--cgpt/cgpt_add.c2
-rw-r--r--cgpt/cgpt_boot.c2
-rw-r--r--cgpt/cgpt_edit.c2
-rw-r--r--cgpt/cgpt_find.c2
-rw-r--r--cgpt/cgpt_wrapper.c3
5 files changed, 5 insertions, 6 deletions
diff --git a/cgpt/cgpt_add.c b/cgpt/cgpt_add.c
index 95815db8..6134504e 100644
--- a/cgpt/cgpt_add.c
+++ b/cgpt/cgpt_add.c
@@ -6,8 +6,8 @@
#include <string.h>
#include "cgpt.h"
-#include "cgpt_params.h"
#include "cgptlib_internal.h"
+#include "cgpt_params.h"
#include "utility.h"
#include "vboot_host.h"
diff --git a/cgpt/cgpt_boot.c b/cgpt/cgpt_boot.c
index 932cd457..989ffd79 100644
--- a/cgpt/cgpt_boot.c
+++ b/cgpt/cgpt_boot.c
@@ -9,8 +9,8 @@
#include <unistd.h>
#include "cgpt.h"
-#include "cgpt_params.h"
#include "cgptlib_internal.h"
+#include "cgpt_params.h"
#include "vboot_host.h"
int CgptGetBootPartitionNumber(CgptBootParams *params) {
diff --git a/cgpt/cgpt_edit.c b/cgpt/cgpt_edit.c
index e0d32f48..6166d04a 100644
--- a/cgpt/cgpt_edit.c
+++ b/cgpt/cgpt_edit.c
@@ -4,8 +4,8 @@
*/
#include "cgpt.h"
-#include "cgpt_params.h"
#include "cgptlib_internal.h"
+#include "cgpt_params.h"
#include "vboot_host.h"
int CgptEdit(CgptEditParams *params) {
diff --git a/cgpt/cgpt_find.c b/cgpt/cgpt_find.c
index 1c8c72dc..d3cbb0ba 100644
--- a/cgpt/cgpt_find.c
+++ b/cgpt/cgpt_find.c
@@ -10,8 +10,8 @@
#include <unistd.h>
#include "cgpt.h"
-#include "cgpt_nor.h"
#include "cgptlib_internal.h"
+#include "cgpt_nor.h"
#include "vboot_host.h"
#define BUFSIZE 1024
diff --git a/cgpt/cgpt_wrapper.c b/cgpt/cgpt_wrapper.c
index e7ac6bf3..2b473835 100644
--- a/cgpt/cgpt_wrapper.c
+++ b/cgpt/cgpt_wrapper.c
@@ -22,10 +22,9 @@
#include <sys/types.h>
#include <unistd.h>
-#include "2sysincludes.h"
-
#include "2common.h"
#include "2sha.h"
+#include "2sysincludes.h"
#include "cgpt.h"
#include "cgpt_nor.h"
#include "file_keys.h"