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/state/state.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lv2/state') diff --git a/lv2/state/state.h b/lv2/state/state.h index 9430f63..0de3ee4 100644 --- a/lv2/state/state.h +++ b/lv2/state/state.h @@ -15,6 +15,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef LV2_STATE_H +#define LV2_STATE_H + /** @defgroup state State @ingroup lv2 @@ -26,9 +29,6 @@ @{ */ -#ifndef LV2_STATE_H -#define LV2_STATE_H - #include "lv2/core/lv2.h" #include @@ -386,8 +386,8 @@ typedef struct { } /* extern "C" */ #endif -#endif /* LV2_STATE_H */ - /** @} */ + +#endif /* LV2_STATE_H */ -- cgit v1.2.1