#include <testfwk.h>
#include <stdarg.h>
+#ifdef __ds390
+#include <tinibios.h> /* main() must see the ISR declarations */
+#endif
+
/** Define this if the port's div or mod functions are broken.
A slow loop based method will be substituded.
*/
if (*szFormat == '%') {
switch (*++szFormat) {
case 's': {
- char GENERIC *sz = va_arg(ap, char GENERIC *);
+ char *sz = va_arg(ap, char *);
while (*sz) {
_putchar(*sz++);
}
int
main(void)
{
- TESTFUN **cases;
+ TESTFUNP *cases;
int numCases = 0;
__printf("--- Running: %s\n", getSuiteName());
- cases = (TESTFUN **)suite();
+ cases = suite();
while (*cases) {
__printf("Running %u\n", numCases);