Update of /cvsroot/alsa/alsa-lib/src/seq In directory sc8-pr-cvs1:/tmp/cvs-serv15997/src/seq
Modified Files: seq_midi_event.c Log Message: added const modifier to some function arguments Index: seq_midi_event.c =================================================================== RCS file: /cvsroot/alsa/alsa-lib/src/seq/seq_midi_event.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- seq_midi_event.c 16 Jun 2003 18:53:25 -0000 1.19 +++ seq_midi_event.c 29 Jul 2003 17:05:32 -0000 1.20 @@ -270,7 +270,7 @@ * If complete sequencer event is available, ev->type is not * equal to #SND_SEQ_EVENT_NONE. */ -long snd_midi_event_encode(snd_midi_event_t *dev, unsigned char *buf, long count, snd_seq_event_t *ev) +long snd_midi_event_encode(snd_midi_event_t *dev, const unsigned char *buf, long count, snd_seq_event_t *ev) { long result = 0; int rc; @@ -411,7 +411,7 @@ * * Decode sequencer event to MIDI byte stream. */ -long snd_midi_event_decode(snd_midi_event_t *dev, unsigned char *buf, long count, snd_seq_event_t *ev) +long snd_midi_event_decode(snd_midi_event_t *dev, unsigned char *buf, long count, const snd_seq_event_t *ev) { int cmd; long qlen; ------------------------------------------------------- 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