From d332b5bf390ee7e502c41002e683a30296d24feb Mon Sep 17 00:00:00 2001 From: Florian Rivoal Date: Sun, 28 Jun 2026 23:13:00 +0900 Subject: [PATCH] Fix typedef/struct syntax in useless.c Use correct syntax for the dt_iop_useless_params_v3_t typedef. --- src/iop/useless.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iop/useless.c b/src/iop/useless.c index 07c549eb51a4..b8730486566f 100644 --- a/src/iop/useless.c +++ b/src/iop/useless.c @@ -192,12 +192,12 @@ int legacy_params(dt_iop_module_t *self, int32_t *new_params_size, int *new_version) { - typedef dt_iop_useless_params_v3_t + typedef struct dt_iop_useless_params_v3_t { int checker_scale; float factor; int strength; - } + } dt_iop_useless_params_v3_t; // do migration from 2 to 3 (one step at a time, this legacy_params // update is incremental and will be done as many time as needed to