aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJagadeesh Ujja <jagadeesh.ujja@arm.com>2020-04-07 23:33:19 +0530
committerjimqui01 <54316584+jimqui01@users.noreply.github.com>2020-05-22 11:47:10 +0100
commit351be29f7e14ba89137199cc0eb83c41bd10b019 (patch)
tree5e77e18256fe77dfb82bba02f62701da18cecd36
parenta86b21dbf49b0c825348ae348e74fc377459ccc1 (diff)
dbg: Fix the compile error when DEBUGGER flag set
This patch fixes the compile error seen when DEBUGGER flag is set Change-Id: Ie9395eabf7b849cb43c2245cea3698bf916b915d Signed-off-by: Jagadeeesh Ujja <jagadeesh.ujja@arm.com>
-rw-r--r--debugger/include/cli.h6
-rw-r--r--debugger/src/cli/cli_fifo.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/debugger/include/cli.h b/debugger/include/cli.h
index a62d5d6f..ef34d323 100644
--- a/debugger/include/cli.h
+++ b/debugger/include/cli.h
@@ -12,12 +12,12 @@
/* Include Files */
/*****************************************************************************/
-#include "cli_config.h"
-#include "cli_fifo.h"
-
#include <stdbool.h>
#include <stdint.h>
+#include "cli_config.h"
+#include "cli_fifo.h"
+
/*****************************************************************************/
/* Enumerated Types */
/*****************************************************************************/
diff --git a/debugger/src/cli/cli_fifo.c b/debugger/src/cli/cli_fifo.c
index 19991b41..76a8a566 100644
--- a/debugger/src/cli/cli_fifo.c
+++ b/debugger/src/cli/cli_fifo.c
@@ -5,12 +5,12 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
-#include <cli_config.h>
-#include <cli_fifo.h>
-
#include <stdbool.h>
#include <stdint.h>
+#include <cli_config.h>
+#include <cli_fifo.h>
+
uint32_t fifo_init(fifo_st *fifo, char *buf, uint32_t buf_size)
{
if (fifo == 0 || buf == 0 || buf_size == 0)