Replace obsolete GCC initializer syntax [2/3]
PATCH 1/1 Replace obsolete GCC initializer syntax [2/3]
Hi.
Here's the second patch.
Index: alsa-lib/src/pcm/pcm_file.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_file.c,v retrieving revision 1.59
src/pcm/pcm_file.c +30 -31
@@ -413,40 +413,39 @@ }static snd_pcm_ops_t snd_pcm_file_ops = { - close: snd_pcm_file_close, - info: snd_pcm_file_info, - hw_refine: snd_pcm_file_hw_refine, - hw_params: snd_pcm_file_hw_params, - hw_free: snd_pcm_file_hw_free, - sw_params: snd_pcm_file_sw_params, - channel_info: snd_pcm_file_channel_info, - dump: snd_pcm_file_dump, - nonblock: snd_pcm_file_nonblock, - async: snd_pcm_file_async, - mmap: snd_pcm_file_mmap, - munmap: snd_pcm_file_munmap, + .close = snd_pcm_file_close, + .info = snd_pcm_file_info, + .hw_refine = snd_pcm_file_hw_refine, + .hw_params = snd_pcm_file_hw_params, + .hw_free = snd_pcm_file_hw_free, + .sw_params = snd_pcm_file_sw_params, + .channel_info = snd_pcm_file_channel_info, + .dump = snd_pcm_file_dump, + .nonblock = snd_pcm_file_nonblock, + .async = snd_pcm_file_async, + .mmap = snd_pcm_file_mmap, + .munmap = snd_pcm_file_munmap, };static snd_pcm_fast_ops_t snd_pcm_file_fast_ops = { - status: snd_pcm_file_status, - state: snd_pcm_file_state, - hwsync: snd_pcm_file_hwsync, - delay: snd_pcm_file_delay, - prepare: snd_pcm_file_prepare, - reset: snd_pcm_file_reset, - start: snd_pcm_file_start, - drop: snd_pcm_file_drop, - drain: snd_pcm_file_drain, - pause: snd_pcm_file_pause, - rewind: snd_pcm_file_rewind, - forward: snd_pcm_file_forward, - resume: snd_pcm_file_resume, - writei: snd_pcm_file_writei, - writen: snd_pcm_file_writen, - readi: snd_pcm_file_readi, - readn: snd_pcm_file_readn, - avail_update: snd_pcm_file_avail_update, - mmap_commit: snd_pcm_file_mmap_commit, + .status = snd_pcm_file_status, + .state = snd_pcm_file_state, + .hwsync = snd_pcm_file_hwsync, + .delay = snd_pcm_file_delay, + .prepare = snd_pcm_file_prepare, + .reset = snd_pcm_file_reset, + .start = snd_pcm_file_start, + .drop = snd_pcm_file_drop, + .drain = snd_pcm_file_drain, + .pause = snd_pcm_file_pause, + .rewind = snd_pcm_file_rewind, + .resume = snd_pcm_file_resume, + .writei = snd_pcm_file_writei, + .writen = snd_pcm_file_writen, + .readi = snd_pcm_file_readi, + .readn = snd_pcm_file_readn, + .avail_update = snd_pcm_file_avail_update, + .mmap_commit = snd_pcm_file_mmap_commit, };/**
Index: alsa-lib/src/pcm/pcm_hooks.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_hooks.c,v retrieving revision 1.29
src/pcm/pcm_hooks.c +30 -31
70 lines not on this page · raw message
Index: alsa-lib/src/pcm/pcm_hw.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_hw.c,v retrieving revision 1.120
src/pcm/pcm_hw.c +30 -31
70 lines not on this page · raw message
Index: alsa-lib/src/pcm/pcm_ladspa.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_ladspa.c,v retrieving revision 1.14
src/pcm/pcm_ladspa.c +12 -13
@@ -697,19 +697,18 @@ }static snd_pcm_ops_t snd_pcm_ladspa_ops = { - close: snd_pcm_ladspa_close, - info: snd_pcm_plugin_info, - hw_refine: snd_pcm_ladspa_hw_refine, - hw_params: snd_pcm_ladspa_hw_params, - hw_free: snd_pcm_ladspa_hw_free, - sw_params: snd_pcm_plugin_sw_params, - channel_info: snd_pcm_plugin_channel_info, - dump: snd_pcm_ladspa_dump, - nonblock: snd_pcm_plugin_nonblock, - async: snd_pcm_plugin_async, - poll_revents: snd_pcm_plugin_poll_revents, - mmap: snd_pcm_plugin_mmap, - munmap: snd_pcm_plugin_munmap, + .close = snd_pcm_ladspa_close, + .info = snd_pcm_plugin_info, + .hw_refine = snd_pcm_ladspa_hw_refine, + .hw_params = snd_pcm_ladspa_hw_params, + .hw_free = snd_pcm_ladspa_hw_free, + .sw_params = snd_pcm_plugin_sw_params, + .channel_info = snd_pcm_plugin_channel_info, + .dump = snd_pcm_ladspa_dump, + .nonblock = snd_pcm_plugin_nonblock, + .async = snd_pcm_plugin_async, + .mmap = snd_pcm_plugin_mmap, + .munmap = snd_pcm_plugin_munmap, }; static int snd_pcm_ladspa_check_file(snd_pcm_ladspa_plugin_t * const plugin,
Index: alsa-lib/src/pcm/pcm_lfloat.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_lfloat.c,v retrieving revision 1.13
src/pcm/pcm_lfloat.c +12 -13
@@ -350,19 +350,18 @@ }static snd_pcm_ops_t snd_pcm_lfloat_ops = { - close: snd_pcm_plugin_close, - info: snd_pcm_plugin_info, - hw_refine: snd_pcm_lfloat_hw_refine, - hw_params: snd_pcm_lfloat_hw_params, - hw_free: snd_pcm_plugin_hw_free, - sw_params: snd_pcm_plugin_sw_params, - channel_info: snd_pcm_plugin_channel_info, - dump: snd_pcm_lfloat_dump, - nonblock: snd_pcm_plugin_nonblock, - async: snd_pcm_plugin_async, - poll_revents: snd_pcm_plugin_poll_revents, - mmap: snd_pcm_plugin_mmap, - munmap: snd_pcm_plugin_munmap, + .close = snd_pcm_plugin_close, + .info = snd_pcm_plugin_info, + .hw_refine = snd_pcm_lfloat_hw_refine, + .hw_params = snd_pcm_lfloat_hw_params, + .hw_free = snd_pcm_plugin_hw_free, + .sw_params = snd_pcm_plugin_sw_params, + .channel_info = snd_pcm_plugin_channel_info, + .dump = snd_pcm_lfloat_dump, + .nonblock = snd_pcm_plugin_nonblock, + .async = snd_pcm_plugin_async, + .mmap = snd_pcm_plugin_mmap, + .munmap = snd_pcm_plugin_munmap, };/**
Index: alsa-lib/src/pcm/pcm_linear.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_linear.c,v retrieving revision 1.55
src/pcm/pcm_linear.c +12 -13
@@ -406,19 +406,18 @@ }static snd_pcm_ops_t snd_pcm_linear_ops = { - close: snd_pcm_plugin_close, - info: snd_pcm_plugin_info, - hw_refine: snd_pcm_linear_hw_refine, - hw_params: snd_pcm_linear_hw_params, - hw_free: snd_pcm_plugin_hw_free, - sw_params: snd_pcm_plugin_sw_params, - channel_info: snd_pcm_plugin_channel_info, - dump: snd_pcm_linear_dump, - nonblock: snd_pcm_plugin_nonblock, - async: snd_pcm_plugin_async, - poll_revents: snd_pcm_plugin_poll_revents, - mmap: snd_pcm_plugin_mmap, - munmap: snd_pcm_plugin_munmap, + .close = snd_pcm_plugin_close, + .info = snd_pcm_plugin_info, + .hw_refine = snd_pcm_linear_hw_refine, + .hw_params = snd_pcm_linear_hw_params, + .hw_free = snd_pcm_plugin_hw_free, + .sw_params = snd_pcm_plugin_sw_params, + .channel_info = snd_pcm_plugin_channel_info, + .dump = snd_pcm_linear_dump, + .nonblock = snd_pcm_plugin_nonblock, + .async = snd_pcm_plugin_async, + .mmap = snd_pcm_plugin_mmap, + .munmap = snd_pcm_plugin_munmap, };
Index: alsa-lib/src/pcm/pcm_meter.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_meter.c,v retrieving revision 1.42
src/pcm/pcm_meter.c +37 -38
90 lines not on this page · raw message
Index: alsa-lib/src/pcm/pcm_mulaw.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_mulaw.c,v retrieving revision 1.57
src/pcm/pcm_mulaw.c +12 -13
@@ -405,19 +405,18 @@ }static snd_pcm_ops_t snd_pcm_mulaw_ops = { - close: snd_pcm_plugin_close, - info: snd_pcm_plugin_info, - hw_refine: snd_pcm_mulaw_hw_refine, - hw_params: snd_pcm_mulaw_hw_params, - hw_free: snd_pcm_plugin_hw_free, - sw_params: snd_pcm_plugin_sw_params, - channel_info: snd_pcm_plugin_channel_info, - dump: snd_pcm_mulaw_dump, - nonblock: snd_pcm_plugin_nonblock, - async: snd_pcm_plugin_async, - poll_revents: snd_pcm_plugin_poll_revents, - mmap: snd_pcm_plugin_mmap, - munmap: snd_pcm_plugin_munmap, + .close = snd_pcm_plugin_close, + .info = snd_pcm_plugin_info, + .hw_refine = snd_pcm_mulaw_hw_refine, + .hw_params = snd_pcm_mulaw_hw_params, + .hw_free = snd_pcm_plugin_hw_free, + .sw_params = snd_pcm_plugin_sw_params, + .channel_info = snd_pcm_plugin_channel_info, + .dump = snd_pcm_mulaw_dump, + .nonblock = snd_pcm_plugin_nonblock, + .async = snd_pcm_plugin_async, + .mmap = snd_pcm_plugin_mmap, + .munmap = snd_pcm_plugin_munmap, };/**
Index: alsa-lib/src/pcm/pcm_multi.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_multi.c,v retrieving revision 1.83
src/pcm/pcm_multi.c +30 -31
70 lines not on this page · raw message
Index: alsa-lib/src/pcm/pcm_null.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_null.c,v retrieving revision 1.47
src/pcm/pcm_null.c +30 -31
70 lines not on this page · raw message
Index: alsa-lib/src/pcm/pcm_params.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_params.c,v retrieving revision 1.53
src/pcm/pcm_params.c +107 -107
314 lines not on this page · raw message
Signature · 11 lines
Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0