summaryrefslogtreecommitdiff
path: root/src/flash/nand.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 04:30:41 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 04:30:41 +0000
commitfbcb57baf842a84898dcc1cbe9a8b56d2a0028e1 (patch)
tree9468a8c2fd8ed83ff2d6643e4f6f3e80a92240c5 /src/flash/nand.c
parent0643263d68bcddc56eaa7e3678b7502798410711 (diff)
downloadopenocd+libswd-fbcb57baf842a84898dcc1cbe9a8b56d2a0028e1.tar.gz
openocd+libswd-fbcb57baf842a84898dcc1cbe9a8b56d2a0028e1.tar.bz2
openocd+libswd-fbcb57baf842a84898dcc1cbe9a8b56d2a0028e1.tar.xz
openocd+libswd-fbcb57baf842a84898dcc1cbe9a8b56d2a0028e1.zip
Audit and eliminate redundant #include directives in src/flash sources.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1712 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/nand.c')
-rw-r--r--src/flash/nand.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/flash/nand.c b/src/flash/nand.c
index 67f15374..8efed037 100644
--- a/src/flash/nand.c
+++ b/src/flash/nand.c
@@ -24,20 +24,12 @@
#include "config.h"
#endif
-#include "replacements.h"
-#include "log.h"
-
-#include <stdlib.h>
-#include <string.h>
-#include <inttypes.h>
-
-#include <errno.h>
-
#include "nand.h"
-#include "flash.h"
#include "time_support.h"
#include "fileio.h"
-#include "image.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);