From 3b3a5b642c6b87da68441d7238d5a2408262bccc Mon Sep 17 00:00:00 2001
From: oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Date: Fri, 5 Jun 2009 06:41:54 +0000
Subject: [PATCH] remove unused include file: inttypes.h

git-svn-id: svn://svn.berlios.de/openocd/trunk@2072 b42882b7-edfa-0310-969c-e2dbd0fdcd60
---
 src/flash/flash.c   | 2 --
 src/flash/nand.c    | 3 ---
 src/helper/ioutil.c | 3 ---
 src/target/trace.c  | 2 --
 4 files changed, 10 deletions(-)

diff --git a/src/flash/flash.c b/src/flash/flash.c
index ce920050c..3dffb1f28 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 25880a30f..69b676620 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 c07bd9b27..6be3e6cd5 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 d0f40b2d9..59489fe4e 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;
-- 
GitLab