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 conf: introduce snd_config_load_string() 2021-12-01 10:18:58 +01:00
ucm ucm: allow bind modifier to specific instances, other fixes 2011-01-31 14:24:19 +01:00
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 add a test code for snd_seq_client_info_event_filter_*() 2008-02-22 17:49:01 +01:00
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 Fix hyphens in man pages 2004-10-08 16:15:32 +00:00
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 Fix invalid long long format specifier 2012-04-24 15:38:45 +02:00
mixtest.c Printf unsigned long longs with %llu (mixtest.c) 2019-04-09 10:27:36 +02:00
namehint.c test: BSD-like fixes 2023-02-03 13:22:04 +01:00
oldapi.c test: oldapi - fix the clang-16 compilation error 2023-08-22 16:52:15 +02:00
omixer.c ALISP update 2003-12-23 16:42:55 +00:00
pcm-multi-thread.c test: BSD-like fixes 2023-02-03 13:22:04 +01:00
pcm.c reshuffle included files to include config.h as first 2023-08-30 18:25:37 +02:00
pcm_min.c test: pcm_min - add snd_pcm_drain() call and indentation fixes 2020-05-03 20:07:55 +02:00
playmidi1.c test: update midifile library to ANSI C 2025-07-31 15:31:40 +02:00
queue_timer.c test: BSD-like fixes 2023-02-03 13:22:04 +01:00
rawmidi.c rawmidi: rename enum snd_rawmidi_framing to snd_rawmidi_read_mode 2021-10-28 08:40:20 +02:00
seq-decoder.c test/seq-decoder: enable timestamping for external subscribers 2017-10-03 09:14:07 +02:00
seq-sender.c Fix compile errors/warnings 2005-11-21 10:48:52 +00:00
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