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:
parent
f5e028bc46
commit
30a17f0bb4
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue