Include assert.h in system.h to promote tree-wide use of assertions.
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 12 May 2009 04:52:15 +0000 (04:52 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 12 May 2009 04:52:15 +0000 (04:52 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1750 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/helper/system.h
src/jtag/jtag.c
src/xsvf/xsvf.c

index 2e3906d..07b0cb9 100644 (file)
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <assert.h>
 #include <ctype.h>
 #include <errno.h>
 
index 55d035a..3d43bc9 100644 (file)
@@ -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 */
 
index b62de34..2400ae3 100644 (file)
@@ -44,8 +44,6 @@
 #include "xsvf.h"
 #include "jtag.h"
 
-#include <assert.h>
-
 
 /* XSVF commands, from appendix B of xapp503.pdf  */
 #define XCOMPLETE              0x00