mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
fixes by Art Haas <ahaas@airmail.net>:
rewritten with C99 struct initialization style.
This commit is contained in:
parent
c18c32b26c
commit
7716fd1e3d
33 changed files with 762 additions and 762 deletions
20
src/output.c
20
src/output.c
|
|
@ -166,11 +166,11 @@ static int snd_output_stdio_flush(snd_output_t *output)
|
|||
}
|
||||
|
||||
static snd_output_ops_t snd_output_stdio_ops = {
|
||||
close: snd_output_stdio_close,
|
||||
print: snd_output_stdio_print,
|
||||
puts: snd_output_stdio_puts,
|
||||
putch: snd_output_stdio_putc,
|
||||
flush: snd_output_stdio_flush,
|
||||
.close = snd_output_stdio_close,
|
||||
.print = snd_output_stdio_print,
|
||||
.puts = snd_output_stdio_puts,
|
||||
.putch = snd_output_stdio_putc,
|
||||
.flush = snd_output_stdio_flush,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
@ -318,11 +318,11 @@ static int snd_output_buffer_flush(snd_output_t *output ATTRIBUTE_UNUSED)
|
|||
}
|
||||
|
||||
static snd_output_ops_t snd_output_buffer_ops = {
|
||||
close: snd_output_buffer_close,
|
||||
print: snd_output_buffer_print,
|
||||
puts: snd_output_buffer_puts,
|
||||
putch: snd_output_buffer_putc,
|
||||
flush: snd_output_buffer_flush,
|
||||
.close = snd_output_buffer_close,
|
||||
.print = snd_output_buffer_print,
|
||||
.puts = snd_output_buffer_puts,
|
||||
.putch = snd_output_buffer_putc,
|
||||
.flush = snd_output_buffer_flush,
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue