From c3b9af3831762d7548eb1e72cfb62ab95e0d8490 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 30 May 2020 21:32:05 +0200 Subject: common: bc_stdin_read() should set read length --- src/common/stdin.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/common/stdin.h') diff --git a/src/common/stdin.h b/src/common/stdin.h index e6bd7a0..be99922 100644 --- a/src/common/stdin.h +++ b/src/common/stdin.h @@ -9,6 +9,8 @@ #ifndef _STDIN_H #define _STDIN_H -char* bc_stdin_read(void); +#include + +char* bc_stdin_read(size_t *len); #endif /* _STDIN_H */ -- cgit v1.2.3-18-g5258