aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/core
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-02-23 11:17:38 +0100
committerDavid Robillard <d@drobilla.net>2020-02-23 11:17:38 +0100
commitf44953307bc58eb2a364297416b61c2262a64759 (patch)
treeaaf5b6360fb622325ad4a1dd035ec784503a2064 /lv2/core
parenta7a8d43cd191aa0e613164b9fae56165ae9b1f81 (diff)
downloadlv2-f44953307bc58eb2a364297416b61c2262a64759.tar.xz
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.
Diffstat (limited to 'lv2/core')
-rw-r--r--lv2/core/lv2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2/core/lv2.h b/lv2/core/lv2.h
index eaca514..82cf2b3 100644
--- a/lv2/core/lv2.h
+++ b/lv2/core/lv2.h
@@ -140,7 +140,7 @@ typedef void * LV2_Handle;
features and specify the `URI` and `data` to be used if necessary.
Some features, such as lv2:isLive, do not require the host to pass data.
*/
-typedef struct _LV2_Feature {
+typedef struct {
/**
A globally unique, case-sensitive identifier (URI) for this feature.