From 82c61a906ec290f7404df291f83c1910cf45135c Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Sun, 18 Nov 2018 07:36:42 +0200 Subject: libc: fix compiler warning --- src/libc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libc.c b/src/libc.c index 7f7b42b..70cb351 100644 --- a/src/libc.c +++ b/src/libc.c @@ -92,7 +92,7 @@ tkill(int tid, int sig) // __real_malloc in the same file as __wrap_malloc; if you do, the assembler may resolve // the call before the linker has a chance to wrap it to malloc. -size_t __real_IO_file_xsputn(FILE *f, const void *buf, size_t n) {} +size_t __real_IO_file_xsputn(FILE *f, const void *buf, size_t n) { return 0; } #include "libc-ctype.h" -- cgit v1.2.3