From 19b7fd655259dac1e11f4efbae26a2b01f1c82d9 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Tue, 13 Dec 2022 10:57:26 +0100 Subject: [PATCH] tests: drop unneeded typedef G_DECLARE_FINAL_TYPE() already takes care of correctly declaring the type so we don't need the explicit typedef. Signed-off-by: Bartosz Golaszewski --- tests/gpiod-test-sim.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/gpiod-test-sim.h b/tests/gpiod-test-sim.h index 3012d49..db864e6 100644 --- a/tests/gpiod-test-sim.h +++ b/tests/gpiod-test-sim.h @@ -20,8 +20,6 @@ typedef enum { G_GPIOSIM_DIRECTION_OUTPUT_LOW, } GPIOSimDirection; -typedef struct _GPIOSimChip GPIOSimChip; - G_DECLARE_FINAL_TYPE(GPIOSimChip, g_gpiosim_chip, G_GPIOSIM, CHIP, GObject); #define G_GPIOSIM_TYPE_CHIP (g_gpiosim_chip_get_type()) -- 2.30.2