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
@@ -132,13 +132,13 @@ printworkloads(void)
{
unsigned i;
printf("Supported workloads:\n");
tprintf("Supported workloads:\n");
for (i=0; i<numworkloads; i++) {
printf(" %s", workloads[i].name);
tprintf(" %s", workloads[i].name);
if (workloads[i].argname) {
printf(" %s", workloads[i].argname);
tprintf(" %s", workloads[i].argname);
}
printf("\n");
tprintf("\n");
}
}