summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-11-18 07:36:42 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2018-11-18 07:36:42 +0200
commit82c61a906ec290f7404df291f83c1910cf45135c (patch)
treec52ba47970ed0b2965a2c22088937e24468bae56
parentf45ea151b7a5b184ed761d63fb15c3a962278ead (diff)
libc: fix compiler warning
-rw-r--r--src/libc.c2
1 files changed, 1 insertions, 1 deletions
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"