From f9ffeb3e1da75178d7b49cf498b73ef14f7957a6 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 12 Sep 2014 14:41:59 -0700 Subject: Update testingUtils to use printf(), putchar() isn't a known external function anymore. --- test/Concrete/_testingUtils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/Concrete/_testingUtils.c b/test/Concrete/_testingUtils.c index 02d0529e..3afbc2fa 100644 --- a/test/Concrete/_testingUtils.c +++ b/test/Concrete/_testingUtils.c @@ -1,4 +1,4 @@ -int putchar(int x); +int printf(const char *fmt, ...); void print_int(unsigned long long val); @@ -22,11 +22,11 @@ void print_int(unsigned long long val) { while (cur) { int digit = val / cur; - putchar(digit + '0'); + printf("%c", digit + '0'); val = val % cur; cur /= 10; } - putchar('\n'); + printf("%c", '\n'); } -- cgit 1.4.1