diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-12 04:52:15 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-12 04:52:15 +0000 |
commit | 30a17f0bb402ae95bfde948dea10fc7ae7d6c4ba (patch) | |
tree | 44c4c63a7b2dc5e1ff7eb1a409916fba982ebf11 /src | |
parent | f5e028bc46f6b3eee4fb3f93b5ef068238b03f40 (diff) | |
download | openocd+libswd-30a17f0bb402ae95bfde948dea10fc7ae7d6c4ba.tar.gz openocd+libswd-30a17f0bb402ae95bfde948dea10fc7ae7d6c4ba.tar.bz2 openocd+libswd-30a17f0bb402ae95bfde948dea10fc7ae7d6c4ba.tar.xz openocd+libswd-30a17f0bb402ae95bfde948dea10fc7ae7d6c4ba.zip |
Include assert.h in system.h to promote tree-wide use of assertions.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1750 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/helper/system.h | 1 | ||||
-rw-r--r-- | src/jtag/jtag.c | 2 | ||||
-rw-r--r-- | src/xsvf/xsvf.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/src/helper/system.h b/src/helper/system.h index 2e3906d4..07b0cb9f 100644 --- a/src/helper/system.h +++ b/src/helper/system.h @@ -26,6 +26,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <assert.h> #include <ctype.h> #include <errno.h> diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index 55d035a4..3d43bc9e 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -33,7 +33,7 @@ #ifdef HAVE_STRINGS_H #include <strings.h> #endif -#include <assert.h> + int jtag_flush_queue_count; /* count # of flushes for profiling / debugging purposes */ diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c index b62de349..2400ae39 100644 --- a/src/xsvf/xsvf.c +++ b/src/xsvf/xsvf.c @@ -44,8 +44,6 @@ #include "xsvf.h" #include "jtag.h" -#include <assert.h> - /* XSVF commands, from appendix B of xapp503.pdf */ #define XCOMPLETE 0x00 |