patch 7.4.1194
Problem: Compiler warning for not using return value of fwrite().
Solution: Return OK/FAIL. (Charles Campbell)
diff --git a/src/proto/channel.pro b/src/proto/channel.pro
index 110bb1d..2d46a49 100644
--- a/src/proto/channel.pro
+++ b/src/proto/channel.pro
@@ -8,7 +8,7 @@
int channel_decode_json(char_u *msg, typval_T *tv);
int channel_is_open(int idx);
void channel_close(int idx);
-void channel_save(int idx, char_u *buf, int len);
+int channel_save(int idx, char_u *buf, int len);
char_u *channel_peek(int idx);
char_u *channel_get(int idx);
int channel_collapse(int idx);