From 10bb27ff2ab26cb3d4273065d14ae7ae64c8b3f9 Mon Sep 17 00:00:00 2001 From: Rutger Hofman Date: Tue, 5 May 2009 17:48:36 +0000 Subject: [PATCH] Move src/jim/tap.c to src/jim/jim_tap.c. Use urj_log() in src/jim i.s.o. printf() git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1569 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 4 ++++ urjtag/src/jim/Makefile.am | 2 +- urjtag/src/jim/{tap.c => jim_tap.c} | 0 urjtag/src/jim/some_cpu.c | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) rename urjtag/src/jim/{tap.c => jim_tap.c} (100%) diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 175d4bd9..3421226d 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -1,5 +1,9 @@ 2009-05-05 Rutger Hofman + * include/urjtag/jim.h, include/urjtag/jim/some_cpu.h, src/jim/tap.c, + src/jim/jim_tap.c, src/jim/some_cpu.c, src/jim/intel_28f800b3.c: replace + calls to printf() with calls to urj_log() and urj_error_set() + * include/urjtag/part.h, src/cmd/cmd_bus.c, src/cmd/cmd_detect.c, src/cmd/cmd_signal.c, src/bsdl/bsdl_bison.y, src/part/instruction.c, src/part/bsbit.c, src/part/part.c, src/part/signal.c: start replacing diff --git a/urjtag/src/jim/Makefile.am b/urjtag/src/jim/Makefile.am index 622fc88c..9b31bcb1 100644 --- a/urjtag/src/jim/Makefile.am +++ b/urjtag/src/jim/Makefile.am @@ -26,6 +26,6 @@ include $(top_srcdir)/Makefile.rules noinst_LTLIBRARIES = libjim.la libjim_la_SOURCES = \ - tap.c \ + jim_tap.c \ some_cpu.c \ intel_28f800b3.c diff --git a/urjtag/src/jim/tap.c b/urjtag/src/jim/jim_tap.c similarity index 100% rename from urjtag/src/jim/tap.c rename to urjtag/src/jim/jim_tap.c diff --git a/urjtag/src/jim/some_cpu.c b/urjtag/src/jim/some_cpu.c index 10765942..d81f35f4 100644 --- a/urjtag/src/jim/some_cpu.c +++ b/urjtag/src/jim/some_cpu.c @@ -249,7 +249,7 @@ urj_jim_some_cpu (void) } } - if (! some_cpu_attached[i].part) /* loop broken; failed to malloc all parts */ + if (some_cpu_attached[i].part) /* loop broken; failed to malloc all parts */ { for (i--; i >= 0; i--) free (((urj_jim_attached_part_t *) (dev->state))[i].part);