Update of /cvsroot/alsa/alsa-lib/src/control
In directory sc8-pr-cvs1:/tmp/cvs-serv28347/control

Modified Files:
        control_hw.c control_shm.c 
Log Message:
fixes by Art Haas <[EMAIL PROTECTED]>:

rewritten with C99 struct initialization style.



Index: control_hw.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/control/control_hw.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- control_hw.c        1 Apr 2003 13:58:12 -0000       1.37
+++ control_hw.c        25 Jul 2003 17:02:01 -0000      1.38
@@ -265,28 +265,28 @@
 }
 
 snd_ctl_ops_t snd_ctl_hw_ops = {
-       close: snd_ctl_hw_close,
-       nonblock: snd_ctl_hw_nonblock,
-       async: snd_ctl_hw_async,
-       subscribe_events: snd_ctl_hw_subscribe_events,
-       card_info: snd_ctl_hw_card_info,
-       element_list: snd_ctl_hw_elem_list,
-       element_info: snd_ctl_hw_elem_info,
-       element_read: snd_ctl_hw_elem_read,
-       element_write: snd_ctl_hw_elem_write,
-       element_lock: snd_ctl_hw_elem_lock,
-       element_unlock: snd_ctl_hw_elem_unlock,
-       hwdep_next_device: snd_ctl_hw_hwdep_next_device,
-       hwdep_info: snd_ctl_hw_hwdep_info,
-       pcm_next_device: snd_ctl_hw_pcm_next_device,
-       pcm_info: snd_ctl_hw_pcm_info,
-       pcm_prefer_subdevice: snd_ctl_hw_pcm_prefer_subdevice,
-       rawmidi_next_device: snd_ctl_hw_rawmidi_next_device,
-       rawmidi_info: snd_ctl_hw_rawmidi_info,
-       rawmidi_prefer_subdevice: snd_ctl_hw_rawmidi_prefer_subdevice,
-       set_power_state: snd_ctl_hw_set_power_state,
-       get_power_state: snd_ctl_hw_get_power_state,
-       read: snd_ctl_hw_read,
+       .close = snd_ctl_hw_close,
+       .nonblock = snd_ctl_hw_nonblock,
+       .async = snd_ctl_hw_async,
+       .subscribe_events = snd_ctl_hw_subscribe_events,
+       .card_info = snd_ctl_hw_card_info,
+       .element_list = snd_ctl_hw_elem_list,
+       .element_info = snd_ctl_hw_elem_info,
+       .element_read = snd_ctl_hw_elem_read,
+       .element_write = snd_ctl_hw_elem_write,
+       .element_lock = snd_ctl_hw_elem_lock,
+       .element_unlock = snd_ctl_hw_elem_unlock,
+       .hwdep_next_device = snd_ctl_hw_hwdep_next_device,
+       .hwdep_info = snd_ctl_hw_hwdep_info,
+       .pcm_next_device = snd_ctl_hw_pcm_next_device,
+       .pcm_info = snd_ctl_hw_pcm_info,
+       .pcm_prefer_subdevice = snd_ctl_hw_pcm_prefer_subdevice,
+       .rawmidi_next_device = snd_ctl_hw_rawmidi_next_device,
+       .rawmidi_info = snd_ctl_hw_rawmidi_info,
+       .rawmidi_prefer_subdevice = snd_ctl_hw_rawmidi_prefer_subdevice,
+       .set_power_state = snd_ctl_hw_set_power_state,
+       .get_power_state = snd_ctl_hw_get_power_state,
+       .read = snd_ctl_hw_read,
 };
 
 int snd_ctl_hw_open(snd_ctl_t **handle, const char *name, int card, int mode)

Index: control_shm.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/control/control_shm.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- control_shm.c       5 May 2003 14:24:11 -0000       1.36
+++ control_shm.c       25 Jul 2003 17:02:02 -0000      1.37
@@ -396,28 +396,28 @@
 }
 
 snd_ctl_ops_t snd_ctl_shm_ops = {
-       close: snd_ctl_shm_close,
-       nonblock: snd_ctl_shm_nonblock,
-       async: snd_ctl_shm_async,
-       subscribe_events: snd_ctl_shm_subscribe_events,
-       card_info: snd_ctl_shm_card_info,
-       element_list: snd_ctl_shm_elem_list,
-       element_info: snd_ctl_shm_elem_info,
-       element_read: snd_ctl_shm_elem_read,
-       element_write: snd_ctl_shm_elem_write,
-       element_lock: snd_ctl_shm_elem_lock,
-       element_unlock: snd_ctl_shm_elem_unlock,
-       hwdep_next_device: snd_ctl_shm_hwdep_next_device,
-       hwdep_info: snd_ctl_shm_hwdep_info,
-       pcm_next_device: snd_ctl_shm_pcm_next_device,
-       pcm_info: snd_ctl_shm_pcm_info,
-       pcm_prefer_subdevice: snd_ctl_shm_pcm_prefer_subdevice,
-       rawmidi_next_device: snd_ctl_shm_rawmidi_next_device,
-       rawmidi_info: snd_ctl_shm_rawmidi_info,
-       rawmidi_prefer_subdevice: snd_ctl_shm_rawmidi_prefer_subdevice,
-       set_power_state: snd_ctl_shm_set_power_state,
-       get_power_state: snd_ctl_shm_get_power_state,
-       read: snd_ctl_shm_read,
+       .close = snd_ctl_shm_close,
+       .nonblock = snd_ctl_shm_nonblock,
+       .async = snd_ctl_shm_async,
+       .subscribe_events = snd_ctl_shm_subscribe_events,
+       .card_info = snd_ctl_shm_card_info,
+       .element_list = snd_ctl_shm_elem_list,
+       .element_info = snd_ctl_shm_elem_info,
+       .element_read = snd_ctl_shm_elem_read,
+       .element_write = snd_ctl_shm_elem_write,
+       .element_lock = snd_ctl_shm_elem_lock,
+       .element_unlock = snd_ctl_shm_elem_unlock,
+       .hwdep_next_device = snd_ctl_shm_hwdep_next_device,
+       .hwdep_info = snd_ctl_shm_hwdep_info,
+       .pcm_next_device = snd_ctl_shm_pcm_next_device,
+       .pcm_info = snd_ctl_shm_pcm_info,
+       .pcm_prefer_subdevice = snd_ctl_shm_pcm_prefer_subdevice,
+       .rawmidi_next_device = snd_ctl_shm_rawmidi_next_device,
+       .rawmidi_info = snd_ctl_shm_rawmidi_info,
+       .rawmidi_prefer_subdevice = snd_ctl_shm_rawmidi_prefer_subdevice,
+       .set_power_state = snd_ctl_shm_set_power_state,
+       .get_power_state = snd_ctl_shm_get_power_state,
+       .read = snd_ctl_shm_read,
 };
 
 static int make_local_socket(const char *filename)



-------------------------------------------------------
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

Reply via email to