Description: upstream - fix migration to C23 issues Clean up now obsoleted declarations/definitions. This patch closes Debian bug #1092385. Origin: vendor, Debian Forwarded: https://github.com/b-k/apophenia/pull/48 Author: Jerome Benoit Last-Update: 2025-01-19 --- a/apop_mle.c +++ b/apop_mle.c @@ -387,7 +387,7 @@ } static int ctrl_c; -static void mle_sigint(){ ctrl_c ++; } +static void mle_sigint(int){ ctrl_c ++; } static int setup_starting_point(apop_mle_settings *mp, gsl_vector *x){ Apop_stopif(!x, return -1, 0, "The vector I'm trying to optimize over is NULL."); @@ -856,7 +856,7 @@ static double set_start(double in){ return in ? in : 1; } jmp_buf anneal_jump; -static void anneal_sigint(){ longjmp(anneal_jump,1); } +static void anneal_sigint(int){ longjmp(anneal_jump,1); } static void apop_annealing(infostruct *i){ apop_model *ep = i->model; --- a/model/apop_loess.c +++ b/model/apop_loess.c @@ -3383,7 +3383,7 @@ */ static double invibeta_quick(double p, double a, double b) { - double x, m, s, invigauss_quick(); + double x, m, s; x = a + b; m = a / x; s = sqrt((a*b) / (x*x*(x+1)));