From a0a127b5c6395fc402861f95852b9624f9d2621f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 16 Dec 2020 16:59:26 +0100 Subject: Clean up includes --- src/lilv_internal.h | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'src/lilv_internal.h') diff --git a/src/lilv_internal.h b/src/lilv_internal.h index d603df7..90cd89b 100644 --- a/src/lilv_internal.h +++ b/src/lilv_internal.h @@ -21,17 +21,17 @@ extern "C" { #endif -#include "lilv_config.h" +#include "lilv_config.h" // IWYU pragma: keep #include "lilv/lilv.h" +#include "lv2/core/lv2.h" #include "serd/serd.h" #include "sord/sord.h" #include "zix/tree.h" -#include -#include +#include #include -#include +#include #ifdef _WIN32 # include @@ -54,7 +54,6 @@ extern "C" { static inline const char* dlerror(void) { return "Unknown error"; } #else # include -# include #endif #ifdef LILV_DYN_MANIFEST @@ -67,8 +66,6 @@ static inline const char* dlerror(void) { return "Unknown error"; } * */ -typedef struct LilvSpecImpl LilvSpec; - typedef void LilvCollection; struct LilvPortImpl { @@ -78,12 +75,12 @@ struct LilvPortImpl { LilvNodes* classes; ///< rdf:type }; -struct LilvSpecImpl { +typedef struct LilvSpecImpl { SordNode* spec; SordNode* bundle; LilvNodes* data_uris; struct LilvSpecImpl* next; -}; +} LilvSpec; /** Header of an LilvPlugin, LilvPluginClass, or LilvUI. -- cgit v1.2.1