mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-03-22 05:33:43 -04:00
The midifile library used by the playmidi1 program dates from 1989, and used pre-ANSI function definitions and prototypes. GCC 15 now defaults to C23 where () means the same as (void) in prototypes, which causes type mismatch errors. Update the code to use ANSI function definitions and prototypes, so it'll compile happily as anything from ANSI C to C23. This revealed that playmidi1's do_tempo had the wrong argument type, so correct that as well. Closes: https://github.com/alsa-project/alsa-lib/pull/463 Signed-off-by: Adam Sampson <ats@offog.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz> |
||
|---|---|---|
| .. | ||
| lsb | ||
| ucm | ||
| audio_time.c | ||
| chmap.c | ||
| client_event_filter.c | ||
| control.c | ||
| latency.c | ||
| Makefile.am | ||
| midifile.3 | ||
| midifile.c | ||
| midifile.h | ||
| midiloop.c | ||
| mixtest.c | ||
| namehint.c | ||
| oldapi.c | ||
| omixer.c | ||
| pcm-multi-thread.c | ||
| pcm.c | ||
| pcm_min.c | ||
| playmidi1.c | ||
| queue_timer.c | ||
| rawmidi.c | ||
| seq-decoder.c | ||
| seq-sender.c | ||
| seq-ump-example.c | ||
| seq.c | ||
| timer.c | ||
| umpinfo.c | ||
| user-ctl-element-set.c | ||