diff --git a/Ghidra/Extensions/SleighDevTools/pcodetest/c_src/pcode_test.h b/Ghidra/Extensions/SleighDevTools/pcodetest/c_src/pcode_test.h index d278d0ff63..6787ee493b 100644 --- a/Ghidra/Extensions/SleighDevTools/pcodetest/c_src/pcode_test.h +++ b/Ghidra/Extensions/SleighDevTools/pcodetest/c_src/pcode_test.h @@ -29,9 +29,6 @@ #define PACKED_STRUCTURE #endif -typedef i4 (*entryFunc)(i4 * val); -typedef i4 (*breakOn)(void); -typedef i4 (*breakOnD)(const char *file, int line, const char *func); typedef i4 (*testFuncPtr)(void); typedef struct PACKED_STRUCTURE FunctionInfo @@ -46,9 +43,9 @@ typedef struct PACKED_STRUCTURE TestInfo char id[8]; /* id constains a "Magic Number" which will allow us to find this in a binary */ u4 ptrSz; /* how many bytes in a pointer? */ u4 byteOrder; /* value 0x01020304 used to detect endianess */ - breakOn onPass; /* address of breakOnPass function, (where it goes on test pass) */ - breakOn onError; /* address of breakOnError function, (where it goes on test failure) */ - breakOnD onDone; /* address of breakOnDone function, (where it goes when all test done) */ + void *onPass; /* address of breakOnPass function, (where it goes on test pass) */ + void *onError; /* address of breakOnError function, (where it goes on test failure) */ + void *onDone; /* address of breakOnDone function, (where it goes when all test done) */ u4 numpass; /* How many test passed */ u4 numfail; /* How many test failed */ u4 lastTestPos; /* Last test index number */