summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/flash/flash.c2
-rw-r--r--src/flash/nand.c3
-rw-r--r--src/helper/ioutil.c3
-rw-r--r--src/target/trace.c2
4 files changed, 0 insertions, 10 deletions
diff --git a/src/flash/flash.c b/src/flash/flash.c
index ce920050..3dffb1f2 100644
--- a/src/flash/flash.c
+++ b/src/flash/flash.c
@@ -31,8 +31,6 @@
#include "image.h"
#include "time_support.h"
-#include <inttypes.h>
-
/* command handlers */
static int handle_flash_bank_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);
static int handle_flash_info_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);
diff --git a/src/flash/nand.c b/src/flash/nand.c
index 25880a30..69b67662 100644
--- a/src/flash/nand.c
+++ b/src/flash/nand.c
@@ -28,9 +28,6 @@
#include "time_support.h"
#include "fileio.h"
-#include <inttypes.h>
-
-
static int handle_nand_list_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);
static int handle_nand_probe_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);
static int handle_nand_check_bad_blocks_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc);
diff --git a/src/helper/ioutil.c b/src/helper/ioutil.c
index c07bd9b2..6be3e6cd 100644
--- a/src/helper/ioutil.c
+++ b/src/helper/ioutil.c
@@ -55,9 +55,6 @@
#include <malloc.h>
#endif
#endif
-//#ifdef HAVE_STRINGS_H
-//#include <strings.h>
-//#endif
int handle_rm_command(struct command_context_s *cmd_ctx, char *cmd,
diff --git a/src/target/trace.c b/src/target/trace.c
index d0f40b2d..59489fe4 100644
--- a/src/target/trace.c
+++ b/src/target/trace.c
@@ -25,8 +25,6 @@
#include "trace.h"
#include "target.h"
-#include <inttypes.h>
-
int trace_point(target_t *target, u32 number)
{
trace_t *trace = target->trace_info;