aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/ui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-26 17:44:23 +0100
committerDavid Robillard <d@drobilla.net>2020-12-26 17:55:23 +0100
commit8d2251749da9e0ae4254502edfc8917236a9b8c0 (patch)
tree233dc28780ed351c255a0f66ad206cca269d44b4 /lv2/ui
parentc2816ab42b458c9c5202197b3df665340f57dddd (diff)
downloadlv2-8d2251749da9e0ae4254502edfc8917236a9b8c0.tar.xz
Make include guards surround all header contents
For consistency, and because clang-tidy can't figure out if a define is an include guard unless it ends the file.
Diffstat (limited to 'lv2/ui')
-rw-r--r--lv2/ui/ui.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lv2/ui/ui.h b/lv2/ui/ui.h
index ddc7f9d..ee3c47d 100644
--- a/lv2/ui/ui.h
+++ b/lv2/ui/ui.h
@@ -16,6 +16,9 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifndef LV2_UI_H
+#define LV2_UI_H
+
/**
@defgroup ui User Interfaces
@ingroup lv2
@@ -27,9 +30,6 @@
@{
*/
-#ifndef LV2_UI_H
-#define LV2_UI_H
-
#include "lv2/core/lv2.h"
#include "lv2/urid/urid.h"
@@ -537,8 +537,8 @@ typedef const LV2UI_Descriptor* (*LV2UI_DescriptorFunction)(uint32_t index);
}
#endif
-#endif /* LV2_UI_H */
-
/**
@}
*/
+
+#endif /* LV2_UI_H */