From 9568d20494da31b9240c90f64e7d7e50b49b7fd2 Mon Sep 17 00:00:00 2001 From: tony-hn <25278435+tony-hn@users.noreply.github.com> Date: Wed, 15 Oct 2025 07:51:50 +0100 Subject: [PATCH] Fix build on GCC 15. The default make target fails on GCC 15.2.1 because file ucryptoIS.c has old, K&R style prototypes, that do not list parameters. Newer versions of GCC require the parameters in a function prototype to match the arguments in calls to the function. --- testu01/ucryptoIS.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testu01/ucryptoIS.c b/testu01/ucryptoIS.c index d8331f1..e6081c4 100644 --- a/testu01/ucryptoIS.c +++ b/testu01/ucryptoIS.c @@ -143,9 +143,9 @@ typedef struct randctx randctx; If (flag==TRUE), then use the contents of randrsl[0..RANDSIZ-1] as the seed. ------------------------------------------------------------------------------ */ -static void randinit(/*_ randctx *r, word flag _*/); +static void randinit(randctx *r, word flag); -static void isaac(/*_ randctx *r _*/); +static void isaac(randctx *r); /*