summaryrefslogtreecommitdiff
path: root/src/flash/mflash.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/mflash.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/mflash.c')
-rw-r--r--src/flash/mflash.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/flash/mflash.c b/src/flash/mflash.c
index 451d942b..8913e166 100644
--- a/src/flash/mflash.c
+++ b/src/flash/mflash.c
@@ -21,20 +21,11 @@
#include "config.h"
#endif
-#include <ctype.h>
-#include <string.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <sys/stat.h>
-#include <errno.h>
-#include <inttypes.h>
-
-#include "command.h"
-#include "log.h"
-#include "target.h"
+#include "mflash.h"
#include "time_support.h"
#include "fileio.h"
-#include "mflash.h"
+#include "log.h"
+
static int s3c2440_set_gpio_to_output (mflash_gpio_num_t gpio);
static int s3c2440_set_gpio_output_val (mflash_gpio_num_t gpio, u8 val);