From 30a17f0bb402ae95bfde948dea10fc7ae7d6c4ba Mon Sep 17 00:00:00 2001 From: zwelch Date: Tue, 12 May 2009 04:52:15 +0000 Subject: [PATCH] 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 --- src/helper/system.h | 1 + src/jtag/jtag.c | 2 +- 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 2e3906d466..07b0cb9f2f 100644 --- a/src/helper/system.h +++ b/src/helper/system.h @@ -26,6 +26,7 @@ #include #include #include +#include #include #include diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index 55d035a494..3d43bc9e64 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -33,7 +33,7 @@ #ifdef HAVE_STRINGS_H #include #endif -#include + 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 b62de349d5..2400ae39a5 100644 --- a/src/xsvf/xsvf.c +++ b/src/xsvf/xsvf.c @@ -44,8 +44,6 @@ #include "xsvf.h" #include "jtag.h" -#include - /* XSVF commands, from appendix B of xapp503.pdf */ #define XCOMPLETE 0x00 -- 2.30.2