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:
@@ -245,7 +245,7 @@ main(int argc, char *argv[])
|
||||
}
|
||||
else if (argc == 3) {
|
||||
if (!strcmp(argv[1], "1") || !strcmp(argv[1], "0")) {
|
||||
printf("%s\n", argv[2]);
|
||||
tprintf("%s\n", argv[2]);
|
||||
}
|
||||
else {
|
||||
number_init(&n1, argv[1]);
|
||||
|
Reference in New Issue
Block a user