summaryrefslogtreecommitdiffstats
path: root/stream/stream_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_null.c')
-rw-r--r--stream/stream_null.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stream/stream_null.c b/stream/stream_null.c
index 2e2b7886f7..c9a0a430e2 100644
--- a/stream/stream_null.c
+++ b/stream/stream_null.c
@@ -32,7 +32,7 @@ static int open_s(stream_t *stream,int mode)
const stream_info_t stream_info_null = {
- "null",
- open_s,
- { "null", NULL },
+ .name = "null",
+ .open = open_s,
+ .protocols = (const char*[]){ "null", NULL },
};