Update of /cvsroot/alsa/alsa-lib/src
In directory sc8-pr-cvs1:/tmp/cvs-serv28347
Modified Files:
input.c output.c
Log Message:
fixes by Art Haas <[EMAIL PROTECTED]>:
rewritten with C99 struct initialization style.
Index: input.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/input.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- input.c 23 Jul 2002 19:51:17 -0000 1.17
+++ input.c 25 Jul 2003 17:02:00 -0000 1.18
@@ -158,11 +158,11 @@
}
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 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
Index: output.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/output.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- output.c 24 Jun 2003 19:30:09 -0000 1.18
+++ output.c 25 Jul 2003 17:02:00 -0000 1.19
@@ -166,11 +166,11 @@
}
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 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
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog