From: Bartosz Golaszewski Date: Tue, 13 Dec 2022 09:57:26 +0000 (+0100) Subject: tests: drop unneeded typedef X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=19b7fd655259dac1e11f4efbae26a2b01f1c82d9;p=qemu-gpiodev%2Flibgpiod.git 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 --- 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())