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
This commit is contained in:
zwelch 2009-05-12 04:52:15 +00:00
parent f5e028bc46
commit 30a17f0bb4
3 changed files with 2 additions and 3 deletions

View File

@ -26,6 +26,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <assert.h>
#include <ctype.h> #include <ctype.h>
#include <errno.h> #include <errno.h>

View File

@ -33,7 +33,7 @@
#ifdef HAVE_STRINGS_H #ifdef HAVE_STRINGS_H
#include <strings.h> #include <strings.h>
#endif #endif
#include <assert.h>
int jtag_flush_queue_count; /* count # of flushes for profiling / debugging purposes */ int jtag_flush_queue_count; /* count # of flushes for profiling / debugging purposes */

View File

@ -44,8 +44,6 @@
#include "xsvf.h" #include "xsvf.h"
#include "jtag.h" #include "jtag.h"
#include <assert.h>
/* XSVF commands, from appendix B of xapp503.pdf */ /* XSVF commands, from appendix B of xapp503.pdf */
#define XCOMPLETE 0x00 #define XCOMPLETE 0x00