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