summaryrefslogtreecommitdiff
path: root/src/flash/mflash.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-16 00:35:24 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-16 00:35:24 -0800
commitb695cb75220100cd9bbfaec5bd1740958454130d (patch)
tree6308a8f1358e96fd4d88c3241b0b24b63f64aaf5 /src/flash/mflash.h
parent8193f17c3aeb948ca8f70ed3361e8b2bccefffed (diff)
downloadopenocd+libswd-b695cb75220100cd9bbfaec5bd1740958454130d.tar.gz
openocd+libswd-b695cb75220100cd9bbfaec5bd1740958454130d.tar.bz2
openocd+libswd-b695cb75220100cd9bbfaec5bd1740958454130d.tar.xz
openocd+libswd-b695cb75220100cd9bbfaec5bd1740958454130d.zip
#include "target.h" less wildly
Don't include "target.h" from more headers than necessary. This avoids needless interdependencies and duplicated include paths. Don't needlessly include it in source files, either. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/flash/mflash.h')
-rw-r--r--src/flash/mflash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/mflash.h b/src/flash/mflash.h
index ed4a2cdd..358d2536 100644
--- a/src/flash/mflash.h
+++ b/src/flash/mflash.h
@@ -20,7 +20,7 @@
#ifndef _MFLASH_H
#define _MFLASH_H
-#include "target.h"
+struct command_context;
typedef unsigned long mg_io_uint32;
typedef unsigned short mg_io_uint16;