summaryrefslogtreecommitdiff
path: root/src/rio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rio.h')
-rw-r--r--src/rio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rio.h b/src/rio.h
index 654423810..2a830eb57 100644
--- a/src/rio.h
+++ b/src/rio.h
@@ -29,8 +29,8 @@ typedef struct _rio rio;
#define rioWrite(rio,buf,len) ((rio)->write((rio),(buf),(len)))
#define rioRead(rio,buf,len) ((rio)->read((rio),(buf),(len)))
-rio rioInitWithFile(FILE *fp);
-rio rioInitWithBuffer(sds s);
+void rioInitWithFile(rio *r, FILE *fp);
+void rioInitWithBuffer(rio *r, sds s);
size_t rioWriteBulkCount(rio *r, char prefix, int count);
size_t rioWriteBulkString(rio *r, const char *buf, size_t len);