Index: ossp-pkg/l2/l2_ch_file.c RCS File: /v/ossp/cvs/ossp-pkg/l2/l2_ch_file.c,v rcsdiff -q -kk '-r1.14' '-r1.15' -u '/v/ossp/cvs/ossp-pkg/l2/l2_ch_file.c,v' 2>/dev/null --- 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 }; Index: ossp-pkg/l2/l2_ch_socket.c RCS File: /v/ossp/cvs/ossp-pkg/l2/l2_ch_socket.c,v rcsdiff -q -kk '-r1.14' '-r1.15' -u '/v/ossp/cvs/ossp-pkg/l2/l2_ch_socket.c,v' 2>/dev/null --- l2_ch_socket.c 2001/09/06 14:37:53 1.14 +++ l2_ch_socket.c 2001/09/06 14:43:25 1.15 @@ -271,14 +271,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 sockets are unbuffered! */ - - return L2_OK; -} - /* close channel */ static l2_result_t hook_close(l2_context_t *ctx, l2_channel_t *ch) { @@ -317,7 +309,7 @@ hook_configure, hook_open, hook_write, - hook_flush, + NULL, hook_close, hook_destroy }; Index: ossp-pkg/l2/l2_ch_syslog.c RCS File: /v/ossp/cvs/ossp-pkg/l2/l2_ch_syslog.c,v rcsdiff -q -kk '-r1.15' '-r1.16' -u '/v/ossp/cvs/ossp-pkg/l2/l2_ch_syslog.c,v' 2>/dev/null --- l2_ch_syslog.c 2001/09/06 14:37:53 1.15 +++ l2_ch_syslog.c 2001/09/06 14:43:25 1.16 @@ -117,14 +117,6 @@ return L2_OK; } -/* flush channel */ -static l2_result_t hook_flush(l2_context_t *ctx, l2_channel_t *ch) -{ - /* Noop for this channel, because syslog entries are unbuffered */ - - return L2_OK; -} - /* close channel */ static l2_result_t hook_close(l2_context_t *ctx, l2_channel_t *ch) { @@ -160,7 +152,7 @@ hook_configure, hook_open, hook_write, - hook_flush, + NULL, hook_close, hook_destroy };