Index: /sandbox/JamPlayerUSB/jbiexprt.h
===================================================================
--- /sandbox/JamPlayerUSB/jbiexprt.h	(revision 110)
+++ /sandbox/JamPlayerUSB/jbiexprt.h	(revision 111)
@@ -157,4 +157,17 @@
 );
 
+void usb_blaster_wait
+(
+    int count,
+    int tms
+);
+
+void usb_blaster_scan
+(
+    int count,
+    unsigned char *tdi,
+    unsigned char *tdo
+);
+
 int jbi_jtag_io
 (
Index: /sandbox/JamPlayerUSB/jbijtag.c
===================================================================
--- /sandbox/JamPlayerUSB/jbijtag.c	(revision 110)
+++ /sandbox/JamPlayerUSB/jbijtag.c	(revision 111)
@@ -624,6 +624,4 @@
 /****************************************************************************/
 {
-	int tms, flag;
-	long count;
 	JBI_RETURN_TYPE status = JBIC_SUCCESS;
 
@@ -639,7 +637,5 @@
 		*	Set TMS low to loop in any other stable state
 		*/
-		tms = (wait_state == RESET) ? TMS_HIGH : TMS_LOW;
-
-        usb_blaster_wait(cycles, tms);
+        usb_blaster_wait(cycles, (wait_state == RESET) ? TMS_HIGH : TMS_LOW);
 	}
 
@@ -763,6 +759,4 @@
 )
 {
-	int i = 0;
-	int tdo_bit = 0;
 	int status = 1;
 
@@ -817,6 +811,4 @@
 )
 {
-	int i = 0;
-	int tdo_bit = 0;
 	int status = 1;
 
Index: /sandbox/JamPlayerUSB/jbistub.c
===================================================================
--- /sandbox/JamPlayerUSB/jbistub.c	(revision 110)
+++ /sandbox/JamPlayerUSB/jbistub.c	(revision 111)
@@ -171,7 +171,4 @@
     int i, len, extra;
 
-    printf("usb_blaster_wait (count tms)  -> (%d %d)\n", count, tms);
-    fflush(stdout);
-
     if (count <= 0) return;
     
@@ -221,7 +218,4 @@
 
     read_tdo = (tdo != NULL);
-
-    printf("usb_blaster_scan (count read)  -> (%d %d)\n", count, read_tdo);
-    fflush(stdout);
 
     if (count <= 0) return;
