mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05: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/input.c
20
src/input.c
|
|
@ -158,11 +158,11 @@ static int snd_input_stdio_ungetc(snd_input_t *input, int c)
|
|||
}
|
||||
|
||||
static snd_input_ops_t snd_input_stdio_ops = {
|
||||
close: snd_input_stdio_close,
|
||||
scan: snd_input_stdio_scan,
|
||||
gets: snd_input_stdio_gets,
|
||||
getch: snd_input_stdio_getc,
|
||||
ungetch: snd_input_stdio_ungetc,
|
||||
.close = snd_input_stdio_close,
|
||||
.scan = snd_input_stdio_scan,
|
||||
.gets = snd_input_stdio_gets,
|
||||
.getch = snd_input_stdio_getc,
|
||||
.ungetch = snd_input_stdio_ungetc,
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
@ -284,11 +284,11 @@ static int snd_input_buffer_ungetc(snd_input_t *input, int c)
|
|||
}
|
||||
|
||||
static snd_input_ops_t snd_input_buffer_ops = {
|
||||
close: snd_input_buffer_close,
|
||||
scan: snd_input_buffer_scan,
|
||||
gets: snd_input_buffer_gets,
|
||||
getch: snd_input_buffer_getc,
|
||||
ungetch: snd_input_buffer_ungetc,
|
||||
.close = snd_input_buffer_close,
|
||||
.scan = snd_input_buffer_scan,
|
||||
.gets = snd_input_buffer_gets,
|
||||
.getch = snd_input_buffer_getc,
|
||||
.ungetch = snd_input_buffer_ungetc,
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue