diff options
Diffstat (limited to 'stream/stream_null.c')
-rw-r--r-- | stream/stream_null.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/stream_null.c b/stream/stream_null.c index c9a0a430e2..8fca1282a5 100644 --- a/stream/stream_null.c +++ b/stream/stream_null.c @@ -25,14 +25,14 @@ #include "stream.h" -static int open_s(stream_t *stream,int mode) +static int open_s(stream_t *stream) { return 1; } - const stream_info_t stream_info_null = { .name = "null", .open = open_s, .protocols = (const char*[]){ "null", NULL }, + .can_write = true, }; |