* support/regression/fwk/include/testfwk.h: Fixed up to use function pts correctly.
[fw/sdcc] / support / regression / fwk / include / testfwk.h
index 4a178514caa950c82ef3959dbcf6be4bb2d28df2..07cfa31fade3859533774e4f01c30cbd8e15072f 100644 (file)
@@ -11,10 +11,10 @@ void __printf(const char *szFormat, ...) REENTRANT;
 #define FAIL()         FAILM("Failure")
 #define FAILM(_a)      __fail(_a, #_a, __FILE__, __LINE__)
 
-typedef void TESTFUN(void);
+typedef void (*TESTFUNP)(void);
 
 // Provided by the suite
-void **
+TESTFUNP *
 suite(void);
 
 const char *