From fd3977fafab1e8b335d1d5f7cd6efa12a46102e8 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Mon, 28 Oct 2002 08:25:56 +0000 Subject: [PATCH] Removed compile warnings. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@229 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/src/detect.c | 1 + jtag/src/flash.c | 1 + jtag/src/jtag.c | 3 +++ jtag/src/part/data_register.c | 1 + jtag/src/readmem.c | 1 + jtag/src/tap/ctrl.c | 1 + 6 files changed, 8 insertions(+) diff --git a/jtag/src/detect.c b/jtag/src/detect.c index 1c0ce0f2..9b5f8295 100644 --- a/jtag/src/detect.c +++ b/jtag/src/detect.c @@ -23,6 +23,7 @@ */ #include +#include #include #include diff --git a/jtag/src/flash.c b/jtag/src/flash.c index b9659219..ea5bad5c 100644 --- a/jtag/src/flash.c +++ b/jtag/src/flash.c @@ -33,6 +33,7 @@ */ #include +#include #include #include "part.h" diff --git a/jtag/src/jtag.c b/jtag/src/jtag.c index 5928d60a..d6fbc9f7 100644 --- a/jtag/src/jtag.c +++ b/jtag/src/jtag.c @@ -43,6 +43,9 @@ get_token( char *buf ) return strtok( buf, " \f\n\r\t\v" ); } +void readmem( parts *ps ); +void flashmem( parts *ps, FILE *f ); + int main( void ) { diff --git a/jtag/src/part/data_register.c b/jtag/src/part/data_register.c index 5e4f1414..5af69c86 100644 --- a/jtag/src/part/data_register.c +++ b/jtag/src/part/data_register.c @@ -24,6 +24,7 @@ #include #include +#include #include "data_register.h" diff --git a/jtag/src/readmem.c b/jtag/src/readmem.c index 3e42e76c..f5e90282 100644 --- a/jtag/src/readmem.c +++ b/jtag/src/readmem.c @@ -33,6 +33,7 @@ */ #include +#include #include #include #include diff --git a/jtag/src/tap/ctrl.c b/jtag/src/tap/ctrl.c index 773d759c..df3f73b9 100644 --- a/jtag/src/tap/ctrl.c +++ b/jtag/src/tap/ctrl.c @@ -22,6 +22,7 @@ * */ +#include #include #include "ctrl.h"