# HG changeset patch # User William Pitcock # Date 1189159221 18000 # Node ID 0a3b3b6430b179fa56a1815521f7388d55bad0cc # Parent abe9f63c4e8b1cf355e7711ae5c74621f50405eb null: C99 initialisers diff -r abe9f63c4e8b -r 0a3b3b6430b1 src/null/null.c --- a/src/null/null.c Fri Sep 07 04:59:04 2007 -0500 +++ b/src/null/null.c Fri Sep 07 05:00:21 2007 -0500 @@ -240,25 +240,19 @@ OutputPlugin null_op = { - NULL, - NULL, - "Null Output Plugin", - null_init, - NULL, /* cleanup */ - null_about, - null_configure, - NULL, /* Get volume */ - NULL, /* Set volume */ - null_open, - null_write, - null_close, - null_flush, - null_pause, - null_buffer_free, - null_playing, - null_get_output_time, - null_get_written_time, - NULL /* tell */ + .description = "Null Output Plugin", + .init = null_init, + .about = null_about, + .configure = null_configure, + .open_audio = null_open, + .write_audio = null_write, + .close_audio = null_close, + .flush = null_flush, + .pause = null_pause, + .buffer_free = null_buffer_free, + .buffer_playing = null_playing, + .output_time = null_get_output_time, + .written_time = null_get_written_time, }; OutputPlugin *null_oplist[] = { &null_op, NULL };