diff src/dmresw.c @ 1607:0cac3360a0aa

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 14 May 2018 11:45:33 +0300
parents 9f06f6661cdf
children 73545a442ffe
line wrap: on
line diff
--- a/src/dmresw.c	Mon May 14 11:20:05 2018 +0300
+++ b/src/dmresw.c	Mon May 14 11:45:33 2018 +0300
@@ -7,15 +7,15 @@
 #include "dmresw.h"
 
 
-int dmf_write_str(DMResource *f, const void *s, const size_t l)
+BOOL dmf_write_str(DMResource *fh, const void *data, const size_t len)
 {
-    return dmfwrite(s, 1, l, f) == l;
+    return dmfwrite(data, len, 1, fh) == 1;
 }
 
 
-BOOL dmf_write_byte(DMResource *f, const Uint8 val)
+BOOL dmf_write_byte(DMResource *fh, const Uint8 val)
 {
-    return dmfputc(val, f) == val;
+    return dmfputc(val, fh) == val;
 }