From 13a50a93d9b6598970fc7eb5f787469fd9b797cd Mon Sep 17 00:00:00 2001 From: whitequark Date: Sat, 1 Aug 2015 20:14:09 +0300 Subject: [PATCH] libbase: downstream users should provide fprintf. --- software/libbase/console.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/software/libbase/console.c b/software/libbase/console.c index af8d140f..17274e22 100644 --- a/software/libbase/console.c +++ b/software/libbase/console.c @@ -78,18 +78,3 @@ int printf(const char *fmt, ...) return len; } - -int fprintf(FILE *stream, const char *fmt, ...) -{ - va_list args; - int len; - char outbuf[PRINTF_BUFFER_SIZE]; - - va_start(args, fmt); - len = vscnprintf(outbuf, sizeof(outbuf), fmt, args); - va_end(args); - outbuf[len] = 0; - putsnonl(outbuf); - - return len; -} -- 2.30.2