alsa-lib/test
Adam Sampson 3a97718124 test: update midifile library to ANSI C
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>
2025-07-31 15:31:40 +02:00
..
lsb
ucm
audio_time.c reshuffle included files to include config.h as first 2023-08-30 18:25:37 +02:00
chmap.c reshuffle included files to include config.h as first 2023-08-30 18:25:37 +02:00
client_event_filter.c
control.c reshuffle included files to include config.h as first 2023-08-30 18:25:37 +02:00
latency.c tests: latency.c - fix copy-n-paste typos (sw -> hw params) in error messages 2024-02-23 09:57:15 +01:00
Makefile.am test: Add an example program to inquire UMP Endpoint and Block info 2024-08-15 16:41:53 +02:00
midifile.3
midifile.c test: update midifile library to ANSI C 2025-07-31 15:31:40 +02:00
midifile.h test: update midifile library to ANSI C 2025-07-31 15:31:40 +02:00
midiloop.c
mixtest.c
namehint.c
oldapi.c
omixer.c
pcm-multi-thread.c
pcm.c reshuffle included files to include config.h as first 2023-08-30 18:25:37 +02:00
pcm_min.c
playmidi1.c test: update midifile library to ANSI C 2025-07-31 15:31:40 +02:00
queue_timer.c
rawmidi.c
seq-decoder.c
seq-sender.c
seq-ump-example.c test: Add an example program to create a virtual UMP Endpoint 2024-06-19 17:24:50 +02:00
seq.c reshuffle included files to include config.h as first 2023-08-30 18:25:37 +02:00
timer.c reshuffle included files to include config.h as first 2023-08-30 18:25:37 +02:00
umpinfo.c test: Add an example program to inquire UMP Endpoint and Block info 2024-08-15 16:41:53 +02:00
user-ctl-element-set.c reshuffle included files to include config.h as first 2023-08-30 18:25:37 +02:00