From 8d2251749da9e0ae4254502edfc8917236a9b8c0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 26 Dec 2020 17:44:23 +0100 Subject: 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. --- lv2/port-groups/port-groups.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lv2/port-groups/port-groups.h') diff --git a/lv2/port-groups/port-groups.h b/lv2/port-groups/port-groups.h index 3f4c5b9..0dd3c0d 100644 --- a/lv2/port-groups/port-groups.h +++ b/lv2/port-groups/port-groups.h @@ -14,6 +14,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef LV2_PORT_GROUPS_H +#define LV2_PORT_GROUPS_H + /** @defgroup port-groups Port Groups @ingroup lv2 @@ -25,9 +28,6 @@ @{ */ -#ifndef LV2_PORT_GROUPS_H -#define LV2_PORT_GROUPS_H - // clang-format off #define LV2_PORT_GROUPS_URI "http://lv2plug.in/ns/ext/port-groups" ///< http://lv2plug.in/ns/ext/port-groups @@ -70,8 +70,8 @@ // clang-format on -#endif /* LV2_PORT_GROUPS_H */ - /** @} */ + +#endif /* LV2_PORT_GROUPS_H */ -- cgit v1.2.1