From: <zw...@ma...> - 2009-05-12 06:52:28
|
Author: zwelch Date: 2009-05-12 06:52:15 +0200 (Tue, 12 May 2009) New Revision: 1750 Modified: trunk/src/helper/system.h trunk/src/jtag/jtag.c trunk/src/xsvf/xsvf.c Log: Include assert.h in system.h to promote tree-wide use of assertions. Modified: trunk/src/helper/system.h =================================================================== --- trunk/src/helper/system.h 2009-05-11 22:37:52 UTC (rev 1749) +++ trunk/src/helper/system.h 2009-05-12 04:52:15 UTC (rev 1750) @@ -26,6 +26,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <assert.h> #include <ctype.h> #include <errno.h> Modified: trunk/src/jtag/jtag.c =================================================================== --- trunk/src/jtag/jtag.c 2009-05-11 22:37:52 UTC (rev 1749) +++ trunk/src/jtag/jtag.c 2009-05-12 04:52:15 UTC (rev 1750) @@ -33,8 +33,8 @@ #ifdef HAVE_STRINGS_H #include <strings.h> #endif -#include <assert.h> + int jtag_flush_queue_count; /* count # of flushes for profiling / debugging purposes */ static void jtag_add_scan_check(void (*jtag_add_scan)(int num_fields, scan_field_t *fields, tap_state_t state), Modified: trunk/src/xsvf/xsvf.c =================================================================== --- trunk/src/xsvf/xsvf.c 2009-05-11 22:37:52 UTC (rev 1749) +++ trunk/src/xsvf/xsvf.c 2009-05-12 04:52:15 UTC (rev 1750) @@ -44,9 +44,7 @@ #include "xsvf.h" #include "jtag.h" -#include <assert.h> - /* XSVF commands, from appendix B of xapp503.pdf */ #define XCOMPLETE 0x00 #define XTDOMASK 0x01 |