summaryrefslogtreecommitdiff
path: root/extra/usb_console/usb_console.c
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2022-11-22 08:57:44 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-11-22 18:00:37 +0000
commit5d893f998d936f16d8894225ec44a58abf31f7e9 (patch)
tree698f971a96975428c75e303a22ef68acbc796ca5 /extra/usb_console/usb_console.c
parent05c088702242600fa4878cd3a6057d6dfd74bdfb (diff)
downloadchrome-ec-5d893f998d936f16d8894225ec44a58abf31f7e9.tar.gz
extra: Sort header files
Sort all includes in extra with the clang-format rules used by the zephyr project. BRANCH=None BUG=b:247100970 TEST=zmake build -a TEST=./twister --clobber -v -i TEST=make -j$(nproc) buildall_only runtests TEST=zmake compare-builds Signed-off-by: Jeremy Bettis <jbettis@google.com> Change-Id: I407b20fbc45280c7593fe46e6014f7944068cb85 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4047097 Auto-Submit: Jeremy Bettis <jbettis@chromium.org> Tested-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Commit-Queue: Jeremy Bettis <jbettis@chromium.org> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Commit-Queue: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'extra/usb_console/usb_console.c')
-rw-r--r--extra/usb_console/usb_console.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/extra/usb_console/usb_console.c b/extra/usb_console/usb_console.c
index aea9eb8293..db1f2a4bec 100644
--- a/extra/usb_console/usb_console.c
+++ b/extra/usb_console/usb_console.c
@@ -5,17 +5,17 @@
*/
#include <errno.h>
-#include <getopt.h>
-#include <poll.h>
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/select.h>
-#include <unistd.h>
+#include <getopt.h>
#include <libusb.h>
+#include <poll.h>
+#include <sys/select.h>
+#include <unistd.h>
/* Options */
static uint16_t vid = 0x18d1; /* Google */