From f44953307bc58eb2a364297416b61c2262a64759 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Feb 2020 11:17:38 +0100 Subject: Remove unnecessary struct names These are not necessary since they are not recursive types, and the names violated the C standard. There also seems to be a bug in Doxygen where TYPEDEF_HIDES_STRUCT was not working, which made the documentation confusing and ugly. Strictly speaking, this could break user code that used these names directly, but this was never intended to be supported and should be fixed if it actually occurs anywhere. --- lv2/options/options.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lv2/options') diff --git a/lv2/options/options.h b/lv2/options/options.h index 7878c58..6d7fe77 100644 --- a/lv2/options/options.h +++ b/lv2/options/options.h @@ -85,7 +85,7 @@ typedef enum { with data pointed to an array of options terminated by a zeroed option, or accessed/manipulated using LV2_Options_Interface. */ -typedef struct _LV2_Options_Option { +typedef struct { LV2_Options_Context context; /**< Context (type of subject). */ uint32_t subject; /**< Subject. */ LV2_URID key; /**< Key (property). */ @@ -106,7 +106,7 @@ typedef enum { /** Interface for dynamically setting options (LV2_OPTIONS__interface). */ -typedef struct _LV2_Options_Interface { +typedef struct { /** Get the given options. -- cgit v1.2.1