From 692760720b197b46e8e4268bede8cad6f90399aa Mon Sep 17 00:00:00 2001 From: Manuel Mausz Date: Tue, 11 Jun 2019 15:28:27 +0200 Subject: Fix compile warnings... --- substdio.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'substdio.h') diff --git a/substdio.h b/substdio.h index c3f7f7d..bb9dac9 100644 --- a/substdio.h +++ b/substdio.h @@ -1,12 +1,14 @@ #ifndef SUBSTDIO_H #define SUBSTDIO_H +#include + typedef struct substdio { char *x; int p; int n; int fd; - int (*op)(); + ssize_t (*op)(); } substdio; #define SUBSTDIO_FDBUF(op,fd,buf,len) { (buf), 0, (len), (fd), (op) } -- cgit v1.2.3