1) Moved tprintf and related functions to their own file in common/libc/printf/tprintf.c.

This file is included by both libc and hostcompat.

2) Changed printf -> tprintf in all testbin programs
This commit is contained in:
Scott Haseley committed 2016-01-15 13:33:11 -05:00
1 parent 98ff530afb
commit 0ab862abfa
49 files changed
+501 -478

No files matched your search

+4 -4
View File
@@ -79,12 +79,12 @@ main(void)
for (i = 0; i < Dim; i++)
r += C[i][i];
printf("matmult finished.\n");
printf("answer is: %d (should be %d)\n", r, RIGHT);
tprintf("matmult finished.\n");
tprintf("answer is: %d (should be %d)\n", r, RIGHT);
if (r != RIGHT) {
printf("FAILED\n");
tprintf("FAILED\n");
return 1;
}
printf("Passed.\n");
tprintf("Passed.\n");
return 0;
}