summaryrefslogtreecommitdiff
path: root/src/libunixonacid/buffer_timed_flush.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libunixonacid/buffer_timed_flush.c')
-rw-r--r--src/libunixonacid/buffer_timed_flush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libunixonacid/buffer_timed_flush.c b/src/libunixonacid/buffer_timed_flush.c
index 4de467a..d688243 100644
--- a/src/libunixonacid/buffer_timed_flush.c
+++ b/src/libunixonacid/buffer_timed_flush.c
@@ -9,7 +9,7 @@ static int buffer_isnonempty (buffer *b)
return !buffer_isempty(b) ;
}
-int buffer_timed_flush (buffer *b, tain_t const *deadline, tain_t *stamp)
+int buffer_timed_flush (buffer *b, tain const *deadline, tain *stamp)
{
- return timed_flush(b, (initfunc_t_ref)&buffer_getfd, (initfunc_t_ref)&buffer_isnonempty, (initfunc_t_ref)&buffer_flush, deadline, stamp) ;
+ return timed_flush(b, (init_func_ref)&buffer_getfd, (init_func_ref)&buffer_isnonempty, (init_func_ref)&buffer_flush, deadline, stamp) ;
}