ossp-pkg/l2/l2_ch_file.c 1.14 -> 1.15
--- l2_ch_file.c 2001/09/06 14:37:53 1.14
+++ l2_ch_file.c 2001/09/06 14:43:25 1.15
@@ -124,14 +124,6 @@
return L2_OK;
}
-/* flush channel */
-static l2_result_t hook_flush(l2_context_t *ctx, l2_channel_t *ch)
-{
- /* NOP for this channel, because Unix I/O files are unbuffered! */
-
- return L2_OK;
-}
-
/* close channel */
static l2_result_t hook_close(l2_context_t *ctx, l2_channel_t *ch)
{
@@ -170,7 +162,7 @@
hook_configure,
hook_open,
hook_write,
- hook_flush,
+ NULL,
hook_close,
hook_destroy
};
|
|