]> git.sur5r.net Git - openocd/commitdiff
verified that an argument is unused
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 7 May 2009 20:24:23 +0000 (20:24 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 7 May 2009 20:24:23 +0000 (20:24 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1651 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/jtag.c
src/jtag/jtag.h

index 981f47e128bb794c365172df3f82587ee74d145c..e8680b23b3a0eb33a5a1a14b3dd1666a9571e49e 100644 (file)
@@ -1399,7 +1399,7 @@ int jtag_check_value(u8 *captured, void *priv, scan_field_t *field)
   set up checking of this field using the in_handler. The values passed in must be valid until
   after jtag_execute() has completed.
  */
-void jtag_set_check_value(scan_field_t *field, u8 *value, u8 *mask, error_handler_t *in_error_handler)
+void jtag_set_check_value(scan_field_t *field, u8 *value, u8 *mask, struct invalidstruct *obsolete)
 {
        if (value)
                field->in_handler = jtag_check_value;
index ce11d592df1df87f3b665a38265808b3ae38b3fb..f2c887f87a2c1e8963feee6bdf94d9ddfaf0a438 100644 (file)
@@ -729,7 +729,12 @@ extern int            jtag_power_dropout(int* dropout);
 extern int            jtag_srst_asserted(int* srst_asserted);
 
 /* JTAG support functions */
-extern void           jtag_set_check_value(scan_field_t* field, u8* value, u8* mask, error_handler_t* in_error_handler);
+struct invalidstruct
+{
+       
+};
+
+extern void           jtag_set_check_value(scan_field_t* field, u8* value, u8* mask, struct invalidstruct *obsolete);
 extern enum scan_type jtag_scan_type(scan_command_t* cmd);
 extern int            jtag_scan_size(scan_command_t* cmd);
 extern int            jtag_read_buffer(u8* buffer, scan_command_t* cmd);