From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9C6A2C83F03 for ; Sun, 6 Jul 2025 04:19:07 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [45.14.194.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 6B1BD6020A; Sun, 6 Jul 2025 06:18:54 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6B1BD6020A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1751775544; bh=OQ8fKxcj4uBVogYLubMm0MuU9xK6O6QFfzaPiZzhhz8=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=iCZ+Xq7pwJ81M+wLjICipp4aJ17D2F9BD9XHJFMp028Sw00VBoK5KoDR6TP2Y6qhy n/ufE1E9+CAIYCi6Ge6e0cM2sXHW27LwewiNxE6ifIDIFX9emj0iPaBINTNX9X6UiN 9irAenqTdVusty15ursfF8Hf0diSKRBK+ceBBpb8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 51508F804B3; Sun, 6 Jul 2025 06:18:31 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id C685AF805CB; Sun, 6 Jul 2025 06:18:30 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6EE84F804B3; Sun, 6 Jul 2025 06:18:26 +0200 (CEST) Received: from webhooks-bot.alsa-project.org (vmi2259423.contaboserver.net [45.14.194.44]) by alsa1.perex.cz (Postfix) with ESMTP id BD558F800B6 for ; Sun, 6 Jul 2025 06:18:24 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BD558F800B6 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub pull_request - opened To: alsa-devel@alsa-project.org Message-Id: <184f8e8a39aaff00-webhooks-bot@alsa-project.org> In-Reply-To: References: Subject: test: update midifile library to ANSI C Date: Sun, 6 Jul 2025 06:18:26 +0200 (CEST) Message-ID-Hash: HR7TBHKNEGPE5LYRLCWKFXUBF56YFZ3F X-Message-ID-Hash: HR7TBHKNEGPE5LYRLCWKFXUBF56YFZ3F X-MailFrom: github@alsa-project.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: alsa-project/alsa-lib pull request #463 was opened from atsampson: 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. Fixes #452. Request URL : https://github.com/alsa-project/alsa-lib/pull/463 Patch URL : https://github.com/alsa-project/alsa-lib/pull/463.patch Repository URL: https://github.com/alsa-project/alsa-lib