summaryrefslogtreecommitdiffstats
path: root/stream.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-17 14:33:28 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-17 14:33:28 -0800
commitb3e5158fdeb90749fa710ac8e302aa69ddd81acd (patch)
tree245f8c1c1acb92b92b28ef13e555641a40caf1b5 /stream.c
parent4ce9806f4b5fd1d678e7451c11268460ef518df5 (diff)
downloadtxr-b3e5158fdeb90749fa710ac8e302aa69ddd81acd.tar.gz
txr-b3e5158fdeb90749fa710ac8e302aa69ddd81acd.tar.bz2
txr-b3e5158fdeb90749fa710ac8e302aa69ddd81acd.zip
Warning fixes.
Diffstat (limited to 'stream.c')
-rw-r--r--stream.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/stream.c b/stream.c
index 1546ff50..bad67d84 100644
--- a/stream.c
+++ b/stream.c
@@ -216,7 +216,8 @@ static struct strm_ops stdio_ops = {
{ common_equal,
stdio_stream_print,
stdio_stream_destroy,
- stdio_stream_mark },
+ stdio_stream_mark,
+ 0 },
stdio_put_string,
stdio_put_char,
stdio_get_line,
@@ -271,7 +272,8 @@ static struct strm_ops pipe_ops = {
{ common_equal,
stdio_stream_print,
stdio_stream_destroy,
- stdio_stream_mark },
+ stdio_stream_mark,
+ 0 },
stdio_put_string,
stdio_put_char,
stdio_get_line,
@@ -320,7 +322,8 @@ static struct strm_ops string_in_ops = {
{ common_equal,
cobj_print_op,
0,
- string_in_stream_mark },
+ string_in_stream_mark,
+ 0 },
0,
0,
string_in_get_line,
@@ -348,6 +351,7 @@ static struct strm_ops byte_in_ops = {
{ common_equal,
cobj_print_op,
0,
+ 0,
0 },
0,
0,
@@ -417,6 +421,7 @@ static struct strm_ops string_out_ops = {
{ common_equal,
cobj_print_op,
string_out_stream_destroy,
+ 0,
0 },
string_out_put_string,
string_out_put_char,
@@ -459,6 +464,7 @@ static struct strm_ops dir_ops = {
{ common_equal,
cobj_print_op,
common_destroy,
+ 0,
0 },
0,
0,