summaryrefslogtreecommitdiff
path: root/src/libstddjb/genwrite_flush_bufalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/genwrite_flush_bufalloc.c')
-rw-r--r--src/libstddjb/genwrite_flush_bufalloc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libstddjb/genwrite_flush_bufalloc.c b/src/libstddjb/genwrite_flush_bufalloc.c
new file mode 100644
index 0000000..6383246
--- /dev/null
+++ b/src/libstddjb/genwrite_flush_bufalloc.c
@@ -0,0 +1,10 @@
+/* ISC license. */
+
+#include <skalibs/bufalloc.h>
+#include <skalibs/genwrite.h>
+
+int genwrite_flush_bufalloc (void *target)
+{
+ register bufalloc *ba = target ;
+ return bufalloc_flush(ba) ;
+}